| OLD | NEW |
| 1 CONSOLE MESSAGE: line 10: Uncaught ReferenceError: foo is not defined | 1 CONSOLE MESSAGE: line 10: Uncaught ReferenceError: foo is not defined |
| 2 Test Worker script error handling functionality. Should print a series of PASS m
essages, followed with DONE. | 2 Test Worker script error handling functionality. Should print a series of PASS m
essages, followed with DONE. |
| 3 | 3 |
| 4 PASS: onerror invoked for a script that has invalid syntax. | 4 PASS: onerror invoked for a script that has invalid syntax. |
| 5 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 1. | 5 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 1. |
| 6 PASS: event listener invoked for a script that has script error 'Uncaught Refere
nceError: foo is not defined' at line 1. | 6 PASS: event listener invoked for a script that has script error 'Uncaught Refere
nceError: foo is not defined' at line 1. |
| 7 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 7. | 7 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 7. |
| 8 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: bar is not defined' at line 3. | 8 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: bar is not defined' at line 3. |
| 9 message from worker: "PASS: onerror in worker context invoked for a script that
has script error 'Uncaught ReferenceError: foo is not defined' at line 10 in wor
ker-script-error-bubbled.js". | 9 message from worker: "PASS: onerror in worker context invoked for a script that
has script error 'Uncaught ReferenceError: foo is not defined' at line 10 in wor
ker-script-error-bubbled.js". |
| 10 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 10. | 10 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 10. |
| 11 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 10. | 11 PASS: onerror invoked for a script that has script error 'Uncaught ReferenceErro
r: foo is not defined' at line 10. |
| 12 PASS: message received from WorkerGlobalScope.onerror: onerror invoked for a scr
ipt that has script error 'Uncaught ReferenceError: foo is not defined' at line
7. | 12 PASS: message received from WorkerGlobalScope.onerror: onerror invoked for a scr
ipt that has script error 'Uncaught ReferenceError: foo is not defined' at line
7:10. |
| 13 PASS: onerror invoked for an exception in setTimeout callback. | 13 PASS: onerror invoked for an exception in setTimeout callback. |
| 14 DONE | 14 DONE |
| 15 | 15 |
| OLD | NEW |