1 This tests that unhandled exceptions in postMessage() are delivered to '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 TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': The 2nd argument is neither an array, nor does it have indexed properties."
9 PASS stripURL(errorEvent.filename) is "[blob: URL]"
10 PASS errorEvent.lineno is 3
11 PASS errorEvent.colno is 9
12 PASS errorEvent.error is null
13 PASS successfullyParsed is true