html/browsers/history/the-history-interface/
219 / 222 WPT subtests passing
- Failed
- 3
- Timed out
- 0
- Not run
- 0
- Test files
- 68
- Blocking files
- 0
Chrome 218 / 222 WPT subtests passing on the same files, 1 blocking
Tests
2 directories, 61 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
joint_ | 7 / 7 | 7 / 7 | 1 | none blocking |
pushstate- | 6 / 6 | 6 / 6 | 6 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
001.html 40 / 40 passingChrome 40 / 400 failedClean
40 passing subtests
- history.length should update when loading pages in an iframe
- history.length should update when setting location.hash
- history.pushState must exist
- history.pushState must exist within iframes
- initial history.state should be null
- history.length should update when pushing a state
- history.state should update after a state is pushed
- history.length should not decrease after going back
- traversing history must traverse pushed states
- traversing history must also traverse hash changes
- pushState must not be allowed to create invalid URLs
- pushState must not be allowed to create cross-origin URLs
- pushState must not be allowed to create cross-origin URLs (about:blank)
- pushState must not be allowed to create cross-origin URLs (data:URI)
- security errors are expected to be thrown in the context of the document that owns the history object
- location.hash must be allowed to change (part 1)
- location.hash must be allowed to change (part 2)
- pushState must not alter location.hash when no URL is provided
- pushState must remove all history after the current state
- pushState must be able to set location.hash
- pushState must not remove tasks queued by the history traversal task source
- pushState must not fire hashchange events
- pushState must be able to set location.pathname
- pushState must be able to set absolute URLs to the same host
- pushState must not be able to use a function as data
- pushState must not be able to use a DOM node as data
- pushState must be able to use an error object as data
- security errors are expected to be thrown in the context of the document that owns the history object (2)
- pushState must be able to make structured clones of complex objects
- history.state should also reference a clone of the original object
- history.state should be a clone of the original object, not a reference to it
- popstate event should fire when navigation occurs
- popstate event should pass the state data
- state data should cope with circular object references
- state data should be a clone of the original object, not a reference to it
- history.state should also reference a clone of the original object (2)
- history.state should be a clone of the original object, not a reference to it (2)
- history.state should be identical to the object passed to the event handler unless history.state is updated
- pushState should not actually load the new URL
- reloading a pushed state should actually load the new URL
002.html 38 / 38 passingChrome 38 / 380 failedClean
38 passing subtests
- history.length should update when loading pages in an iframe
- history.length should update when setting location.hash
- history.replaceState must exist
- history.replaceState must exist within iframes
- initial history.state should be null
- history.length should not update when replacing a state with no URL
- history.state should update after a state is pushed
- hash should not change when replaceState is called without a URL
- history.length should not update when replacing a state with a URL
- hash should change when replaceState is called with a URL
- replaceState must replace the existing state and not add an extra one
- replaceState must replace the existing state without altering the forward history
- replaceState must not be allowed to create invalid URLs
- replaceState must not be allowed to create cross-origin URLs
- replaceState must not be allowed to create cross-origin URLs (about:blank)
- replaceState must not be allowed to create cross-origin URLs (data:URI)
- security errors are expected to be thrown in the context of the document that owns the history object
- replaceState must be able to set location.pathname
- replaceState must be able to set absolute URLs to the same host
- replaceState must not remove any tasks queued by the history traversal task source
- .go must queue a task with the history traversal task source (run asynchronously)
- replaceState must not fire hashchange events
- replaceState must not be able to use a function as data
- replaceState must not be able to use a DOM node as data
- replaceState must be able to use an error object as data
- security errors are expected to be thrown in the context of the document that owns the history object (2)
- replaceState must be able to make structured clones of complex objects
- history.state should also reference a clone of the original object
- history.state should be a clone of the original object, not a reference to it
- popstate event should fire when navigation occurs
- popstate event should pass the state data
- state data should cope with circular object references
- state data should be a clone of the original object, not a reference to it
- history.state should also reference a clone of the original object (2)
- history.state should be a clone of the original object, not a reference to it (2)
- history.state should be identical to the object passed to the event handler unless history.state is updated
- replaceState should not actually load the new URL
- reloading a replaced state should actually load the new URL
004.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- .go commands should be queued until the thread has ended
- browser needs to support hashchange events for this testcase
- queued .go commands should all be executed when the queue is processed
- history position should be calculated when executing, not when calling the .go command
005.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- history.pushState support is needed for this testcase
- <body onpopstate="..."> should register a listener for the popstate event
- window.onpopstate should register a listener for the popstate event
006.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- history.state should initially be null
- popstate event should not fire before onload fires
- history.state should still be null onload
- popstate event should not fire after onload fires
- history.state should still be null after onload
- writing to history.state should be silently ignored and not throw an error
007.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- history.state should initially be null
- history.pushState support is needed for this testcase
- history.state should reflect pushed state
- popstate event should fire before onload fires
- the correct state should be restored when navigating during initial load
- history.state should reflect the navigated state onload
- popstate event should not fire after onload fires
- history.state should reflect the navigated state after onload
008.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- history.pushState URL resolving should be done relative to the document, not the script
- history.replaceState URL resolving should be done relative to the document, not the script
009.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- HTTP Referer should use the pushed state
- document.referrer should use the pushed state
- HTTP Referer should use the replaced state
- document.referrer should use the replaced state
010.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- HTTP Referer should use the pushed state (before onload)
- document.referrer should use the pushed state (before onload)
- HTTP Referer should use the replaced state (before onload)
- document.referrer should use the replaced state (before onload)
011.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- pushState should be able to set the location state
- pushed location should be reflected immediately
- pushed location should be retained after the page has loaded
012.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- replaceState should be able to set the location state
- replaced location should be reflected immediately
- replaced location should be retained after the page has loaded
back-pushstate-back-history-state.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.state is null after pushState+back+pushState+back
combination_history_001.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Combine pushState and replaceSate methods
combination_history_002.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of pushState method, check length
combination_history_003.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of pushState and replaceState methods, check length
combination_history_004.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of back method, check length
combination_history_005.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of forward method, check length
combination_history_006.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of go method, check length
combination_history_007.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- After calling of back and pushState method, check length
history-associated-with-document.window.js 2 / 4 passingChrome 3 / 42 failedWith failures
- ¶
FAILNavigating from the transient about:blank must replace window.history
assert_not_equals: got disallowed value object "[object History]"
- ¶
FAILNavigating from the initial about:blank must replace window.history
assert_not_equals: got disallowed value object "[object History]"
2 passing subtests
- Discarding the browsing context must not change window.history
- document.open() must not replace window.history
history-state-after-bfcache.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Navigating back to a bfcached page does not reset history.state
history_back.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history back
history_back_1.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.back() with session history
history_back_cross_realm_method.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.back() uses this's associated document's browsing context to determine if navigation is allowed
history_forward.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history forward
history_forward_1.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.forward() with session history
history_forward_cross_realm_method.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.forward() uses this's associated document's browsing context to determine if navigation is allowed
history_go_cross_realm_method.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.go() uses this's associated document's browsing context to determine if navigation is allowed
history_go_minus.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history go minus
history_go_no_argument.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.go()
history_go_plus.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history go plus
history_go_to_uri.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.go() negative tests
history_go_too_many_calls.optional.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- history go too many calls
- fully active check should be before rate limit check
history_go_undefined.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
history.forward() lands where it does in Chrome and Firefox (the pages opened read [3, 2, 3] in all three, the test expects [3, 2, 2]); 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
- ¶
FAILhistory.forward() with session history
assert_array_equals: Pages opened during history navigation expected property 2 to be 2 but got 3 (expected array [3, 2, 2] got [3, 2, 3])
history_go_zero.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.go(0)
history_go_zero_which_document.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history.go(0) on an iframe must reload the iframe's document, not the parent document
history_properties_only_fully_active.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history properties should throw SecurityError when not in a fully active Document
history_pushstate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history pushState
history_pushstate_err.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history pushState SECURITY_ERR
history_pushstate_nooptionalparam.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history pushState NoOptionalParam
history_pushstate_too_many_calls.optional.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history pushState too many calls
history_pushstate_too_many_calls_ordering.optional.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- pushState serializes state before checking the rate limit
- pushState parses the URL before checking the rate limit
- pushState checks whether the URL can be rewritten before checking the rate limit
- pushState checks fully active before checking the rate limit
history_pushstate_url.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history pushState sets url
history_pushstate_url_rewriting.html 35 / 35 passingChrome 34 / 350 failedClean
35 passing subtests
- http://web-platform.test:8000/common/blank.html to http://web-platform.test:8000/common/blank.html#newhash should work
- http://web-platform.test:8000/common/blank.html to http://web-platform.test:8000/common/blank.html?newsearch should work
- http://web-platform.test:8000/common/blank.html to http://web-platform.test:8000/newpath should work
- http://web-platform.test:8000/common/blank.html to http://username:password@web-platform.test:8000/common/blank.html should not work
- http://web-platform.test:8000/common/blank.html to blob:(a blob URL for this origin) should not work
- http://web-platform.test:8000/common/blank.html to about:blank should not work
- http://web-platform.test:8000/common/blank.html to about:srcdoc should not work
- blob:(a blob URL for this origin) to blob:(a blob URL for this origin) should work
- blob:(a blob URL for this origin) to blob:(a blob URL for this origin)#newhash should work
- blob:(a blob URL for this origin) to blob:(a blob URL for this origin)?newsearch should not work
- blob:(a blob URL for this origin) to blob:newpath should not work
- blob:(a blob URL for this origin) to blob:http://web-platform.test:8000/syntheticblob should not work
- blob:(a blob URL for this origin) to blob:(another blob URL for this origin) should not work
- about:blank to about:blank should work
- about:blank to about:srcdoc should not work
- about:blank to about:blank?newsearch should not work
- about:blank to about:blank#newhash should work
- about:blank to http://web-platform.test:8000/blank should not work
- http://web-platform.test:8000/common/blank.html to javascript:'foo' should not work
- javascript:'foo' to javascript:'foo' should not work
- javascript:'foo' to javascript:'foo'?newsearch should not work
- javascript:'foo' to javascript:'foo'#newhash should not work
- about:srcdoc to about:srcdoc should work
- about:srcdoc to about:srcdoc?newsearch should not work
- about:srcdoc to about:srcdoc#newhash should work
- about:srcdoc to http://web-platform.test:8000/srcdoc should not work
- sandboxed http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html to http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html should work
- sandboxed http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html to http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html#newhash should work
- sandboxed http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html to http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html?newsearch should work
- sandboxed http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html to http://web-platform.test:8000/newpath should work
- sandboxed http://web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html to http://username:password@web-platform.test:8000/html/browsers/history/the-history-interface/resources/url-rewriting-helper.html should not work
- data:(script to run this test) to data:(script to run this test) should work
- data:(script to run this test) to data:(script to run this test)#newhash should work
- data:(script to run this test) to data:(script to run this test)?newsearch should not work
- data:(script to run this test) to data:newpath should not work
history_replacestate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history replaceState
history_replacestate_err.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history replaceState SECURITY_ERR
history_replacestate_nooptionalparam.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history replaceStateNoOptionalParam
history_replacestate_too_many_calls.optional.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history replaceState too many calls
history_replacestate_too_many_calls_ordering.optional.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- replaceState serializes state before checking the rate limit
- replaceState parses the URL before checking the rate limit
- replaceState checks whether the URL can be rewritten before checking the rate limit
- replaceState checks fully active before checking the rate limit
history_state.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- history state
iframe_history_go_0.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- iframe's history.go(0) performs a location.reload()
traverse-during-beforeunload.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Traversing the history during beforeunload
traverse-during-unload.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Traversing the history during unload
traverse_the_history_2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple history traversals, last would be aborted
traverse_the_history_3.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple history traversals, last would be aborted
traverse_the_history_4.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple history traversals, last would be aborted
traverse_the_history_5.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple history traversals, last would be aborted
traverse_the_history_unload_1.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Traversing the history, unload event is fired on doucment
traverse_the_history_write_after_load_2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Traverse the history back and forward when a history entry is written after the load event
traverse_the_history_write_onload_1.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Traverse the history when a history entry is written in the load event
traverse_the_history_write_onload_2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Traverse the history back and forward when a history entry is written in the load event