OLD | NEW |
1 Ensure that scripts imported into a Worker from cross-origin hosts trigger sanit
ized onerror messages. | 1 Ensure that scripts imported into a Worker from cross-origin hosts trigger sanit
ized onerror messages. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS worker = new Worker("/workers/resources/worker-importscripts-onerror-sameor
igin.js") threw exception SecurityError: Failed to construct 'Worker': Script at
'http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-sameorigi
n.js' cannot be accessed from origin 'http://foobar_127.0.0.1:8000'.. | 6 PASS worker = new Worker("/workers/resources/worker-importscripts-onerror-sameor
igin.js") threw exception SecurityError: Failed to construct 'Worker': Script at
'http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-sameorigi
n.js' cannot be accessed from origin 'http-so://foobar.127.0.0.1:8000'.. |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 | 10 |
OLD | NEW |