Closed Bug 2068593 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62373 - Reduce page-background-image-print.html flakiness

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Hoch Hochkeppel <mhochk@microsoft.com> wrote:

Reduce page-background-image-print.html flakiness

This test is passing the vast majority of the time, but is still failing
with some regularity due to a race between the image being loaded and
the framework capturing the rendered pixels. This change eliminates that
race by adding a preload, which the test framework will wait for.

Verified locally with private stress-case runs on Mac15 that were
reliably failing ~50% of executions, and are passing 100% with this
change.

Bug: NoBug
Change-Id: Id5464451aeb9a96fe4d80edbe116fb4f24cefb1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8334591
Reviewed-by: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Commit-Queue: Hoch Hochkeppel \<mhochk@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1690240}

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 258 tests

Status Summary

Firefox

OK : 22
PASS : 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 148[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 150[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] 270[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 271[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug]
FAIL : 1[GitHub] 33[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-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 134[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug] 3[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
ERROR : 1

Chrome

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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