Open Bug 1928141 Opened 3 days ago Updated 2 days ago

[wpt-sync] Sync PR 48888 - Fenced frame: refactor navigate ancestor tests for headless mode.

Categories

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

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Liam Brady <lbrady@google.com> wrote:

Fenced frame: refactor navigate ancestor tests for headless mode.

User activation does not work in headless mode when dealing with new
windows. This CL refactors our navigate ancestor tests to run the test
in the main window. This means that the failure condition will now be
different. Rather than an assert being hit, if the test fails, it will
now time out, as the top-level page will have been navigated away.

This also simplifies the setup to use remote context executors instead
of a series of various helper files. If this causes flakes down the
line, this will be reverted.

Change-Id: I492bd524ad755c8e310264804650ff213a027d80
Bug: 366257368
Reviewed-on: https://chromium-review.googlesource.com/5974698
WPT-Export-Revision: 4701303342517f5c4f71a1c0f58446e999e989c2

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 3 tests and 2 subtests

Status Summary

Firefox

OK : 3
FAIL: 6

Chrome

OK : 3
FAIL: 6

Safari

OK : 3
FAIL: 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

You need to log in before you can comment on or make changes to this bug.