Source code

Revision control

Copy as Markdown

Other Tools

importScripts('worker-testharness.js');
self.oninstall = function(event) {
assert_true(event instanceof ExtendableEvent, 'instance of ExtendableEvent');
assert_true(event instanceof InstallEvent, 'instance of InstallEvent');
assert_equals(event.type, 'install', '`type` property value');
assert_false(event.cancelable, '`cancelable` property value');
assert_false(event.bubbles, '`bubbles` property value');
};