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

Unified Diff: chrome/test/data/notifications/platform_notification_service.html

Issue 1054573002: Implement support for notification.vibrate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: 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 d0b412499bdb7a396b8cab7450a8e006563e1137..5d42c3ce6a8dafec5014e569f5b1ec0bd0fb0ed4 100644
--- a/chrome/test/data/notifications/platform_notification_service.html
+++ b/chrome/test/data/notifications/platform_notification_service.html
@@ -61,6 +61,14 @@
});
}
+ // Displays a persistent notification with vibrate field.
+ function DisplayPersistentNotificationVibrate() {
+ DisplayPersistentNotification('Title', {
+ body: 'Contents',
+ vibrate: [100, 200, 300]
+ });
+ }
+
// Displays a persistent notification with a data: URL as its image.
function DisplayPersistentNotificationDataUrlImage() {
fetch('icon.png').then(function(response) {

Powered by Google App Engine
This is Rietveld 408576698