Index: LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html |
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html |
index 8bf8d415c2c34db8338e914f32cb350550de9007..e5f5b3f6614bf492e6056e666fab3bb83265791a 100644 |
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html |
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-service-worker-no-permission.html |
@@ -16,8 +16,6 @@ |
var scope = 'resources/scope/serviceworkerregistration-service-worker-click', |
script = 'resources/instrumentation-service-worker.js'; |
- testRunner.setPermission('notifications', 'denied', location.origin, location.origin); |
- testRunner.grantWebNotificationPermission(location.origin, false); |
getActiveServiceWorkerWithMessagePort(test, script, scope).then(function(workerInfo) { |
// (1) Tell the Service Worker to display a Web Notification. |
workerInfo.port.postMessage({ |