Index: LayoutTests/http/tests/security/script-onerror-crossorigin-no-cors-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-onerror-crossorigin-no-cors-expected.txt b/LayoutTests/http/tests/security/script-onerror-crossorigin-no-cors-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f9f75dc241fdab2d8ad4c5998f86a0be26b71b52 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/script-onerror-crossorigin-no-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 with a 'crossorigin' attribute, and delivered without 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 |
+ |