| Index: third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js
|
| index a46fa7b04847fdcd0f8aa4eeb328a225f5d2fec4..6a1991e0a9be2c4549bbee3fc016dbd1b42af670 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js
|
| @@ -102,3 +102,9 @@ addEventListener('notificationclick', function(event) {
|
| notification: notificationCopy,
|
| action: event.action });
|
| });
|
| +
|
| +addEventListener('notificationclose', function(event) {
|
| + var notificationCopy = cloneNotification(event.notification);
|
| + messagePort.postMessage({ command: 'close',
|
| + notification: notificationCopy });
|
| +});
|
|
|