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

Unified Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-expected.txt

Issue 22829002: Throw an exception when denying access to 'Frame's 'location' setter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Uncaught. Created 7 years, 4 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/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-expected.txt
diff --git a/LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-expected.txt b/LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c0a5fce5f0a42e6910c8e89fa34508c6b7093bc
--- /dev/null
+++ b/LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-expected.txt
@@ -0,0 +1,13 @@
+CONSOLE MESSAGE: line 19: PASS: Exception was 'Uncaught SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
+CONSOLE MESSAGE: line 32: Uncaught SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+
+
+--------
+Frame: 'main'
+--------
+This test passes as long as the onerror handler logs PASS to the console, and the uncaught exception reported to the console has unsanitized detail.
arv (Not doing code reviews) 2013/08/14 13:43:03 According to this text this test is failing. It sh
Use mkwst_at_chromium.org plz. 2013/08/14 13:57:21 The first line of the expectation is the "PASS" lo
arv (Not doing code reviews) 2013/08/14 15:14:09 I can't believe I could not find that... I stared
+
+--------
+Frame: 'aFrame'
+--------
+Inner iframe.

Powered by Google App Engine
This is Rietveld 408576698