Index: LayoutTests/http/tests/notifications/serviceworkerregistration-get-filter.html |
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-filter.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-get-filter.html |
index 265ad4ebd99fb11ab9be21cfd73da02ee0403485..6b62986240d34294abeda9bdd09ebcc65dd9e07c 100644 |
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-filter.html |
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-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 registration = null; |
@@ -45,4 +46,4 @@ |
}, 'ServiceWorkerRegistration.getNotifications() returns the opened notifications with the same filter.'); |
</script> |
</body> |
-</html> |
+</html> |