[wpt-sync] Sync PR 64135 - Reduce flakiness for font cache bypass WPTs
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64135 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64135
Details from upstream follow.
Hoch Hochkeppel <mhochk@microsoft.com> wrote:
Reduce flakiness for font cache bypass WPTs
At WPT import time, these tests were found to be flaky in Firefox due
to a race wheredocument.fontswasn't populated by the time it was
being queried. This change updates the tests to wait for the document to
load before making this query.Verified locally that this results in consistent test results for both
Chromium and Firefox.Bug: 576970892
Change-Id: Icbecda63f4af48be3de00b446fb819dc3443a429
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8638440
Reviewed-by: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Commit-Queue: Hoch Hochkeppel \<mhochk@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726239}
| Assignee | ||
Comment 1•1 month ago
|
||
PR 64135 applied with additional changes from upstream: c787b1eb4a462324ea16236134115a4584808e70
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114078
| Assignee | ||
Comment 3•28 days ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 7[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 6[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1
Chrome
OK : 2
PASS: 2
Safari
OK : 2
PASS: 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /content-security-policy/font-src/shared-stylesheet-font-cache-bypass.html [wpt.fyi]
- font-src "none" is enforced even when the stylesheet is already in the MemoryCache:
FAIL(Chrome:PASS, Safari:FAIL)
- font-src "none" is enforced even when the stylesheet is already in the MemoryCache:
Comment 5•23 days ago
|
||
| bugherder | ||
Description
•