Index: LayoutTests/http/tests/notifications/serviceworkerregistration-document-data-invalid.html |
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-data-invalid.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-data-invalid.html |
index 6f2f52f40927a851e64966042d1798a96f02f8ce..2ac069ee9b3c16949ba2c145d81dbdd93dcc99f1 100644 |
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-data-invalid.html |
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-data-invalid.html |
@@ -17,6 +17,7 @@ |
var scope = 'resources/scope/' + location.pathname, |
script = 'resources/instrumentation-service-worker.js'; |
+ testRunner.setPermission('notifications', 'granted', location.origin, location.origin); |
testRunner.grantWebNotificationPermission(location.origin, true); |
var workerInfo = null; |
@@ -38,4 +39,4 @@ |
}, 'ServiceWorkerRegistration.showNotification() fails on too much data.'); |
</script> |
</body> |
-</html> |
+</html> |