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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/loading/state-object-security-exception-expected.txt
diff --git a/LayoutTests/http/tests/loading/state-object-security-exception-expected.txt b/LayoutTests/http/tests/loading/state-object-security-exception-expected.txt
index 0e215eab85292f4f579f72e404a87dba90024181..de6f7d2602b3e85a21cb92a1666c013619b09cf7 100644
--- a/LayoutTests/http/tests/loading/state-object-security-exception-expected.txt
+++ b/LayoutTests/http/tests/loading/state-object-security-exception-expected.txt
@@ -5,28 +5,28 @@ main frame - didHandleOnloadEventsForFrame
main frame - didFinishLoadForFrame
This test makes sure that calls to pushState() and replaceState() with URLs that violate the security origin check fail as expected.
-Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: A history state object with URL 'http://localhost/test.html' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://localhost/test.html' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to replaceState() with url http://localhost/test.html failed with exception SecurityError: A history state object with URL 'http://localhost/test.html' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to replaceState() with url http://localhost/test.html failed with exception SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://localhost/test.html' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to pushState() with url http://localhost:8001/test.html failed with exception 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'.
+Trying to pushState() with url http://localhost:8001/test.html failed with exception SecurityError: Failed to execute 'pushState' on 'History': 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'.
History length is 1
-Trying to replaceState() with url http://localhost:8001/test.html failed with exception 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'.
+Trying to replaceState() with url http://localhost:8001/test.html failed with exception SecurityError: Failed to execute 'replaceState' on 'History': 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'.
History length is 1
-Trying to pushState() with url http://www.webkit.org/test.html failed with exception 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'.
+Trying to pushState() with url http://www.webkit.org/test.html failed with exception SecurityError: Failed to execute 'pushState' on 'History': 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'.
History length is 1
-Trying to replaceState() with url http://www.webkit.org/test.html failed with exception 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'.
+Trying to replaceState() with url http://www.webkit.org/test.html failed with exception SecurityError: Failed to execute 'replaceState' on 'History': 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'.
History length is 1
-Trying to pushState() with url http://www.webkit.org/ failed with exception SecurityError: A history state object with URL 'http://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to pushState() with url http://www.webkit.org/ failed with exception SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to replaceState() with url http://www.webkit.org/ failed with exception SecurityError: A history state object with URL 'http://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to replaceState() with url http://www.webkit.org/ failed with exception SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to pushState() with url ftp://www.webkit.org/ failed with exception SecurityError: A history state object with URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to pushState() with url ftp://www.webkit.org/ failed with exception SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to replaceState() with url ftp://www.webkit.org/ failed with exception SecurityError: A history state object with URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to replaceState() with url ftp://www.webkit.org/ failed with exception SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'ftp://www.webkit.org/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
History length is 1
-Trying to pushState() with url file://anyfile.html/ failed with exception SecurityError: A history state object with URL 'file://anyfile.html/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to pushState() with url file://anyfile.html/ failed with exception SecurityError: 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'.
History length is 1
-Trying to replaceState() with url file://anyfile.html/ failed with exception SecurityError: A history state object with URL 'file://anyfile.html/' cannot be created in a document with origin 'http://127.0.0.1:8000'.
+Trying to replaceState() with url file://anyfile.html/ failed with exception SecurityError: Failed to execute 'replaceState' 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'.
History length is 1
« 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