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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt

Issue 19923006: Test assignment to indexed window properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
new file mode 100644
index 0000000000000000000000000000000000000000..a8e8fbf68051dde63708cd721e28aa9def1cf859
--- /dev/null
+++ b/LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt
@@ -0,0 +1,8 @@
+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
+
+This test passes if the access is forbidden.

Powered by Google App Engine
This is Rietveld 408576698