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..c1129513af4c72626a4f1b1fc909a6cd0b08393f |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors-expected.txt |
@@ -0,0 +1,13 @@ |
+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.match(/SomeError/) is null |
+PASS url is "" |
+PASS line is 0 |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |