OLD | NEW |
1 This tests that unhandled exceptions in a worker's onerror handler trigger 'work
er.onerror'. | 1 This tests that unhandled exceptions in a worker's onerror handler don't trigger
'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 Page-level worker.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 7 | 10 PASS errorEvent.lineno is 7 |
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: bar 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 3 | 17 PASS errorEvent.lineno is 7 |
18 PASS errorEvent.colno is 13 | 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 |