Closed Bug 1627693 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22723 - [blink] Add tests for JavaScript modules

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22723 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22723
Details from upstream follow.

Camillo Bruni <cbruni@chromium.org> wrote:

[blink] Add tests for JavaScript modules

Add tests for future TopLevelAwait feature:

  • Test destructive writes from different modules
  • Test importing modules

Once the feature has fully landed a virtual test-suite will be created
to test behavior with and without TopLevelAwait.

Bug:1022182, v8:9344
Change-Id: I873df1e6aab2aa1ac6f7bf1b842059053f4a7cc4
Reviewed-on: https://chromium-review.googlesource.com/2134132
WPT-Export-Revision: 6879c196ad74cb6ccd849af3764596985d62ce10

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 68 tests

Status Summary

Firefox

OK : 6
PASS : 1[GitHub] 59[Gecko-windows10-64-qr-opt] 60[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 5[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] 6[Gecko-windows10-64-qr-opt]
TIMEOUT: 6

Chrome

OK : 6
PASS : 4
FAIL : 2
TIMEOUT: 6

Safari

OK : 6
PASS : 4
FAIL : 2
TIMEOUT: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/html/webappapis/dynamic-markup-insertion/document-write/module-static-import.html
document.write in an imported module: FAIL
/html/webappapis/dynamic-markup-insertion/document-write/module.html
document.write in a module: FAIL
/html/webappapis/dynamic-markup-insertion/document-write/module-dynamic-import.html
document.write in an imported module: FAIL

New Tests That Don't Pass

/html/webappapis/dynamic-markup-insertion/document-write/module-tla-promise.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
document.write in an imported module: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/html/webappapis/dynamic-markup-insertion/document-write/module-static-import.html
document.write in an imported module: FAIL (Chrome: PASS, Safari: PASS)
/html/webappapis/dynamic-markup-insertion/document-write/module.html
document.write in a module: FAIL (Chrome: PASS, Safari: PASS)
/html/webappapis/dynamic-markup-insertion/document-write/module-dynamic-import.html
document.write in an imported module: FAIL (Chrome: PASS, Safari: PASS)
/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html
async document.write in a module: FAIL (Chrome: FAIL, Safari: FAIL)
/html/webappapis/dynamic-markup-insertion/document-write/module-tla-delayed.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
document.write in an imported module: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/html/webappapis/dynamic-markup-insertion/document-write/module-tla-immediate-promise.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
document.write in an imported module: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/html/webappapis/dynamic-markup-insertion/document-write/module-tla-import.html
document.write in an imported module: FAIL (Chrome: FAIL, Safari: FAIL)
/html/webappapis/dynamic-markup-insertion/document-write/module-static-import-delayed.html
document.write in an imported module: FAIL [Gecko-windows10-64-qr-opt], PASS [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4a017c52def6
[wpt PR 22723] - [blink] Add tests for destructive writes with JavaScript modules, a=testonly
https://hg.mozilla.org/integration/autoland/rev/a503a9cc4f47
[wpt PR 22723] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/827001ac975d
[wpt PR 22723] - [blink] Add tests for destructive writes with JavaScript modules, a=testonly
https://hg.mozilla.org/integration/autoland/rev/871d95df4a49
[wpt PR 22723] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.