Index: LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-crossorigin-onerror-information-expected.txt b/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
similarity index 50% |
rename from LayoutTests/http/tests/security/script-crossorigin-onerror-information-expected.txt |
rename to LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
index 6df1e1ba17403d7b3fb3d97f874c3761b931312e..a32daa82ae27550cf4fb10b561455e016b1dad86 100644 |
--- a/LayoutTests/http/tests/security/script-crossorigin-onerror-information-expected.txt |
+++ b/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
@@ -1,11 +1,11 @@ |
-CONSOLE MESSAGE: line 1: SomeError |
-The test passes if window.onerror gets unsanitized information about the script error. |
+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 msg.match(/SomeError/)[0] is "SomeError" |
-PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true" |
+PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true&cors=true" |
PASS line is 1 |
PASS successfullyParsed is true |