OLD | NEW |
---|---|
(Empty) | |
1 importScripts('worker-testharness.js'); | |
2 importScripts('/resources/testharness-helpers.js'); | |
falken
2015/04/08 05:44:46
I think you don't need this file, so please remove
Paritosh Kumar
2015/04/08 06:44:06
Agree. Thanks.
| |
3 | |
4 self.oninstall = function(event) { | |
falken
2015/04/08 05:44:46
I think you can do assert_true(event instanceof 'E
Paritosh Kumar
2015/04/08 06:44:06
Ohhk, Thanks. I forgot to use instanceof.
| |
5 assert_equals(event.type, 'install'); | |
6 assert_equals(event.cancelable, false); | |
7 assert_equals(event.bubbles, false); | |
8 }; | |
OLD | NEW |