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

Unified Diff: LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors-expected.txt

Issue 19596004: Allow sites to enable 'window.onerror' handlers for cross-domain scripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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/script-onerror-no-crossorigin-cors-expected.txt
diff --git a/LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors-expected.txt b/LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82e9d66a4da21b92acaa0071e54afcd54e2a05d0
--- /dev/null
+++ b/LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors-expected.txt
@@ -0,0 +1,15 @@
+CONSOLE MESSAGE: line 1: Uncaught SomeError
+The test passes if 'window.onerror' gets sanitized information about an exception thrown in a script loaded without a 'crossorigin' attribute, and delivered with valid CORS headers.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS msg is "Script error."
+PASS url is ""
+PASS line is 0
+PASS column is 0
+PASS window.errorObject is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698