Closed Bug 1752501 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32589 - Fix iframe_sandbox_allow_top_navigation tests

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Tsuyoshi Horo <horo@chromium.org> wrote:

Fix iframe_sandbox_allow_top_navigation tests

The tests iframe_sandbox_allow_top_navigation-1.html and
iframe_sandbox_allow_top_navigation-3.html are failing because they are
using main frame navigations to data URLs to send a message to the
opener. But main frame navigations to data URLs were blocked by
https://codereview.chromium.org/2702503002.

So this CL change the tests to use a normal html file on the server
to send a message to the opener.

Bug: 853146

Change-Id: Ie6c8274d68bafb2683324cdd0c87881b7878c547

Reviewed-on: https://chromium-review.googlesource.com/3422427
WPT-Export-Revision: b3795fe7c037207e80a638e9bf0bd43f6045a340

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb20ebe4c6e1 [wpt PR 32589] - Fix iframe_sandbox_allow_top_navigation tests, a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4dd1c47a8daa [wpt PR 32589] - Fix iframe_sandbox_allow_top_navigation tests, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.