blob: 67fc1c4ea02c298bd23c54c7239ea68b10548d14 [file] [log] [blame]
CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
Tests that isolated worlds can have XHRs run in a different origin.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
XHR from main world
XHR completed with status 0
XHR from isolated world with unchanged security origin
XHR completed with status 0
XHR from isolated world with same security origin as XHR target
XHR completed with status 200
XHR from isolated world with security origin that is whitelisted for XHR target
XHR completed with status 200
XHR from main world is not affected by the isolated world origin or whitelist
XHR completed with status 0
PASS successfullyParsed is true
TEST COMPLETE