[wpt-sync] Sync PR 39205 - Script: Add execution timing test for no-import module script
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39205 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39205
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
Script: Add execution timing test for no-import module script
Both Chrome and Safari agree that module scripts with no imports run
asynchronously, per the semi-ambiguous language in the HTML Standard
discussed in https://github.com/whatwg/html/issues/3746, despite the
script being "ready" immediately. Firefox seems to implement the spec
correctly, regarding the "readiness" being synchronous, however with
2/3 implementations not implementing the spec in this regard, and an
open spec issue in this area, I find it unlikely that Chromium's
will change its behavior (for compat). I'll recommend on the spec issue
that we change the spec to match Safari and Chrome, and land this test
asserting the majority behavior.Bug: N/A
Change-Id: Ibeac277ab357b62e7d0a5e4afb5f95818a2d4005Reviewed-on: https://chromium-review.googlesource.com/4371802
WPT-Export-Revision: e6d49ff20026484ad9ae3787fb5ed87ecccc3387
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/semantics/scripting-1/the-script-element/execution-timing/non-external-no-import.tentative.html [wpt.fyi]
- Module scripts with no imports always execute asynchronously:
FAIL
- Module scripts with no imports always execute asynchronously:
New Tests That Don't Pass
- /html/semantics/scripting-1/the-script-element/execution-timing/non-external-no-import.tentative.html [wpt.fyi]
- Module scripts with no imports always execute asynchronously:
FAIL(Chrome:PASS, Safari:PASS)
- Module scripts with no imports always execute asynchronously:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a8627fd6ff67
https://hg.mozilla.org/mozilla-central/rev/07c349d89a78
Description
•