| OLD | NEW |
| 1 CONSOLE ERROR: line 14: Uncaught ReferenceError: foo is not defined |
| 1 Handling an error in the worker should suppress the page-level onerror handler. | 2 Handling an error in the worker should suppress the page-level onerror handler. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 7 PASS 'worker.onerror' called. |
| 6 | 8 |
| 7 Worker-level onerror handler triggered: | 9 Worker-level onerror handler triggered: |
| 8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" | 10 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" |
| 9 PASS stripURL(errorEvent.filename) is "[blob: URL]" | 11 PASS stripURL(errorEvent.filename) is "[blob: URL]" |
| 10 PASS errorEvent.lineno is 14 | 12 PASS errorEvent.lineno is 14 |
| 11 PASS errorEvent.colno is 9 | 13 PASS errorEvent.colno is 9 |
| 12 PASS errorEvent.error is null | 14 PASS errorEvent.error is null |
| 13 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 14 | 16 |
| 15 TEST COMPLETE | 17 TEST COMPLETE |
| 16 | 18 |
| OLD | NEW |