Closed Bug 1776183 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 34549 - Fix Sandbox WPT which might not throw immediately

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
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

PR 34549 applied with additional changes from upstream: 64e3008cb7b3e17543b9a04f710a3f01abacec46
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24606d078fab [wpt PR 34549] - Fix Sandbox WPT which might not throw immediately, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.