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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-delete-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-delete-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-access-delete-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-delete-expected.txt
index cc07e5fd62425fea6a554f6d2a8978c0f453ea38..cbe959b12baf488b353c64b289556f893c9d1225 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-delete-expected.txt
+++ b/LayoutTests/http/tests/security/cross-frame-access-delete-expected.txt
@@ -1,8 +1,6 @@
-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: 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.
-PASS: eval('delete targetWindow.existingProperty') should be 'false' and is.
-PASS: eval('delete targetWindow[1]') should be 'false' and is.
+PASS: deletionThrowsException('targetWindow.existingProperty') should be 'true' and is.
+PASS: deletionThrowsException('targetWindow[1]') should be 'true' and is.
PASS: deletionThrowsException('targetWindow.location.existingProperty') should be 'true' and is.
PASS: deletionThrowsException('targetWindow.location[1]') should be 'true' and is.

Powered by Google App Engine
This is Rietveld 408576698