003.js (354B)
1 onconnect = function (e) { 2 setTimeout(function() { e.ports[0].postMessage(''); }, 250); 3 y(); // will "report the error" 4 // onerror is null so it'll be "not handled", and the error should be 5 // reported to the user, although we don't test that here 6 // make sure we don't fire an error event on the message port or the 7 // SharedWorker object 8 }