[wpt-sync] Sync PR 32158 - Add web platform tests for cross-origin parent navigation attempts.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32158 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32158
Details from upstream follow.
Titouan Rigoudy <titouan@chromium.org> wrote:
Add web platform tests for cross-origin parent navigation attempts.
These replace the old text dump tests in http/test/security, one of
which has been flaky recently.I placed the new tests alongside the same-origin child -> parent
navigation tests, but I could also see them belonging in
html/browsers/history/the-location-interface/.Fixed: chromium:1267551
Change-Id: I67c0cae630acc7c17959ae6de2dba3a64c267798Reviewed-on: https://chromium-review.googlesource.com/3350656
WPT-Export-Revision: ecddca9bd2a1b0af14595d098a5b1803c909e11f
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 11 subtests
Status Summary
Firefox
TIMEOUT: 2
NOTRUN : 10
Chrome
OK : 1
PASS : 11
Safari
OK : 1
PASS : 10
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-cross-origin.window.html: TIMEOUT
Child document attempts to navigate cross-origin parent via location: TIMEOUT
Child document attempts to navigate cross-origin parent via location.hash: NOTRUN
Child document attempts to navigate cross-origin parent via location.host: NOTRUN
Child document attempts to navigate cross-origin parent via location.hostname: NOTRUN
Child document attempts to navigate cross-origin parent via location.href: NOTRUN
Child document attempts to navigate cross-origin parent via location.pathname: NOTRUN
Child document attempts to navigate cross-origin parent via location.protocol: NOTRUN
Child document attempts to navigate cross-origin parent via location.reload(): NOTRUN
Child document attempts to navigate cross-origin parent via location.search: NOTRUN
Child document attempts to navigate cross-origin parent via non-standard location property: NOTRUN
New Tests That Don't Pass
/html/browsers/browsing-the-web/navigating-across-documents/child-navigates-parent-cross-origin.window.html: TIMEOUT (Chrome: OK, Safari: OK)
Child document attempts to navigate cross-origin parent via location: TIMEOUT (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.hash: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.host: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.hostname: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.href: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.pathname: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.protocol: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.reload(): NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via location.replace(): NOTRUN (Chrome: PASS, Safari: FAIL)
Child document attempts to navigate cross-origin parent via location.search: NOTRUN (Chrome: PASS, Safari: PASS)
Child document attempts to navigate cross-origin parent via non-standard location property: NOTRUN (Chrome: PASS, Safari: PASS)
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f99ea13f088e
https://hg.mozilla.org/mozilla-central/rev/367ecf9039a0
Description
•