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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-sandboxed-iframe-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-sandboxed-iframe-expected.txt
diff --git a/LayoutTests/http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt b/LayoutTests/http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt
index c3f128098a67dbb2b32fe1eb2c7de9018055d16e..3537333ec5d96c47cab3f010dead844b889b16fb 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt
+++ b/LayoutTests/http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt
@@ -1,5 +1,4 @@
-CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "http://127.0.0.1:8000". The frame requesting access is sandboxed and lacks the "allow-same-origin" flag.
-CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "http://127.0.0.1:8000". The frame requesting access is sandboxed and lacks the "allow-same-origin" flag.
+CONSOLE MESSAGE: line 4: Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "http://127.0.0.1:8000". The frame requesting access is sandboxed and lacks the "allow-same-origin" flag.
This test verifies that sandboxed iframe prevents cross-domain script access. It will print "PASS" on success.

Powered by Google App Engine
This is Rietveld 408576698