| OLD | NEW |
| 1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola
tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. | 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate
dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i
s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore
not allowed access. |
| 2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola
tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. | 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate
dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i
s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore
not allowed access. |
| 3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola
tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header
is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo
re not allowed access. | 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate
dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i
s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore
not allowed access. |
| 4 Tests that isolated worlds can have XHRs run in a different origin. | 4 Tests that isolated worlds can have XHRs run in a different origin. |
| 5 | 5 |
| 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 7 | 7 |
| 8 | 8 |
| 9 XHR from main world | 9 XHR from main world |
| 10 XHR completed with status 0 | 10 XHR completed with status 0 |
| 11 XHR from isolated world with unchanged security origin | 11 XHR from isolated world with unchanged security origin |
| 12 XHR completed with status 0 | 12 XHR completed with status 0 |
| 13 XHR from isolated world with same security origin as XHR target | 13 XHR from isolated world with same security origin as XHR target |
| 14 XHR completed with status 200 | 14 XHR completed with status 200 |
| 15 XHR from isolated world with security origin that is whitelisted for XHR target | 15 XHR from isolated world with security origin that is whitelisted for XHR target |
| 16 XHR completed with status 200 | 16 XHR completed with status 200 |
| 17 XHR from main world is not affected by the isolated world origin or whitelist | 17 XHR from main world is not affected by the isolated world origin or whitelist |
| 18 XHR completed with status 0 | 18 XHR completed with status 0 |
| 19 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
| 20 | 20 |
| 21 TEST COMPLETE | 21 TEST COMPLETE |
| 22 | 22 |
| OLD | NEW |