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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-window-index-assign-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/xss-DENIED-window-index-assign-expected.txt
diff --git a/LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt b/LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt
index a8e8fbf68051dde63708cd721e28aa9def1cf859..5c39f221b1c53c133af554ab7c0118d799dae8cc 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt
+++ b/LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt
@@ -1,8 +1,4 @@
-CONSOLE MESSAGE: Blocked a frame with origin "null" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access has a protocol of "data", the frame being accessed has a protocol of "http". Protocols must match.
-
-CONSOLE MESSAGE: line 1: Uncaught TypeError: Cannot read property 'a' of undefined
-CONSOLE MESSAGE: Blocked a frame with origin "null" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access has a protocol of "data", the frame being accessed has a protocol of "http". Protocols must match.
-
-CONSOLE MESSAGE: line 1: Uncaught TypeError: Cannot call method 'f' of undefined
+ALERT: PASS: Access to parent[0].a threw exception.
+ALERT: PASS: Access to parent[0].f() threw exception.
This test passes if the access is forbidden.

Powered by Google App Engine
This is Rietveld 408576698