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 63b4147638532b2e8df9f473fee3bc0872aa12af..0a30970974c59b5dc94241123d9366d78031e675 100644 |
--- a/LayoutTests/http/tests/notifications/request-permission-granted.html |
+++ b/LayoutTests/http/tests/notifications/request-permission-granted.html |
@@ -11,12 +11,8 @@ |
// permission has been granted, causing creation of notifications to |
// succeed. When running this test manually, accept permission |
// for displaying notifications prior to running the test. |
- if (window.testRunner) |
- 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'); |