Index: LayoutTests/http/tests/notifications/request-permission-granted.html |
diff --git a/LayoutTests/http/tests/notifications/request-permission-granted.html b/LayoutTests/http/tests/notifications/request-permission-granted.html |
index aed6c2a3dd9449c00a5f5968a2f9c7b0deb83e9d..63b4147638532b2e8df9f473fee3bc0872aa12af 100644 |
--- a/LayoutTests/http/tests/notifications/request-permission-granted.html |
+++ b/LayoutTests/http/tests/notifications/request-permission-granted.html |
@@ -15,6 +15,7 @@ |
testRunner.clearWebNotificationPermissions(); |
async_test(function (test) { |
+ testRunner.setPermission('notifications', 'granted', location.origin, location.origin); |
testRunner.grantWebNotificationPermission(location.origin, true); |
Notification.requestPermission(function (status) { |
assert_equals(status, 'granted'); |
@@ -32,4 +33,4 @@ |
}, 'Notification creation succeeds when permission has been granted.'); |
</script> |
</body> |
-</html> |
+</html> |