Closed Bug 1573203 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 18391 - Add tests to prevent a sandbox iframe from using history APIs

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Dave Tapuska <dtapuska@chromium.org> wrote:

Add tests to prevent a sandbox iframe from using history APIs

Spec change https://github.com/whatwg/html/pull/4787

BUG=705583

Change-Id: I6fc5fee627156c10c771b63b609d1d25c6fd439c
Reviewed-on: https://chromium-review.googlesource.com/1749444
WPT-Export-Revision: 86cefdc63e64b83705d2db458afe652dd7a688fd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Ran 3 tests and 3 subtests
OK     : 3
PASS   : 1
FAIL   : 2

New tests that have failures or other problems:
/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html
    Check that sandboxed iframe can not navigate their ancestors: FAIL
/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html
    Check that sandboxed iframe can not navigate their ancestors: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/74a2012e3573
[wpt PR 18391] - Add tests to prevent a sandbox iframe from using history APIs, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/37fa0d77d738
[wpt PR 18391] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.