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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-assign-location-pathname-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/xss-DENIED-assign-location-pathname-expected.txt
diff --git a/LayoutTests/http/tests/security/xss-DENIED-assign-location-pathname-expected.txt b/LayoutTests/http/tests/security/xss-DENIED-assign-location-pathname-expected.txt
index 6ffb4abd433c08d35e31fb5fed9c17a0290c9a24..5f9a7f2a35e529521cebfd6e61a6ed9a90b0a89c 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-assign-location-pathname-expected.txt
+++ b/LayoutTests/http/tests/security/xss-DENIED-assign-location-pathname-expected.txt
@@ -1,3 +1,4 @@
CONSOLE MESSAGE: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 4: Uncaught SecurityError: An attempt was made to break through the security policy of the user agent.
PASS: cross-site assignment of location.pathname not allowed

Powered by Google App Engine
This is Rietveld 408576698