html/browsers/browsing-the-web/navigating-across-documents/
266 / 282 WPT subtests passing
- Failed
- 16
- Timed out
- 0
- Not run
- 0
- Test files
- 137
- Blocking files
- 0
Chrome 241 / 282 WPT subtests passing on the same files, 15 blocking, 2 without a result
Tests
5 directories, 65 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
initial- | 69 / 71 | 63 / 71 | 17 | none blocking |
multiple- | 4 / 4 | 4 / 4 | 4 | none blocking |
refresh/ | 10 / 10 | 10 / 10 | 5 | none blocking |
replace- | 51 / 51 | 41 / 51 | 41 | none blocking |
source/ | 5 / 5 | 5 / 5 | 5 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
003.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Navigation from unload whilst traversing history
004.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Navigation from unload whilst traversing cross-origin history
005.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick navigation and href navigation
006.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick form submit and href navigation
007.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick javascript url and href navigation
008.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick form submit to javascript url and href navigation
011.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick navigation to javascript url with document.write and href navigation
012.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate until an upstream test bug is fixed
the click handler's document.write() replaces the test's own document, so the link is disconnected before its activation behaviour runs and cannot navigate (HTML 'cannot navigate'); every browser fails with expected "href" but got "write"
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when https://github.com/web-platform-tests/wpt/issues/20598 is resolved
- ¶
FAILLink with onclick navigation to javascript url with delayed document.write and href navigation
assert_equals: expected "href" but got "write"
013.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with onclick navigation to javascript url with delayed document.write and href navigation
014.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with javascript onclick form submission script order
015.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Link with javascript onclick and href script order
abort-document-load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Aborting a Document load
abort-document-window-stop.sub.window.js 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
when the child page stops its own load with window.stop(), the old document's unload handler reads the frame's location as the old common/blank.html, as in Firefox and Safari; Chrome times out
- Crane matches
- Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 0/1 TIMEOUT (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILChild that immediately stops window during loading does not crash
assert_equals: expected "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/resources/child-immediately-stops-during-loading.html" but got "http://web-platform.test:8000/common/blank.html"
anchor-fragment-form-submit-longfragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Anchor element with onclick form submission and href to fragment
anchor-fragment-form-submit-withpath.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Anchor element with onclick form submission and href to fragment
anchor-fragment-form-submit.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Anchor element with onclick form submission and href to fragment
anchor-jsurl-form-submit.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Anchor element with onclick form submission and href to javascript: url
empty-iframe-load-event.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Check execution order on load handler
- Check execution order from nested timeout
empty_fragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Navigating to the same URL with an empty fragment aborts the navigation
failure-check-sequence.https.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- CSP check precedes X-Frame-Options check
- CSP check precedes COEP check - CSP header first
- CSP check precedes COEP check - COEP header first
- COEP check precedes X-Frame-Options check
form-submit-and-window-stop.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The planned navigation of a form should be cancelled by a window stop in the same task as the form submission
fragment-replace.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Replacing a fragment history entry preserves the forward entry and history length
grandparent_location_aboutsrcdoc.sub.window.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- cross-origin grandparent sets location to about:srcdoc
- cross-origin grandparent sets location in same-doc navigation
- same-origin grandparent sets location to about:srcdoc
- same-origin grandparent sets location in same-doc navigation
- same-origin grandparent with sandboxed srcdoc grandchild that self navigates
- cross-origin grandparent with sandboxed srcdoc grandchild that self navigate
grandparent_session_aboutsrcdoc.sub.window.js 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Grandparent with cross-origin srdoc grandchild session
- Grandparent with cross-origin sandboxed srdoc grandchild session
- Grandparent with same-origin srdoc grandchild session
- Grandparent with same-origin sandboxed srdoc grandchild session
javascript-url-global-scope.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- javascript: scheme urls should be executed in current global scope
javascript-url-nested-history.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Traversing back to an entry created by a javascript: URL navigation doesn't restore the replaced document's nested history
javascript-url-no-beforeunload.window.js 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: undefined completion
- Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: undefined completion
- Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: undefined completion
- Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: undefined completion
- Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion
- Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: string completion
- Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: string completion
- Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: string completion
javascript-url-object-embed-history.html 2 / 2 passingChrome 1 / 20 failedClean
2 passing subtests
- A javascript: URL navigation in the document an <object> loaded for its element replaces its session history entry
- A javascript: URL navigation in the document an <embed> loaded for its element replaces its session history entry
javascript-url-query-fragment-components.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- iframes with javascript src
javascript-url-referrer.window.js 1 / 3 passingChrome 3 / 32 failedWith failures
- ¶
FAILunsafe-url referrer policy used to create the starting page
assert_equals: javascript: URL-created document's referrer equals the previous document's referrer expected "http://web-platform.test:8000/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-referrer.window.html" but got ""
- ¶
FAILorigin referrer policy used to create the starting page
assert_equals: javascript: URL-created document's referrer equals the previous document's referrer expected "http://web-platform.test:8000/" but got ""
1 passing subtest
- no-referrer referrer policy used to create the starting page
javascript-url-return-value-handling-dynamic.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- 0041 set in src=""
- 0041 set in href="" targeting a frame and clicked
- 0080 00FF set in src=""
- 0080 00FF set in href="" targeting a frame and clicked
- 0080 00FF 0100 set in src=""
- 0080 00FF 0100 set in href="" targeting a frame and clicked
- D83D DE0D set in src=""
- D83D DE0D set in href="" targeting a frame and clicked
- DE0D 0041 set in src=""
- DE0D 0041 set in href="" targeting a frame and clicked
javascript-url-return-value-handling.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that javascript: evaluation only performs a navigation to the result when the result is a string value.
javascript-url-security-check-failure.sub.html 6 / 6 passingChrome 3 / 60 failedClean
6 passing subtests
- cross-origin, setting src
- cross-origin, setting location.href
- cross-origin-domain but same-origin, setting src
- cross-origin-domain but same-origin, setting location.href
- cross-site, setting src
- cross-site, setting location.href
javascript-url-security-check-multi-globals.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Using iframeEl.src
- Using location.href
javascript-url-security-check-same-origin-domain.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- javascript: URL security check for same-origin-domain but not same-origin
javascript-url-side-effects.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- javascript: URL side effects with percent encoding: false
- javascript: URL side effects with percent encoding: true
- A javascript: URL with invalid code reports a SyntaxError
javascript-url-src-removes-container.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- iframe: a javascript: URL src that removes its container does not fire a load event
- frame: a javascript: URL src that removes its container does not fire a load event
javascript-url-task-queuing.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Navigating an iframe via location.href to a javascript: URL must queue a task
- Navigating an iframe via src="" to a javascript: URL before insertion must queue a task
- Navigating an iframe via src="" to a javascript: URL after insertion must queue a task
- Navigating an opened window via location.href to a javascript: URL must queue a task
- Navigating an opened window as part of creation to a javascript: URL must queue a task
plugin-document.historical.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Same-origin PDFs must not create accessible Document objects
redirect-to-about.window.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- An iframe with src set to a redirect to about:blank
- An iframe that is navigated to a redirect to about:blank
- An iframe with src set to a redirect to about:srcdoc
- An iframe that is navigated to a redirect to about:srcdoc
- An iframe with src set to a redirect to about:nonstandard
- An iframe that is navigated to a redirect to about:nonstandard
redirect-to-data.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Loading an iframe with src=redirecting URL
- Navigating an iframe to a redirecting URL
- Loading a popup directly to the redirecting URL
- Loading a popup that eventually goes to the redirecting URL
redirect-to-unparseable-url.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Navigating to a url (A) that redirects to an unparseable URL (B), saves the URL (A) in the history entry, for later traversal
top-level-data-url.window.js 4 / 8 passingChrome 4 / 84 failedWith failures
- ¶
FAILNavigating a popup using window.open("data:text/html,...", "", "undefined")
assert_true: expected true got false
- ¶
FAILNavigating a popup using window.open("data:text/html,...", "", "opener")
assert_true: expected true got false
- ¶
FAILNavigating a popup using window.open("resources/redirect.py?location=data%3Atext%2Fhtml%2C...", "", "undefined")
assert_true: expected true got false
- ¶
FAILNavigating a popup using window.open("resources/redirect.py?location=data%3Atext%2Fhtml%2C...", "", "opener")
assert_true: expected true got false
4 passing subtests
- Navigating a popup using window.open("data:text/html,...", "", "noopener")
- Navigating a popup using window.open("data:text/html,...", "", "noreferrer")
- Navigating a popup using window.open("resources/redirect.py?location=data%3Atext%2Fhtml%2C...", "", "noopener")
- Navigating a popup using window.open("resources/redirect.py?location=data%3Atext%2Fhtml%2C...", "", "noreferrer")
unknown-protocol-reload-crash.html none reportedChrome —0 failedClean
/html/browsers/browsing-the-web/navigating-across-documents/unknown-protocol-reload-crash.html PASS none reported
No subtests were reported.
window-stop-in-image-load-handler.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.stop() in an image load handler suppresses the document load event