github web-platform-tests/wpt merge_pr_49075

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
one month ago

Fix race condition in pointerevent_pointerId_scope

The load event waits for resources such as images and stylesheets to
load, but does not guarantee that child iframes have loaded. This
test was flaking on debug and MSAN builds which are inherently slower
and susceptible to race conditions. This patch addresses the race
condition by deferring loading the iframe until we can trap the signal
that loading is complete, and is a speculative fix for the flake.

Several other tests in this directory also use iframes and may have
the same race condition. Deferring adding a common resource tool
for a frame load promise pending further investigation of these other
tests.

Bug: 352327319
Change-Id: I7a815916a62b00ac78ed1fbdc884a61c9c8de152
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6000632
Reviewed-by: Mustaq Ahmed mustaq@chromium.org
Commit-Queue: Kevin Ellis kevers@chromium.org
Cr-Commit-Position: refs/heads/main@{#1381194}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.