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