Index: LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-get-filter.html |
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-get-filter.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-get-filter.html |
index 0eed0b4aad9d3c2481094e06af786c4e05d39f7b..9274cdcde21766092625c10dc15bce226c9c5f7d 100644 |
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-get-filter.html |
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-get-filter.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); |
var info = null; |
@@ -65,4 +66,4 @@ |
}, 'ServiceWorkerRegistration.getNotifications() returns the opened notifications within a Service Worker with a filter.'); |
</script> |
</body> |
-</html> |
+</html> |