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

Unified Diff: LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-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/sandboxed-iframe-blocks-access-from-parent-expected.txt
diff --git a/LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt b/LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt
index be7e8762ed1dd9f6af4622d0abca134397f463e3..4eac21c2383e8c29bd9670e9309df29e87a39b85 100644
--- a/LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt
+++ b/LayoutTests/http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt
@@ -1,5 +1,6 @@
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 being accessed is sandboxed and lacks the "allow-same-origin" flag.
-Sandboxing a frame puts it into a unique origin by default, which the containing document shouldn't have script access to. This test passes if a console warning is generated, noting the access violation.
+ALERT: PASS: Cross-origin access to the Location object threw an exception.
+Sandboxing a frame puts it into a unique origin by default, which the containing document shouldn't have script access to. This test passes if an exception is thrown upon the access violation.

Powered by Google App Engine
This is Rietveld 408576698