Closed Bug 1888716 Opened 1 year ago Closed 10 months ago

[wpt-sync] Sync PR 45434 - Second attempt to de-flake sandbox top navigation WPTs.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Liam Brady <lbrady@google.com> wrote:

Second attempt to de-flake sandbox top navigation WPTs.

Remote context executors tend to be flaky when dealing with either
cross-origin subframe navigations or nested subframes. This CL attempts
to fix the last 2 flaking sandbox top-level navigation WPTs by rewriting
them to not use remote executors where the flakes are most likely to
happen.

For sandbox-top-navigation-child-cross-origin-frame:

  • The iframe created is navigated to a cross-origin document, so that
    is replaced with a navigation to an HTML page rather than a remote
    context.

For sandbox-top-navigation-grandchild-frame-allow-top:

  • The grandchild iframe being navigated to a remote context is the most likely culprit, so that is replaced with a navigation to an HTML page.

Bug: 329153138
Bug: 328860404
Change-Id: Ibcbf88b474ef33d04693f207afa3f1859dcc4d23

Reviewed-on: https://chromium-review.googlesource.com/5405458
WPT-Export-Revision: 1e36d1ba0d6924c3090a9058017db5e145b71edd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.