blob: c6f81de613e5c02b9572afc7bab939eac3f7e270 [file] [log] [blame]
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fwww2.localhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=ftp%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3Alocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=localhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3F due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2F due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%20%2F due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%23 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2523 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%3A80 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%00 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=HTTP%3A%2F%2FLOCALHOST%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=HTTP%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=- due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=** due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%00* due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%00 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%27*%27 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%22*%22 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%20* due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*http%3A%2F%2F* due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*http%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%20http%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%00http%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=null%20http%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=null due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin= due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2F due to access control checks.
CONSOLE MESSAGE: line 1: Origin http://localhost:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Fxmlhttprequest%2Fresources%2Forigin-exact-matching-iframe.html due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C%20* due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C* due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%2C%20http%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=*%2Chttp%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Chttp%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2Chttp%3A%2F%2Fexample.net due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Fexample.net%2Chttp%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%2C due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=%2Chttp%3A%2F%2Flocalhost%3A8000 due to access control checks.
CONSOLE MESSAGE: line 1: Access-Control-Allow-Origin cannot contain more than one origin.
CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists.php?origin=http%3A%2F%2Flocalhost%3A8000%2C due to access control checks.
--------
Frame: '<!--frame1-->'
--------
Check that exact matching is used when comparing a request's originating url and the value provided by Access-Control-Allow-Origin.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Should allow origin: '*'
PASS xhr.send(null) is undefined.
Should allow origin: ' * '
PASS xhr.send(null) is undefined.
Should allow origin: ' *'
PASS xhr.send(null) is undefined.
Should allow origin: 'http://localhost:8000'
PASS xhr.send(null) is undefined.
Should allow origin: ' http://localhost:8000'
PASS xhr.send(null) is undefined.
Should allow origin: ' http://localhost:8000 '
PASS xhr.send(null) is undefined.
Should allow origin: ' http://localhost:8000'
PASS xhr.send(null) is undefined.
Should disallow origin: 'http://www2.localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '//localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'ftp://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http:://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http:/localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http:localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000?'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000/'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000 /'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000#'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000%23'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000:80'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'HTTP://LOCALHOST:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'HTTP://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '-'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '**'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: ''*''
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '"*"'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '* *'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*http://*'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '* http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'null http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://example.net'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'null'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: ''
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000/xmlhttprequest/resources/origin-exact-matching-iframe.html'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000, *'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000,*'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*, http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: '*,http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000,http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000,http://example.net'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://example.net,http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: ','
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: ',http://localhost:8000'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
Should disallow origin: 'http://localhost:8000,'
PASS xhr.send(null) threw exception NetworkError: A network error occurred..
PASS successfullyParsed is true
TEST COMPLETE