blob: cb9a560908ff35e9f04d2f77b5fa97d77b9eb144 [file] [log] [blame]
CONSOLE ERROR: Access to fetch at 'http://localhost:8000/fetch/resources/doctype.html' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
This is a testharness.js-based test.
PASS fetch() with 200 should not output error messages
PASS fetch() with 404 should not output error messages
PASS net::ERR_TOO_MANY_REDIRECTS should not output error messages
PASS net::ERR_INVALID_CHUNKED_ENCODING should not output error messages
PASS A didFailAccessControlCheck() error should output an error message
PASS net::ERR_TOO_MANY_REDIRECTS (cross origin redirects) should not output error messages
Harness: the test ran to completion.