Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html

Issue 1100163002: Notifications: stop using notifications specific permission methods in LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@notifications_testrunner_setpermission
Patch Set: update Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html
index e629829be1bbbd0ae466ed1997a2c46b1cc0059d..c8e7742de65d8b8aba72487ed6ca733e331656bf 100644
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-get-from-service-worker.html
@@ -17,7 +17,6 @@
script = 'resources/instrumentation-service-worker.js';
testRunner.setPermission('notifications', 'granted', location.origin, location.origin);
- testRunner.grantWebNotificationPermission(location.origin, true);
var info = null;
getActiveServiceWorkerWithMessagePort(test, script, scope).then(function(workerInfo) {

Powered by Google App Engine
This is Rietveld 408576698