Index: chrome/test/data/banners/service_worker.js |
diff --git a/chrome/test/data/banners/service_worker.js b/chrome/test/data/banners/service_worker.js |
index 1047484ea8ad0c9f6964dc0d605c651c160dbdb7..9752d6744ece8e8c5c7d2efae9d2de03a042d0e5 100644 |
--- a/chrome/test/data/banners/service_worker.js |
+++ b/chrome/test/data/banners/service_worker.js |
@@ -2,4 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-self.addEventListener('activate', function(event) {}); |
+// A no-op fetch handler. |
+self.addEventListener('fetch', e => {}); |