Index: LayoutTests/http/tests/security/script-crossorigin-fails-cross-origin-2-expected.txt |
diff --git a/LayoutTests/http/tests/security/script-crossorigin-fails-cross-origin-2-expected.txt b/LayoutTests/http/tests/security/script-crossorigin-fails-cross-origin-2-expected.txt |
index def27bd50493bb9fa3732dd907d943dd56da3846..eba315ca7637f5a4dd4ceb3981f3d4630c9229a4 100644 |
--- a/LayoutTests/http/tests/security/script-crossorigin-fails-cross-origin-2-expected.txt |
+++ b/LayoutTests/http/tests/security/script-crossorigin-fails-cross-origin-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. |
In an XHTML document, test that a script element with a crossorigin attribute does not load a cross-origin script when the resource sharing check fails on the response. |
PASS |