Pass | onpopstate in window | Asserts runPass | assert_own_property(object "[object Window]", "onpopstate", "window has 'onpopstate' own property")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:29:25) |
|
Pass | history.pushState is present | Asserts runPass | assert_inherits(object "[object History]", "pushState", "history inherits property 'pushState'")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:34:25) | Pass | assert_equals(function "function Function() { [native code] }", function "function Function() { [native code] }", "pushState is a function")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:35:25) |
|
Pass | history.replaceState is present | Asserts runPass | assert_inherits(object "[object History]", "replaceState", "history inherits property 'replaceState'")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:40:25) | Pass | assert_equals(function "function Function() { [native code] }", function "function Function() { [native code] }", "replaceState is a function")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:41:25) |
|
Pass | history.state is present | Asserts runPass | assert_inherits(object "[object History]", "state", "history inherits property 'state'")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:46:25) |
|
Pass | history.state is initialized to null | Asserts runPass | assert_equals(null, null, "history.state initialized to null")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:51:25) |
|
Pass | history.pushState increments history.length | Asserts runPass | assert_equals(3, 3, "history.length should be incremented by one")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:59:25) |
|
Pass | history.pushState clears forward entries | Asserts runPass | assert_equals(6, 6, "Three additional travel entries add to history.length")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:73:25) | Pass | assert_equals(4, 4, "History.length should now only be one more than original value")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:81:29) |
|
Fail | history.pushState accepts a third parameter 'url' and uses it to alter location | Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/test-pushstate-url' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/test-pushstate-url' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Fail | history.pushState's url parameter can be an absolute url | Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/absolute-page' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/absolute-page' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Fail | history.pushState can modify location object in multiple frames | Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/multiple-pushstate-url1' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'pushState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/multiple-pushstate-url1' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Pass | history.pushState throws DOMException with code SECURITY_ERR (18) | Asserts runPass | assert_throws_dom("SECURITY_ERR", function "function() { history.pushState(null, null, testurl); }", "Security_Err 18 should be thrown")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:124:25) |
|
Pass | history.pushState throws DATA_CLONE_ERR(25) for bad state parameter | Asserts runPass | assert_throws_dom("DATA_CLONE_ERR", function "function() { history.pushState(document.body, null); }", "pushState should throw an exception DATA_CLONE_ERR with code 25")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:131:25) |
|
Pass | history.replaceState does not increment history.length | Asserts runPass | assert_equals(4, 4, "history.length should not change")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:139:25) |
|
Pass | history.replaceState does not clear forward entries | Asserts runPass | assert_equals(7, 7, "Three additional travel entries add to history.length")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:153:25) | Pass | assert_equals(7, 7, "History.length should still be three more than original value")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:161:29) |
|
Fail | history.replaceState accepts a third parameter 'url' and uses it to alter location | Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/test-replaceState-url' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/test-replaceState-url' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Fail | history.replaceState's url parameter can be an absolute url | Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/absolute-page' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/absolute-page' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Fail | history.replaceState can modify location object in multiple frames | Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/multiple-replaceState-url1' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'.Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://wpt.live/old-tests/submission/Microsoft/history/multiple-replaceState-url1' cannot be created in a document with origin 'https://wpt.live' and URL 'about:blank'. Asserts runNo asserts ran |
Pass | history.replaceState throws DOMException with code SECURITY_ERR (18) | Asserts runPass | assert_throws_dom("SECURITY_ERR", function "function() { history.replaceState(null, null, testurl); }", "Security_Err 18 should be thrown")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:204:25) |
|
Pass | history.replaceState throws DATA_CLONE_ERR(25) for bad state parameter | Asserts runPass | assert_throws_dom("DATA_CLONE_ERR", function "function() {history.replaceState(document.body, null);}", "replaceState should throw an exception DATA_CLONE_ERR with code 25")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:211:25) |
|
Pass | PopStateEvent fires on Back navigation | Asserts runNo asserts ran |
Pass | PopStateEvent fires on Forward navigation | Asserts runNo asserts ran |
Pass | PopStateEvent receives state data on Back navigation | Asserts runPass | assert_equals("popstate-data", "popstate-data", "State data is passed to the event correctly")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:254:29) |
|
Pass | history.state is set by history.pushState | Asserts runPass | assert_equals("pushstate-data", "pushstate-data", "State data is set correctly")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:266:25) |
|
Pass | history.state is set by history.replaceState | Asserts runPass | assert_equals("replacestate-data", "replacestate-data", "State data is set correctly")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:274:25) |
|
Pass | history.state changes on navigation | Asserts runPass | assert_equals("state-back2", "state-back2", "Verify that history.state is set to a second value")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:284:25) | Pass | assert_equals("state-back1", "state-back1", "Verify that history.state reverted to the first value")
at Test.<anonymous> ( /old-tests/submission/Microsoft/history/history_000.htm:288:29) |
|