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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt

Issue 19095003: Throw 'SecurityError' upon cross-origin Location access. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. 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-callback-explicit-domain-DENY-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt
index 9d387989ddf0cf0ff9d8ed1ec5ece11aa3fd5fd3..9a294042540d942e1e1e3f7382b1cf4e4dd80f2d 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt
+++ b/LayoutTests/http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt
@@ -1,4 +1,5 @@
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access set "document.domain" to "127.0.0.1", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.
+CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access set "document.domain" to "127.0.0.1", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.
Test that a child frame can't define a function and the use it to access parent properties after document.domain write blocks the access.
@@ -7,3 +8,5 @@ Test that a child frame can't define a function and the use it to access parent
Frame: '<!--framePath //<!--frame0-->-->'
--------
PASS: canGet('parentWindow.location.href') should be 'false' and is.
+PASS: accessThrowsException('parentWindow.location.href') should be 'true' and is.
+

Powered by Google App Engine
This is Rietveld 408576698