[wpt-sync] Sync PR 62414 - Wait for stylesheet load before checking request count
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62414 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62414
Details from upstream follow.
Domenic Denicola <d@domenic.me> wrote:
Wait for stylesheet load before checking request count
Start the settling delay after the expected stylesheet load completes so slow resource handling cannot let the request-count query overtake it. Retain the delay to detect an extra fetch from the document without a browsing context.
This test was flaky on jsdom CI, sometimes getting back a "0" from the server because the control group with-a-browsing-context document's stylesheet had not yet reached the server. By delaying, we avoid this failure mode.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=121685
| Assignee | ||
Comment 2•11 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 36 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 26[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] 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 10[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 149[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 156[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 2
Chrome
OK : 1
PASS: 2
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/document-metadata/the-link-element/stylesheet-media-change-no-fetch.html [wpt.fyi]
- stylesheet should not re-fetch when media changes. The media change should apply immediately:
FAIL
- stylesheet should not re-fetch when media changes. The media change should apply immediately:
- /html/semantics/document-metadata/the-link-element/stylesheet-not-removed-until-next-stylesheet-loads.html [wpt.fyi]
- Check that a style sheet loaded by a <link> is available until its successor is loaded:
FAIL
- Check that a style sheet loaded by a <link> is available until its successor is loaded:
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•