Index: chrome/test/data/notifications/notification_tester.html |
diff --git a/chrome/test/data/notifications/notification_tester.html b/chrome/test/data/notifications/notification_tester.html |
index 20de190962ee4f1e2b6d12586a606e3223c07481..2cfc5f6a39eba7cd5756d9306049646786a48f85 100644 |
--- a/chrome/test/data/notifications/notification_tester.html |
+++ b/chrome/test/data/notifications/notification_tester.html |
@@ -14,12 +14,13 @@ var g_permissionGranted = false; |
// Returns an id for the notification, which can be used to cancel it with |
// |cancelNotification|. If two notifications are created with the same |
// tag, the second one should replace the first. |
-function createNotification(iconUrl, title, text, tag) { |
+function createNotification(iconUrl, title, text, tag, onclick) { |
var notification = new Notification(title, { |
icon: iconUrl, |
body: text, |
tag: tag |
}); |
+ notification.onclick = onclick; |
createNotificationHelper(notification, true); |
} |