Index: chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js |
diff --git a/ash/resources/vector_icons/system_menu_arrow_right.icon b/chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js |
similarity index 59% |
copy from ash/resources/vector_icons/system_menu_arrow_right.icon |
copy to chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js |
index 2dc5eacc3a79e1e4880ceaecf0c1d59e37779b57..cc10669aad36fa16e04da6256eeb2c442c6a8fc6 100644 |
--- a/ash/resources/vector_icons/system_menu_arrow_right.icon |
+++ b/chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js |
@@ -2,9 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-CANVAS_DIMENSIONS, 40, |
-MOVE_TO, 16, 28, |
-R_LINE_TO, 8, -8, |
-R_LINE_TO, -8, -8, |
-CLOSE, |
-END |
+self.addEventListener('install', () => skipWaiting()); |
+self.addEventListener('activate', () => clients.claim()); |