| Index: chrome/test/data/notifications/platform_notification_service.js
|
| diff --git a/chrome/test/data/notifications/platform_notification_service.js b/chrome/test/data/notifications/platform_notification_service.js
|
| index 77816dd5a43dcaab5f50a003ecc0cd350baee6a6..601dc2941df30ded5d1b0aa4a382b072dcf44a24 100644
|
| --- a/chrome/test/data/notifications/platform_notification_service.js
|
| +++ b/chrome/test/data/notifications/platform_notification_service.js
|
| @@ -19,3 +19,9 @@ addEventListener('notificationclick', function (event) {
|
|
|
| messagePort.postMessage(event.notification.title);
|
| });
|
| +
|
| +// The notificationclose event will be invoked when a persistent notification
|
| +// has been closed by the user.
|
| +addEventListener('notificationclose', function (event) {
|
| + messagePort.postMessage('closing notification: ' + event.notification.title);
|
| +});
|
|
|