| Index: LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reflection.html
|
| diff --git a/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reflection.html b/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reflection.html
|
| index 23d34c282dbd2d02682e2ff1b16096bb2234f97b..9ba95b24d9c03b04158cbc42478a57b994bf446e 100644
|
| --- a/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reflection.html
|
| +++ b/LayoutTests/http/tests/notifications/serviceworker-notificationclick-event-reflection.html
|
| @@ -35,6 +35,7 @@
|
| ]
|
| };
|
|
|
| + testRunner.setPermission('notifications', 'granted', location.origin, location.origin);
|
| testRunner.grantWebNotificationPermission(location.origin, true);
|
| getActiveServiceWorkerWithMessagePort(test, script, scope).then(function(workerInfo) {
|
| // (1) Tell the Service Worker to display a Web Notification.
|
| @@ -80,4 +81,4 @@
|
| }, 'Clicking on a notification displayed by a Service Worker the notificationclick event.');
|
| </script>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|