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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multi-globals/test-sw.js

Issue 2704543002: Import wpt@3bd204d7e86fd81e98e63f4ce59b95d98bad1c54 (Closed)
Patch Set: Created 3 years, 10 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/external/wpt/service-workers/service-worker/multi-globals/test-sw.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multi-globals/test-sw.js b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multi-globals/test-sw.js
index f5a6cc5f9dc880253e27e8a5d6878fa82bfa29f8..ce3c940eced8e116b8d7ca33602baad2eb440548 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multi-globals/test-sw.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multi-globals/test-sw.js
@@ -1,15 +1 @@
-'use strict';
-
-this.addEventListener('install', event => {
- this.skipWaiting();
-});
-
-this.addEventListener('activate', event => {
- clients.claim();
-});
-
-this.addEventListener('fetch', event => {
- if (event.request.url.includes('test.txt')) {
- event.respondWith(new Response('entry'));
- }
-});
+// Service worker for /

Powered by Google App Engine
This is Rietveld 408576698