Index: chrome/test/data/notifications/platform_notification_service.html |
diff --git a/chrome/test/data/notifications/platform_notification_service.html b/chrome/test/data/notifications/platform_notification_service.html |
index 3fc27dc0c659d24c5ebcb40b343728e16cc8634e..5121de2742202e60ceb7624eaa70fd7dd5d88e7a 100644 |
--- a/chrome/test/data/notifications/platform_notification_service.html |
+++ b/chrome/test/data/notifications/platform_notification_service.html |
@@ -15,8 +15,8 @@ |
// Requests permission to display Web Notifications. Will return the |
// permission level to the DOM Automation Controller. |
function RequestPermission() { |
- Notification.requestPermission(function (level) { |
- domAutomationController.send(level); |
+ Notification.requestPermission(function () { |
+ domAutomationController.send(Notification.permission); |
Peter Beverloo
2015/01/27 13:37:04
Are you doing this because |level| will say "grant
dewittj
2015/01/27 23:10:12
Yes, that's correct. I've reimplemented this by r
|
}); |
} |
@@ -104,4 +104,4 @@ |
} |
</script> |
</body> |
-</html> |
+</html> |