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 |
index 0904d2db9acee06cda52129b5571c380dba3e074..39b128458e1f1eba47a13c8fa1bb4981b2500866 100644 |
--- a/LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js |
+++ b/LayoutTests/http/tests/notifications/resources/click-forward-service-worker.js |
@@ -1,4 +1,4 @@ |
-// Sends a message to all clients when the notificationclick event gets received. |
+// Sends a message when the notificationclick event gets received. |
var messagePort = null; |
addEventListener('message', function(event) { |
@@ -7,6 +7,5 @@ addEventListener('message', function(event) { |
}); |
addEventListener('notificationclick', function(event) { |
- // FIXME: Include the notification's title in the confirmation reply. |
- messagePort.postMessage('The notification has been clicked on.'); |
+ messagePort.postMessage('Clicked on Notification: ' + event.notification.title); |
}); |