1 This tests that invalid syntax triggers 'worker.onerror'.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 Page-level worker.onerror handler triggered:
8 PASS errorEvent.message is "Uncaught SyntaxError: Unexpected token }"
9 PASS stripURL(errorEvent.filename) is "[blob: URL]"
10 PASS errorEvent.lineno is 2
11 PASS errorEvent.colno is 9
12 PASS errorEvent.error is null
13 PASS successfullyParsed is true