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

Unified Diff: LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt
diff --git a/LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt b/LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt
index 131dc6f27e0d1ae6901ba9e471a764153db5f0fa..fa687ab4285a318498ec0a2d3aefe54b7f8c87fd 100644
--- a/LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt
+++ b/LayoutTests/http/tests/security/listener/xss-inactive-closure-expected.txt
@@ -1,7 +1,7 @@
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 6: Uncaught SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
This tests that when a frame navigates to a new page, closures in the old page cannot access page content of the new page if there are from different domains.
You should see PASSED at the end of page if the test passes.
-FAILED: document is undefined
+PASSED

Powered by Google App Engine
This is Rietveld 408576698