Index: LayoutTests/http/tests/security/script-onerror-crossorigin-same-origin-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt b/LayoutTests/http/tests/security/script-onerror-crossorigin-same-origin-expected.txt |
similarity index 50% |
copy from LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
copy to LayoutTests/http/tests/security/script-onerror-crossorigin-same-origin-expected.txt |
index 0049875133f3b93f449a595b8b68aadde45f5a40..167d454f4639531bf893cdcec171efe1aa6bc2e3 100644 |
--- a/LayoutTests/http/tests/security/script-onerror-crossorigin-cors-expected.txt |
+++ b/LayoutTests/http/tests/security/script-onerror-crossorigin-same-origin-expected.txt |
@@ -1,11 +1,11 @@ |
CONSOLE ERROR: 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. |
+The test passes if 'window.onerror' is invoked with unsanitized information on a script loaded with a 'crossorigin' attribute, but loads from same-origin and without 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 url is "http://127.0.0.1:8000/security/resources/cors-script.php?fail=true&cors=false" |
PASS line is 1 |
PASS column is 1 |
PASS window.errorObject is not null |