Closed Bug 2083424 Opened 1 month ago Closed 8 days ago

[wpt-sync] Sync PR 62414 - Wait for stylesheet load before checking request count

Categories

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

task

Tracking

()

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

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

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

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c04fa55f6ce6 https://hg.mozilla.org/integration/autoland/rev/26c6969ff7bf [wpt PR 62414] - Wait for stylesheet load before checking request count, a=testonly
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.