[wpt-sync] Sync PR 34549 - Fix Sandbox WPT which might not throw immediately
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 34549 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34549
Details from upstream follow.
Pâris Meuleman <pmeuleman@chromium.org> wrote:
Fix Sandbox WPT which might not throw immediately
Firefox does not raise an exception when a sandboxed document is
accessed through the opener proxy immediately after window.open.
Instead wait for half a second before checking. This resulted in
proper errors being raised during manual tests (due to cross
origin access to the origin member).Change-Id: I8c2b1e57673f184b9443c07c51694bbece60c8bf
Reviewed-on: https://chromium-review.googlesource.com/3720559
WPT-Export-Revision: 08de233a113d61a75bcb883ea83aa4b60d6fa978
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests and 4 subtests
Status Summary
Firefox
OK
: 1
PASS
: 2
FAIL
: 2
Chrome
OK
: 1
PASS
: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/embedded-content/the-iframe-element/sandbox-inherit-to-blank-document-unsandboxed.html [wpt.fyi]
- The initial empty document inherit sandbox via CSP.:
FAIL
(Chrome:PASS
) - The synchronous re-navigation to about:blank inherits sandbox via CSP:
FAIL
(Chrome:PASS
)
- The initial empty document inherit sandbox via CSP.:
Comment 5•3 years ago
|
||
bugherder |
Description
•