| OLD | NEW |
| 1 CONSOLE MESSAGE: line 7: Uncaught ReferenceError: foo is not defined | 1 CONSOLE ERROR: line 7: Uncaught ReferenceError: foo is not defined |
| 2 This tests that unhandled exceptions in a worker's onerror handler trigger 'work
er.onerror'. | 2 This tests that unhandled exceptions in a worker's onerror handler trigger 'work
er.onerror'. |
| 3 | 3 |
| 4 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
". |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 Page-level worker.onerror handler triggered: | 8 Page-level worker.onerror handler triggered: |
| 9 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" | 9 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" |
| 10 PASS stripURL(errorEvent.filename) is "[blob: URL]" | 10 PASS stripURL(errorEvent.filename) is "[blob: URL]" |
| 11 PASS errorEvent.lineno is 7 | 11 PASS errorEvent.lineno is 7 |
| 12 PASS errorEvent.colno is 8 | 12 PASS errorEvent.colno is 8 |
| 13 PASS errorEvent.error is null | 13 PASS errorEvent.error is null |
| 14 | 14 |
| 15 Page-level worker.onerror handler triggered: | 15 Page-level worker.onerror handler triggered: |
| 16 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined" | 16 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined" |
| 17 PASS stripURL(errorEvent.filename) is "[blob: URL]" | 17 PASS stripURL(errorEvent.filename) is "[blob: URL]" |
| 18 PASS errorEvent.lineno is 3 | 18 PASS errorEvent.lineno is 3 |
| 19 PASS errorEvent.colno is 12 | 19 PASS errorEvent.colno is 12 |
| 20 PASS errorEvent.error is null | 20 PASS errorEvent.error is null |
| 21 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
| 22 | 22 |
| 23 TEST COMPLETE | 23 TEST COMPLETE |
| 24 | 24 |
| OLD | NEW |