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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-first-time-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/cross-frame-access-first-time-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-access-first-time-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-first-time-expected.txt
index 2b2ba72fa1abdaa2aaa3db7ce9510e1357c6dcdc..e2785e12c020fb8f25d181d30bd06b6853815e95 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-first-time-expected.txt
+++ b/LayoutTests/http/tests/security/cross-frame-access-first-time-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.
This test checks cross-frame access security for first-time access to the document (rdar://problem/5251309).
+Exception thrown trying to get cross-domain document: 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.
canGet(frames[0], 'document'): false
canGet(frames[0].document, 'cookie'): false
canGet(frames[0].document, 'body'): false

Powered by Google App Engine
This is Rietveld 408576698