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

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

Issue 114363002: Structured cloning: improve DataCloneError reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + reset V8TestInterfaceConstructor.cpp result Created 7 years 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
1 main frame - didStartProvisionalLoadForFrame 1 main frame - didStartProvisionalLoadForFrame
2 main frame - didCommitLoadForFrame 2 main frame - didCommitLoadForFrame
3 main frame - didFinishDocumentLoadForFrame 3 main frame - didFinishDocumentLoadForFrame
4 main frame - didHandleOnloadEventsForFrame 4 main frame - didHandleOnloadEventsForFrame
5 main frame - didFinishLoadForFrame 5 main frame - didFinishLoadForFrame
6 This test makes sure that calls to pushState() and replaceState() with URLs that violate the security origin check fail as expected. 6 This test makes sure that calls to pushState() and replaceState() with URLs that violate the security origin check fail as expected.
7 7
8 Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: A history state object with URL 'http://localhost/test.html' cann ot be created in a document with origin 'http://127.0.0.1:8000'. 8 Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: Failed to execute 'pushState' on 'History': A history state objec t with URL 'http://localhost/test.html' cannot be created in a document with ori gin 'http://127.0.0.1:8000'.
9 History length is 1 9 History length is 1
10 Trying to replaceState() with url http://localhost/test.html failed with excepti on SecurityError: A history state object with URL 'http://localhost/test.html' c annot be created in a document with origin 'http://127.0.0.1:8000'. 10 Trying to replaceState() with url http://localhost/test.html failed with excepti on SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://localhost/test.html' cannot be created in a document wi th origin 'http://127.0.0.1:8000'.
11 History length is 1 11 History length is 1
12 Trying to pushState() with url http://localhost:8001/test.html failed with excep tion SecurityError: A history state object with URL 'http://localhost:8001/test. html' cannot be created in a document with origin 'http://127.0.0.1:8000'. 12 Trying to pushState() with url http://localhost:8001/test.html failed with excep tion SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://localhost:8001/test.html' cannot be created in a documen t with origin 'http://127.0.0.1:8000'.
13 History length is 1 13 History length is 1
14 Trying to replaceState() with url http://localhost:8001/test.html failed with ex ception SecurityError: A history state object with URL 'http://localhost:8001/te st.html' cannot be created in a document with origin 'http://127.0.0.1:8000'. 14 Trying to replaceState() with url http://localhost:8001/test.html failed with ex ception SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://localhost:8001/test.html' cannot be created in a d ocument with origin 'http://127.0.0.1:8000'.
15 History length is 1 15 History length is 1
16 Trying to pushState() with url http://www.webkit.org/test.html failed with excep tion SecurityError: A history state object with URL 'http://www.webkit.org/test. html' cannot be created in a document with origin 'http://127.0.0.1:8000'. 16 Trying to pushState() with url http://www.webkit.org/test.html failed with excep tion SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://www.webkit.org/test.html' cannot be created in a documen t with origin 'http://127.0.0.1:8000'.
17 History length is 1 17 History length is 1
18 Trying to replaceState() with url http://www.webkit.org/test.html failed with ex ception SecurityError: A history state object with URL 'http://www.webkit.org/te st.html' cannot be created in a document with origin 'http://127.0.0.1:8000'. 18 Trying to replaceState() with url http://www.webkit.org/test.html failed with ex ception SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://www.webkit.org/test.html' cannot be created in a d ocument with origin 'http://127.0.0.1:8000'.
19 History length is 1 19 History length is 1
20 Trying to pushState() with url http://www.webkit.org/ failed with exception Secu rityError: A history state object with URL 'http://www.webkit.org/' cannot be cr eated in a document with origin 'http://127.0.0.1:8000'. 20 Trying to pushState() with url http://www.webkit.org/ failed with exception Secu rityError: Failed to execute 'pushState' on 'History': A history state object wi th URL 'http://www.webkit.org/' cannot be created in a document with origin 'htt p://127.0.0.1:8000'.
21 History length is 1 21 History length is 1
22 Trying to replaceState() with url http://www.webkit.org/ failed with exception S ecurityError: A history state object with URL 'http://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'. 22 Trying to replaceState() with url http://www.webkit.org/ failed with exception S ecurityError: Failed to execute 'replaceState' on 'History': A history state obj ect with URL 'http://www.webkit.org/' cannot be created in a document with origi n 'http://127.0.0.1:8000'.
23 History length is 1 23 History length is 1
24 Trying to pushState() with url ftp://www.webkit.org/ failed with exception Secur ityError: A history state object with URL 'ftp://www.webkit.org/' cannot be crea ted in a document with origin 'http://127.0.0.1:8000'. 24 Trying to pushState() with url ftp://www.webkit.org/ failed with exception Secur ityError: Failed to execute 'pushState' on 'History': A history state object wit h URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http: //127.0.0.1:8000'.
25 History length is 1 25 History length is 1
26 Trying to replaceState() with url ftp://www.webkit.org/ failed with exception Se curityError: A history state object with URL 'ftp://www.webkit.org/' cannot be c reated in a document with origin 'http://127.0.0.1:8000'. 26 Trying to replaceState() with url ftp://www.webkit.org/ failed with exception Se curityError: Failed to execute 'replaceState' on 'History': A history state obje ct with URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
27 History length is 1 27 History length is 1
28 Trying to pushState() with url file://anyfile.html/ failed with exception Securi tyError: A history state object with URL 'file://anyfile.html/' cannot be create d in a document with origin 'http://127.0.0.1:8000'. 28 Trying to pushState() with url file://anyfile.html/ failed with exception Securi tyError: Failed to execute 'pushState' on 'History': A history state object with URL 'file://anyfile.html/' cannot be created in a document with origin 'http:// 127.0.0.1:8000'.
29 History length is 1 29 History length is 1
30 Trying to replaceState() with url file://anyfile.html/ failed with exception Sec urityError: A history state object with URL 'file://anyfile.html/' cannot be cre ated in a document with origin 'http://127.0.0.1:8000'. 30 Trying to replaceState() with url file://anyfile.html/ failed with exception Sec urityError: Failed to execute 'replaceState' on 'History': A history state objec t with URL 'file://anyfile.html/' cannot be created in a document with origin 'h ttp://127.0.0.1:8000'.
31 History length is 1 31 History length is 1
32 32
OLDNEW
« no previous file with comments | « LayoutTests/fast/workers/worker-multi-port-expected.txt ('k') | LayoutTests/storage/indexeddb/clone-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698