Closed Bug 1824553 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39205 - Script: Add execution timing test for no-import module script

Categories

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

task

Tracking

()

RESOLVED FIXED
114 Branch
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.

R=domenic@chromium.org

Bug: N/A
Change-Id: Ibeac277ab357b62e7d0a5e4afb5f95818a2d4005

Reviewed-on: https://chromium-review.googlesource.com/4371802
WPT-Export-Revision: e6d49ff20026484ad9ae3787fb5ed87ecccc3387

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

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

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8627fd6ff67 [wpt PR 39205] - Script: Add execution timing test for no-import module script, a=testonly https://hg.mozilla.org/integration/autoland/rev/07c349d89a78 [wpt PR 39205] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.