html/browsers/browsing-the-web/history-traversal/

80 / 86 WPT subtests passing

Failed
6
Timed out
0
Not run
0
Test files
58
Blocking files
0

Chrome 76 / 86 WPT subtests passing on the same files, 3 blocking

Tests

5 directories, 24 test files here
DirectorySubtests passingChromeTest filesStanding
event-order/12 / 1212 / 1212none blocking
pagereveal/4 / 44 / 44none blocking
pageswap/13 / 1312 / 1313none blocking
persisted-user-state-restoration/6 / 66 / 63none blocking
srcdoc/3 / 41 / 42none blocking

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
001.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. pageshow event from traversal
PopStateEvent.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. PopStateEvent constructor called as normal function
  2. initPopStateEvent
  3. Initial value of PopStateEvent.state must be null
  4. Initial value of PopStateEvent.hasUAVisualTransition must be false
  5. Dispatching a synthetic PopStateEvent
api-availability.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. API availability following history traversal
browsing_context_name.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Retaining window.name on history traversal
browsing_context_name_cross_origin.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

the navigation the iframe's load handler starts replaces the entry, as in Chrome and Firefox, so the traversal restores the first name ("expected 2 but got 1" in all three); Safari times out

Crane matches
Chrome, Firefox
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 TIMEOUT (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
  1. FAILRestoring window.name on cross-origin history traversal
    assert_equals: expected 2 but got 1
browsing_context_name_cross_origin_2.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate until an upstream test bug is fixed

the test's step logger stringifies f.contentWindow.location after the iframe has navigated cross-origin, which throws SecurityError (HTML CrossOriginGet) in every browser

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/9018 is resolved
  1. FAILRestoring window.name on cross-origin history traversal
    Failed to read a named property from 'Location': Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame.
browsing_context_name_cross_origin_3.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate until an upstream test bug is fixed

the test's step logger stringifies f.contentWindow.location after the iframe has navigated cross-origin, which throws SecurityError (HTML CrossOriginGet) in every browser

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/9018 is resolved
  1. FAILRestoring window.name on cross-origin history traversal
    Failed to read a named property from 'Location': Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame.
document-state.https.html1 / 2 passingChrome 1 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 1 / 2 WPT subtests passing runner status OK
  1. FAILA navigation's initiator origin and referrer are stored in the document state and used on location.reload()
    assert_equals: Same-origin forward history navigation to a document whose original initiator was cross-site, ends up with Sec-Fetch-Dest: cross-site header expected "cross-site" but got "none"
1 passing subtest
  1. A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case
events.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. Constructing pageshow event
  2. Constructing pagehide event
  3. Constructing pageshow event, persisted true
  4. Constructing pagehide event, persisted true
  5. Constructing pageshow event, empty options
  6. Constructing pagehide event, empty options
  7. Constructing pageshow event, missing options
  8. Constructing pagehide event, missing options
  9. Constructing pageshow event, persisted:null
  10. Constructing pagehide event, persisted:null
  11. Constructing pageshow event, persisted:undefined
  12. Constructing pagehide event, persisted:undefined
  13. Constructing pageshow event, bubbles:true
  14. Constructing pagehide event, bubbles:true
  15. Constructing pageshow event, cancelable:true
  16. Constructing pagehide event, cancelable:true
hash-empty-string.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. URL has no hash
  2. changing the hash from an empty string to an empty string does not trigger a popstate event
  3. changing the hash from an empty string to an empty string does not trigger a hashchange event
hashchange-same-fragment-does-not-fire.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Setting the same location.hash twice must not fire hashchange the second time
hashchange_event.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Queue a task to fire hashchange event
history-traversal-navigate-parent-while-child-loading.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. pushState() in parent while child is doing initial navigation, then go back
history-traversal-navigates-multiple-frames.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A history traversal should be able to navigate a parent and child simultaneously
iframe-navigated-during-container-load.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Reload: Iframe navigation from the container's load event takes effect
  2. Back traversal: Iframe navigation from container's load event takes effect
popstate_event.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Queue a task to fire popstate event
same-url.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test same-URL navigation and its effects on history
unset_context_name.html1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Window.name is reset after navigating to a different origin
window-name-after-cross-origin-aux-frame-navigation.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that the window name is correct
window-name-after-cross-origin-main-frame-navigation.sub.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate until an upstream test bug is fixed

expects window.name cleared in a popup that has an opener; HTML finalize a cross-document navigation step 4 clears the name only for a context that is not auxiliary with an opener (the sibling aux-frame test expects it kept and passes everywhere)

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/65239 is resolved
  1. FAILwindow.name should equal "" after a cross-origin main frame navigation
    assert_true: expected true got false
window-name-after-cross-origin-sub-frame-navigation.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that the window name is correct
window-name-after-same-origin-aux-frame-navigation.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that the window name is correct
window-name-after-same-origin-main-frame-navigation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. window.name after a same-origin main frame navigation
window-name-after-same-origin-sub-frame-navigation.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that the window name is correct

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.