Tests that isolated worlds can have XHRs that the page's CSP wouldn't allow.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


XHR from main world
FAIL: XHR.open should have thrown an exception.
XHR from isolated world with unchanged CSP
FAIL: XHR.open should have thrown an exception.
XHR from isolated world with same security origin as XHR target.
FAIL: XHR.open should have thrown an exception.
XHR from isolated world with same security origin as XHR target, and looser CSP.
PASS: XHR.open did not throw an exception.
XHR from main world is not affected by the isolated world origin or CSP
FAIL: XHR.open should have thrown an exception.
PASS successfullyParsed is true

TEST COMPLETE

