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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/install-event-type-worker.js

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 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
1 importScripts('worker-testharness.js'); 1 importScripts('worker-testharness.js');
2 2
3 self.oninstall = function(event) { 3 self.oninstall = function(event) {
4 assert_true(event instanceof ExtendableEvent); 4 assert_true(event instanceof ExtendableEvent);
5 assert_true(event instanceof InstallEvent);
6 assert_equals(event.type, 'install'); 5 assert_equals(event.type, 'install');
7 assert_false(event.cancelable); 6 assert_false(event.cancelable);
8 assert_false(event.bubbles); 7 assert_false(event.bubbles);
9 }; 8 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698