Index: LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt b/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c4bc7c2f0489c8c330533d0af85e736cc9531802 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
@@ -0,0 +1,15 @@ |
+CONSOLE MESSAGE: line 1: Uncaught SomeError |
+The test passes if 'window.onerror' gets unsanitized information about an exception thrown in a script loaded with a 'crossorigin' attribute, and delivered with valid CORS headers. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS /SomeError/.test(msg) is true |
+PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true&cors=true" |
+PASS line is 1 |
+PASS column is 0 |
+PASS window.errorObject is not null |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |