Index: LayoutTests/http/tests/notifications/update-shared-worker.html |
diff --git a/LayoutTests/http/tests/notifications/update-shared-worker.html b/LayoutTests/http/tests/notifications/update-shared-worker.html |
index 7516d4dee50b7f4f9828e540b58c1fa90412ff9c..e6c8f5c188915120991631dd306a767e7a592a84 100644 |
--- a/LayoutTests/http/tests/notifications/update-shared-worker.html |
+++ b/LayoutTests/http/tests/notifications/update-shared-worker.html |
@@ -12,10 +12,8 @@ |
// "tag" property in the constructor's options. When the test is being ran |
// manually, grant Notification permission first and verify that only a |
// single notification will be shown at the end of the test. |
- if (window.testRunner) { |
+ if (window.testRunner) |
testRunner.setPermission('notifications', 'granted', location.origin, location.origin); |
- testRunner.grantWebNotificationPermission(location.origin, true); |
- } |
sharedWorkerTest("resources/update-event-test.js"); |
</script> |