Index: LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt b/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt |
index 09e9bb666bcb217f6726942893d338709cde1f94..d99e8ef692de1e78b46523174afddc423609c3f8 100644 |
--- a/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt |
+++ b/LayoutTests/http/tests/security/script-crossorigin-loads-correctly-credentials-2-expected.txt |
@@ -1,4 +1,4 @@ |
-CONSOLE ERROR: Script from origin 'http://localhost:8000' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. |
+CONSOLE ERROR: Script from origin 'http://localhost:8000' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Alternatively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode. |
This test passes if the inserted script fails to load due to CORS. |
PASS (expected error reported) |