Index: LayoutTests/http/tests/loading/state-object-few-arguements-exception-expected.txt |
diff --git a/LayoutTests/http/tests/loading/state-object-few-arguements-exception-expected.txt b/LayoutTests/http/tests/loading/state-object-few-arguements-exception-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..74b19b7cb29389f11d31b9e8e0388828078c2a9d |
--- /dev/null |
+++ b/LayoutTests/http/tests/loading/state-object-few-arguements-exception-expected.txt |
@@ -0,0 +1,24 @@ |
+main frame - didStartProvisionalLoadForFrame |
+main frame - didCommitLoadForFrame |
+main frame - didFinishDocumentLoadForFrame |
+main frame - didCommitLoadForFrame |
+main frame - didReceiveTitle: |
+main frame - didCommitLoadForFrame |
+main frame - didReceiveTitle: |
+main frame - didCommitLoadForFrame |
+main frame - didReceiveTitle: |
+main frame - didCommitLoadForFrame |
+main frame - didReceiveTitle: |
+main frame - didHandleOnloadEventsForFrame |
+main frame - didFinishLoadForFrame |
+This test makes sure that calls to pushState() and replaceState() with less than 2 arguments fail as expected. |
+ |
+Trying to invoke pushState() with 0 arguments failed with exception TypeError: Failed to execute 'pushState' on 'History': Not enough arguments to History.pushState. |
+Trying to invoke pushState() with 1 arguments failed with exception TypeError: Failed to execute 'pushState' on 'History': Not enough arguments to History.pushState. |
+Trying to invoke pushState() with 2 arguments should've succeeded. |
+Trying to invoke pushState() with 3 arguments should've succeeded. |
+Trying to invoke replaceState() with 0 arguments failed with exception TypeError: Failed to execute 'replaceState' on 'History': Not enough arguments to History.replaceState. |
+Trying to invoke replaceState() with 1 arguments failed with exception TypeError: Failed to execute 'replaceState' on 'History': Not enough arguments to History.replaceState. |
+Trying to invoke replaceState() with 2 arguments should've succeeded. |
+Trying to invoke replaceState() with 3 arguments should've succeeded. |
+ |