| Index: LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-image-404.html
|
| diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-image-404.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-image-404.html
|
| index 53bfbb6cfae0ecbb63931fe8ae6c16ff89b1d512..700c4306b972c406b34515c459f9f51b28cb6039 100644
|
| --- a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-image-404.html
|
| +++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-image-404.html
|
| @@ -16,6 +16,7 @@
|
| var scope = 'resources/scope/' + location.pathname,
|
| script = 'resources/instrumentation-service-worker.js';
|
|
|
| + testRunner.setPermission('notifications', 'granted', location.origin, location.origin);
|
| testRunner.grantWebNotificationPermission(location.origin, true);
|
| getActiveServiceWorkerWithMessagePort(test, script, scope).then(function(info) {
|
| // (1) Display a Web Notification through the Service Worker with
|
| @@ -46,4 +47,4 @@
|
| }, 'Displaying a notification with an image that 404s still resolves the promise.');
|
| </script>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|