Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: LayoutTests/http/tests/loading/state-object-few-arguements-exception-expected.txt

Issue 1007113002: The history.pushState/replaceState should check for minimum arity exception. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 main frame - didStartProvisionalLoadForFrame
2 main frame - didCommitLoadForFrame
3 main frame - didFinishDocumentLoadForFrame
4 main frame - didCommitLoadForFrame
5 main frame - didReceiveTitle:
6 main frame - didCommitLoadForFrame
7 main frame - didReceiveTitle:
8 main frame - didCommitLoadForFrame
9 main frame - didReceiveTitle:
10 main frame - didCommitLoadForFrame
11 main frame - didReceiveTitle:
12 main frame - didHandleOnloadEventsForFrame
13 main frame - didFinishLoadForFrame
14 This test makes sure that calls to pushState() and replaceState() with less than 2 arguments fail as expected.
15
16 Trying to invoke pushState() with 0 arguments failed with exception TypeError: F ailed to execute 'pushState' on 'History': Not enough arguments to History.pushS tate.
17 Trying to invoke pushState() with 1 arguments failed with exception TypeError: F ailed to execute 'pushState' on 'History': Not enough arguments to History.pushS tate.
18 Trying to invoke pushState() with 2 arguments should've succeeded.
19 Trying to invoke pushState() with 3 arguments should've succeeded.
20 Trying to invoke replaceState() with 0 arguments failed with exception TypeError : Failed to execute 'replaceState' on 'History': Not enough arguments to History .replaceState.
21 Trying to invoke replaceState() with 1 arguments failed with exception TypeError : Failed to execute 'replaceState' on 'History': Not enough arguments to History .replaceState.
22 Trying to invoke replaceState() with 2 arguments should've succeeded.
23 Trying to invoke replaceState() with 3 arguments should've succeeded.
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698