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| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
event- | 12 / 12 | 12 / 12 | 12 | none blocking |
pagereveal/ | 4 / 4 | 4 / 4 | 4 | none blocking |
pageswap/ | 13 / 13 | 12 / 13 | 13 | none blocking |
persisted- | 6 / 6 | 6 / 6 | 3 | none blocking |
srcdoc/ | 3 / 4 | 1 / 4 | 2 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
001.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- pageshow event from traversal
PopStateEvent.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- PopStateEvent constructor called as normal function
- initPopStateEvent
- Initial value of PopStateEvent.state must be null
- Initial value of PopStateEvent.hasUAVisualTransition must be false
- Dispatching a synthetic PopStateEvent
api-availability.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- API availability following history traversal
browsing_context_name.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Retaining window.name on history traversal
browsing_context_name_cross_origin.html 0 / 1 passingChrome 0 / 11 failedExempt
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
- ¶
FAILRestoring window.name on cross-origin history traversal
assert_equals: expected 2 but got 1
browsing_context_name_cross_origin_2.html 0 / 1 passingChrome 0 / 11 failedExempt
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
- ¶
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.html 0 / 1 passingChrome 0 / 11 failedExempt
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
- ¶
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.html 1 / 2 passingChrome 1 / 21 failedWith failures
- ¶
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
- A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case
events.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- Constructing pageshow event
- Constructing pagehide event
- Constructing pageshow event, persisted true
- Constructing pagehide event, persisted true
- Constructing pageshow event, empty options
- Constructing pagehide event, empty options
- Constructing pageshow event, missing options
- Constructing pagehide event, missing options
- Constructing pageshow event, persisted:null
- Constructing pagehide event, persisted:null
- Constructing pageshow event, persisted:undefined
- Constructing pagehide event, persisted:undefined
- Constructing pageshow event, bubbles:true
- Constructing pagehide event, bubbles:true
- Constructing pageshow event, cancelable:true
- Constructing pagehide event, cancelable:true
hash-empty-string.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- URL has no hash
- changing the hash from an empty string to an empty string does not trigger a popstate event
- changing the hash from an empty string to an empty string does not trigger a hashchange event
hashchange-same-fragment-does-not-fire.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting the same location.hash twice must not fire hashchange the second time
hashchange_event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Queue a task to fire hashchange event
popstate_event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Queue a task to fire popstate event
same-url.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test same-URL navigation and its effects on history
unset_context_name.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Window.name is reset after navigating to a different origin