OLD | NEW |
(Empty) | |
| 1 This test makes sure that calls to pushState() and replaceState() with less than
2 arguments fail as expected. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS successfullyParsed is true |
| 7 |
| 8 TEST COMPLETE |
| 9 PASS history.pushState() threw exception TypeError: Failed to execute 'pushState
' on 'History': 2 arguments required, but only 0 present.. |
| 10 PASS history.pushState(null) threw exception TypeError: Failed to execute 'pushS
tate' on 'History': 2 arguments required, but only 1 present.. |
| 11 PASS history.pushState(null, null) did not throw exception. |
| 12 PASS history.pushState(null, null, null) did not throw exception. |
| 13 PASS history.replaceState() threw exception TypeError: Failed to execute 'replac
eState' on 'History': 2 arguments required, but only 0 present.. |
| 14 PASS history.replaceState(null) threw exception TypeError: Failed to execute 're
placeState' on 'History': 2 arguments required, but only 1 present.. |
| 15 PASS history.replaceState(null, null) did not throw exception. |
| 16 PASS history.replaceState(null, null, null) did not throw exception. |
| 17 |
OLD | NEW |