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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js

Issue 2865313003: Upstream service worker tests to WPT (Closed)
Patch Set: Re-introduce resource script Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js
deleted file mode 100644
index 6f936a0063e159667202ded493ac6532624a48d5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js
+++ /dev/null
@@ -1,9 +0,0 @@
-importScripts('worker-testharness.js');
-
-self.oninstall = function(event) {
- assert_true(event instanceof ExtendableEvent);
- assert_true(event instanceof InstallEvent);
- assert_equals(event.type, 'install');
- assert_false(event.cancelable);
- assert_false(event.bubbles);
-};

Powered by Google App Engine
This is Rietveld 408576698