[wpt-sync] Sync PR 48676 - Fenced frame: Fix some WPTs in headless mode.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48676 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48676
Details from upstream follow.
Liam Brady <lbrady@google.com> wrote:
Fenced frame: Fix some WPTs in headless mode.
There is currently a push to allow Chromium web platform tests to run
in headless mode (i.e. without a content shell). This requires some
changes to how fenced frame tests work. Headless mode does not support
test_driver functions from inside of fenced frames, as those require
access to the main frame's window to pass the message onto, which
fenced frames deliberately block for privacy reasons. This CL fixes
some of the tests that fail in headless mode by moving those
test_driver calls to the main frame, specifically clicking actions
(which we already have multiClick() to handle this in main frames),
and set_permission().See the headless mode explainer:
https://chromium.googlesource.com/chromium/src/+/HEAD/headless/README.mdChange-Id: Iab82a581b67f8f8851c7716a2d72caf566f3b2ae
Bug: 366257368Reviewed-on: https://chromium-review.googlesource.com/5935060
WPT-Export-Revision: 8af881474790563f01f2d3231e4d1e755ffddbf2
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Description
•