| OLD | NEW |
| 1 This tests that exceptions trigger a worker's onerror in addition to the page-le
vel 'worker.onerror'. | 1 This tests that exceptions don't trigger a worker's onerror in addition to the p
age-level 'worker.onerror'. |
| 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 | 6 |
| 7 Worker-level onerror handler triggered: | 7 Page-level worker.onerror handler triggered: |
| 8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" | 8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" |
| 9 PASS stripURL(errorEvent.filename) is "[blob: URL]" | 9 PASS stripURL(errorEvent.filename) is "[blob: URL]" |
| 10 PASS errorEvent.lineno is 13 | 10 PASS errorEvent.lineno is 13 |
| 11 PASS errorEvent.colno is 9 | 11 PASS errorEvent.colno is 9 |
| 12 PASS errorEvent.error is null | 12 PASS errorEvent.error is null |
| 13 | 13 |
| 14 Page-level worker.onerror handler triggered: | 14 Page-level worker.onerror handler triggered: |
| 15 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" | 15 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" |
| 16 PASS stripURL(errorEvent.filename) is "[blob: URL]" | 16 PASS stripURL(errorEvent.filename) is "[blob: URL]" |
| 17 PASS errorEvent.lineno is 13 | 17 PASS errorEvent.lineno is 13 |
| 18 PASS errorEvent.colno is 9 | 18 PASS errorEvent.colno is 9 |
| 19 PASS errorEvent.error is null | 19 PASS errorEvent.error is null |
| 20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
| 21 | 21 |
| 22 TEST COMPLETE | 22 TEST COMPLETE |
| 23 | 23 |
| OLD | NEW |