Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/install-event-type.js

Issue 1067513002: Removing ServiceWorker's InstallEvent Interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698