1 | | CONSOLE ERROR: line 95: Refused to connect to 'http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt' because it violates the following Content Security Policy directive: "connect-src 'none'".
|
---|
2 | |
|
---|
3 | | CONSOLE ERROR: line 13: Refused to connect to 'http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt' because it violates the following Content Security Policy directive: "connect-src 'none'".
|
---|
4 | |
|
---|
5 | | CONSOLE ERROR: line 13: Refused to connect to 'http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt' because it violates the following Content Security Policy directive: "connect-src 'none'".
|
---|
6 | |
|
---|
7 | | CONSOLE ERROR: line 95: Refused to connect to 'http://localhost:8000/security/isolatedWorld/resources/cross-origin-xhr.txt' because it violates the following Content Security Policy directive: "connect-src 'none'".
|
---|
8 | |
|
---|
9 | 1 | Tests that isolated worlds can have XHRs that the page's CSP wouldn't allow.
|
---|
10 | 2 |
|
---|
11 | 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
---|
12 | 4 |
|
---|
13 | 5 |
|
---|
14 | 6 | XHR from main world
|
---|
15 | | PASS: XHR.open threw an exception.
|
---|
| 7 | FAIL: XHR.open should have thrown an exception.
|
---|
16 | 8 | XHR from isolated world with unchanged CSP
|
---|
17 | | PASS: XHR.open threw an exception.
|
---|
| 9 | FAIL: XHR.open should have thrown an exception.
|
---|
18 | 10 | XHR from isolated world with same security origin as XHR target.
|
---|
19 | | PASS: XHR.open threw an exception.
|
---|
| 11 | FAIL: XHR.open should have thrown an exception.
|
---|
20 | 12 | XHR from isolated world with same security origin as XHR target, and looser CSP.
|
---|
21 | 13 | PASS: XHR.open did not throw an exception.
|
---|
22 | 14 | XHR from main world is not affected by the isolated world origin or CSP
|
---|
23 | | PASS: XHR.open threw an exception.
|
---|
| 15 | FAIL: XHR.open should have thrown an exception.
|
---|
24 | 16 | PASS successfullyParsed is true
|
---|
25 | 17 |
|
---|
26 | 18 | TEST COMPLETE
|
---|
27 | 19 |
|
---|