blob: 2a05cdff0fe57521192c38a87fc2f2a7bf9886b4 [file] [log] [blame]
CONSOLE ERROR: line 106: Refused to connect to 'http://127.0.0.1:8000/security/isolatedWorld/resources/empty.html' because it violates the following Content Security Policy directive: "connect-src 'none'".
CONSOLE ERROR: Refused to connect to 'http://127.0.0.1:8000/security/isolatedWorld/resources/empty.html' because it violates the following Content Security Policy directive: "connect-src 'none'".
CONSOLE ERROR: line 106: Refused to connect to 'http://127.0.0.1:8000/security/isolatedWorld/resources/empty.html' because it violates the following Content Security Policy directive: "connect-src 'none'".
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
PASS: The request was disallowed
XHR from isolated world with unchanged CSP
PASS: The request was disallowed
XHR from isolated world with looser CSP
PASS: The request succeeded
XHR from main world is not affected by the isolated world origin or CSP
PASS: The request was disallowed
PASS successfullyParsed is true
TEST COMPLETE