// Worker that errors on receiving an activate event. onactivate = function (e) { undefined.doSomething; };