Closed Bug 2071025 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62592 - Do not cache failed module imports

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoavweiss@chromium.org> wrote:

Do not cache failed module imports

Implements https://github.com/whatwg/html/pull/10327 behind a flag to
enable developers to retry failed module loads. It does so by removing
module map entries from the map in case of a failure.

The test changes delete failing expectations and fix test flakiness
that resulted from a hardcoded UUID, by moving the tests to use a
generated UUID (which requires .https serving for the test, and .sub
serving for its resources).

Bug: 534781954
Change-Id: I4b97894cfcfa6878077cd8a933ca54fdca0466e9
Binary-Size: +12B is the generated base::Feature for new runtime flag.
Reviewed-on: https://chromium-review.googlesource.com/8102202
WPT-Export-Revision: 01ffb4d7edbd9f0fe7c6f3d70fe1b34693824ab4

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 140 tests

Status Summary

Firefox

OK : 2[GitHub] 134[Gecko-android-em-14-x86_64-debug-geckoview] 135[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[GitHub] 439[Gecko-android-em-14-x86_64-debug-geckoview] 442[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 11
ERROR: 3

Chrome

OK : 2
FAIL : 2

Safari

OK : 2
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.