Closed Bug 2091648 Opened 4 days ago Closed 12 hours ago

[wpt-sync] Sync PR 64517 - wpt: Wait for web fonts in onload layout tests

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Gabriele Cabrini <gabriele@gabrielecabrini.it> wrote:

wpt: Wait for web fonts in onload layout tests

These tests measure layout in onload, which can fire before web fonts
have loaded. Wait for document.fonts.ready first, as in #<!-- nolink -->49493 and
#<!-- nolink -->49502.

This also removes unused Ahem css in related test files.

Testing: These are test changes. With the font response delayed by 1s
(wptserve trickle pipe), the old tests fail on every run and the
updated tests pass on every run.
Fixes: #<!-- nolink -->49075
Fixes: #<!-- nolink -->49301
Fixes: #<!-- nolink -->47132
Fixes: #<!-- nolink -->47104
Fixes: #<!-- nolink -->47563
Fixes: #<!-- nolink -->47257
Fixes: #<!-- nolink -->49238
Reviewed in servo/servo#49510

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2766 tests

Status Summary

Firefox

OK : 9[GitHub] 878[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] 879[Gecko-linux2404-64-debug] 880[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 : 78[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 81[GitHub] 8145[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 9554[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] 9627[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 9632[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 881[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1183[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 1188[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1206[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]
TIMEOUT: 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 4[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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR : 1
NOTRUN : 1

Chrome

OK : 9
PASS : 81

Safari

OK : 9
PASS : 81

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: