[wpt] Speculatively deflake css-sizing/keyword-sizes-on-*.html
According to 0, tests should use /fonts/ahem.css
instead of assuming
Ahem is available as a system font (which is not the case in Chromium's
CI fleet).
https://crrev.com/c/5941209 exposed latent flakiness 1 in this test
because headless_shell
, unlike content_shell
2, does not sideload
Ahem with special test-only logic. The flakiness likely arises in slower
hardware or build configurations if Ahem is not loaded before the test
runs. This can be fixed by first waiting for document.fonts.ready
to
resolve.
See https://crrev.com/c/5889804 for a similar fix.
Bug: 374675198, 374694820, 336886479
Cq-Include-Trybots: luci.chromium.try:mac11.0-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac11.0.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac12.0-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac12.0.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac13-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac13.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac14.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac15-blink-rel
Cq-Include-Trybots: luci.chromium.try:mac15.arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:win11-arm64-blink-rel
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Test: Add ?pipe=trickle(d3)
to url()
in ahem.css
Test: Tests still run as expected on a system without preinstalled Ahem
Change-Id: I9f0d8ba6a3c4910f832bfc94d38a8ae605689e98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5943572
Commit-Queue: Koji Ishii kojii@chromium.org
Reviewed-by: Koji Ishii kojii@chromium.org
Auto-Submit: Jonathan Lee jonathanjlee@google.com
Cr-Commit-Position: refs/heads/main@{#1371831}