blob: 7c3a735aa87363e96a7c9db10d4c52d1159c2b80 [file] [log] [blame]
CONSOLE ERROR: Failed to load http://127.0.0.1:8000/security/resources/cors-script.php?cors=false&with-preflight: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http-so://foobar.127.0.0.1:8000' is therefore not allowed access.
CONSOLE ERROR: Failed to load http://127.0.0.1:8000/security/resources/cors-script.php?cors=false&without-preflight: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http-so://foobar.127.0.0.1:8000' is therefore not allowed access.
This is a testharness.js-based test.
PASS Custom headers causes preflight failure
PASS Lack of Access-Control-Allow-Suborigin on response causes failure
Harness: the test ran to completion.