| Index: LayoutTests/fast/history/state-object-few-arguements-exception-expected.txt
|
| diff --git a/LayoutTests/fast/history/state-object-few-arguements-exception-expected.txt b/LayoutTests/fast/history/state-object-few-arguements-exception-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fb55427c60417cf93523ec55467d738b7cdbd1b7
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/history/state-object-few-arguements-exception-expected.txt
|
| @@ -0,0 +1,17 @@
|
| +This test makes sure that calls to pushState() and replaceState() with less than 2 arguments fail as expected.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +PASS history.pushState() threw exception TypeError: Failed to execute 'pushState' on 'History': 2 arguments required, but only 0 present..
|
| +PASS history.pushState(null) threw exception TypeError: Failed to execute 'pushState' on 'History': 2 arguments required, but only 1 present..
|
| +PASS history.pushState(null, null) did not throw exception.
|
| +PASS history.pushState(null, null, null) did not throw exception.
|
| +PASS history.replaceState() threw exception TypeError: Failed to execute 'replaceState' on 'History': 2 arguments required, but only 0 present..
|
| +PASS history.replaceState(null) threw exception TypeError: Failed to execute 'replaceState' on 'History': 2 arguments required, but only 1 present..
|
| +PASS history.replaceState(null, null) did not throw exception.
|
| +PASS history.replaceState(null, null, null) did not throw exception.
|
| +
|
|
|