Index: LayoutTests/http/tests/notifications/serviceworkerregistration-get-close.html |
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-close.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-get-close.html |
index 6f70d9982ed17fb4153505bd07b85306a9097ed7..f906567eac278aa69691e95dc64b1a4cae2a5892 100644 |
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-close.html |
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-get-close.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; |
@@ -42,4 +43,4 @@ |
}, 'ServiceWorkerRegistration.getNotifications() reflects closing notifications.'); |
</script> |
</body> |
-</html> |
+</html> |