enable history interface tests

This commit is contained in:
Connor Brewster 2016-06-18 20:18:44 -06:00
parent 2cea4187fc
commit cdf56c886e
No known key found for this signature in database
GPG key ID: 4DC88F6C5396A5F9
54 changed files with 285 additions and 2 deletions

View file

@ -4,3 +4,4 @@
[Revoking blob URL used with XMLHttpRequest]
expected: TIMEOUT
bug: https://github.com/servo/servo/issues/10539

View file

@ -2,3 +2,4 @@
type: testharness
[Do only fully active documents count for session history?]
expected: FAIL

View file

@ -0,0 +1,3 @@
[001.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[002.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[004.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[005.html]
type: testharness
expected: TIMEOUT
[history.pushState support is needed for this testcase]
expected: FAIL

View file

@ -0,0 +1,14 @@
[006.html]
type: testharness
[history.state should initially be null]
expected: FAIL
[history.state should still be null onload]
expected: FAIL
[history.state should still be null after onload]
expected: FAIL
[writing to history.state should be silently ignored and not throw an error]
expected: FAIL

View file

@ -0,0 +1,12 @@
[007.html]
type: testharness
expected: TIMEOUT
[history.state should initially be null]
expected: FAIL
[history.pushState support is needed for this testcase]
expected: FAIL
[history.state should reflect pushed state]
expected: FAIL

View file

@ -0,0 +1,3 @@
[008.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[009.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[010.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,11 @@
[011.html]
type: testharness
[pushState should be able to set the location state]
expected: FAIL
[pushed location should be reflected immediately]
expected: FAIL
[pushed location should be retained after the page has loaded]
expected: FAIL

View file

@ -0,0 +1,11 @@
[012.html]
type: testharness
[replaceState should be able to set the location state]
expected: FAIL
[replaced location should be reflected immediately]
expected: FAIL
[replaced location should be retained after the page has loaded]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_001.html]
type: testharness
[Combine pushState and replaceSate methods]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_002.html]
type: testharness
[After calling of pushState method, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_003.html]
type: testharness
[After calling of pushState and replaceState methods, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_004.html]
type: testharness
[After calling of back method, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_005.html]
type: testharness
[After calling of forward method, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_006.html]
type: testharness
[After calling of go method, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[combination_history_007.html]
type: testharness
[After calling of back and pushState method, check length]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_back.html]
type: testharness
[history back]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_back_1.html]
type: testharness
[history.back() with session history]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_forward.html]
type: testharness
[history forward]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_forward_1.html]
type: testharness
[history.forward() with session history]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_go_minus.html]
type: testharness
[history go minus]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_go_no_argument.html]
type: testharness
[history.go()]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_go_plus.html]
type: testharness
[history go plus]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_go_undefined.html]
type: testharness
[history.forward() with session history]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_go_zero.html]
type: testharness
[history.go(0)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_pushstate.html]
type: testharness
[history pushState]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_pushstate_err.html]
type: testharness
[history pushState SECURITY_ERR]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_pushstate_nooptionalparam.html]
type: testharness
[history pushState NoOptionalParam]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_replacestate.html]
type: testharness
[history replaceState]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_replacestate_err.html]
type: testharness
[history replaceState SECURITY_ERR]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_replacestate_nooptionalparam.html]
type: testharness
[history replaceStateNoOptionalParam]
expected: FAIL

View file

@ -0,0 +1,5 @@
[history_state.html]
type: testharness
[history state]
expected: FAIL

View file

@ -0,0 +1,24 @@
[001.html]
type: testharness
expected: TIMEOUT
[Session history length on initial load]
expected: NOTRUN
[Session history length on adding new iframe]
expected: NOTRUN
[Navigating second iframe]
expected: NOTRUN
[Traversing history back (1)]
expected: NOTRUN
[Navigating first iframe]
expected: NOTRUN
[Traversing history back (2)]
expected: NOTRUN
[Traversing history forward]
expected: NOTRUN

View file

@ -0,0 +1,12 @@
[002.html]
type: testharness
expected: TIMEOUT
[Session history length on initial load]
expected: NOTRUN
[Session history length on adding new iframe]
expected: NOTRUN
[Navigating second iframe]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[traverse_the_session_history_unload_prompt_1.html]
type: testharness
[Traversing the history, unload event is fired on doucment]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_1.html]
type: testharness
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_2.html]
type: testharness
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_3.html]
type: testharness
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_4.html]
type: testharness
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_5.html]
type: testharness
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_unload_1.html]
type: testharness
[Traversing the history, unload event is fired on doucment]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_write_after_load_1.html]
type: testharness
[Traverse the history after document.write after the load event]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_write_after_load_2.html]
type: testharness
[Traverse the history back and forward when a history entry is written after the load event]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_write_onload_1.html]
type: testharness
[Traverse the history when a history entry is written in the load event]
expected: FAIL

View file

@ -0,0 +1,5 @@
[traverse_the_history_write_onload_2.html]
type: testharness
[Traverse the history back and forward when a history entry is written in the load event]
expected: FAIL

View file

@ -9575,3 +9575,4 @@
[HTMLInputElement interface: createInput("button") must inherit property "useMap" with the proper type (57)]
expected: FAIL

View file

@ -2,5 +2,7 @@
type: testharness
[Check the frame heriarchy 1]
expected: FAIL
[Check the frame heriarchy 2]
expected: FAIL

View file

@ -1,6 +1,5 @@
[tex-image-and-sub-image-2d-with-array-buffer-view.html]
type: testharness
[WebGL test #0: at (0, 0) expected: 0,255,0,255 was 255,0,0,255]
expected: FAIL
@ -105,3 +104,4 @@
[WebGL test #52: successfullyParsed should be true. Was false.]
expected: FAIL

View file

@ -353,3 +353,4 @@
[WebGL test #254: getError expected: NO_ERROR. Was INVALID_ENUM : Should be no errors.]
expected: FAIL