Index: LayoutTests/http/tests/xmlhttprequest/onerror-event-expected.txt |
diff --git a/LayoutTests/http/tests/xmlhttprequest/onerror-event-expected.txt b/LayoutTests/http/tests/xmlhttprequest/onerror-event-expected.txt |
index 1a34ef3fc97d9b87c84df0e9fdb243eddcd5ccc2..0a8e21124df6126547b52f611811bbc00b196919 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/onerror-event-expected.txt |
+++ b/LayoutTests/http/tests/xmlhttprequest/onerror-event-expected.txt |
@@ -1,4 +1,4 @@ |
-CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-denied.cgi. 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: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-denied.cgi. 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 that the error event is fired for XMLHttpRequests |
PASS: error event fired. |