Index: LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js |
diff --git a/LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js b/LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js |
deleted file mode 100644 |
index 39b128458e1f1eba47a13c8fa1bb4981b2500866..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js |
+++ /dev/null |
@@ -1,11 +0,0 @@ |
-// Sends a message when the notificationclick event gets received. |
-var messagePort = null; |
- |
-addEventListener('message', function(event) { |
- messagePort = event.data; |
- messagePort.postMessage('ready'); |
-}); |
- |
-addEventListener('notificationclick', function(event) { |
- messagePort.postMessage('Clicked on Notification: ' + event.notification.title); |
-}); |