blob: 928d735861276f9f447dcd6ac28a1734bff4813d [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. Status code: 200
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. Status code: 200
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. Status code: 200
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 allowlisted for XHR target
XHR completed with status 200
XHR from main world is not affected by the isolated world origin or allowlist
XHR completed with status 0
PASS successfullyParsed is true
TEST COMPLETE