github web-platform-tests/wpt merge_pr_47196

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

Fix test timeouts by adding a postMessage ack on subframe loads. (#47196)

This CL modifies the test
storage-access-permission.sub.https.window.js so that when it loads
cross-process subframes, those frames signal that they've
completely loaded by postMessaging the parent frame. This test
was previously flakey, but the rate of flakes seems to increase
when kOriginKeyedProcessesByDefault is enabled, so it's important
to reduce/eliminate the timeouts. Adding the load ack messages does
appear to help.

Bug: 40259221
Change-Id: Ida9d9b0174feed1b3cce67ffc6f40941790155e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5717273
Commit-Queue: James Maclean wjmaclean@chromium.org
Reviewed-by: Chris Fredrickson cfredric@chromium.org
Cr-Commit-Position: refs/heads/main@{#1329751}

Co-authored-by: W. James MacLean wjmaclean@chromium.org

Don't miss a new wpt release

NewReleases is sending notifications on new releases.