Attachment #8499517: silent_notifications.patch for bug #1073717

View | Details | Raw Unified | Return to bug 1073717
Collapse All | Expand All

(-)a/dom/webidl/Notification.webidl (+1 lines)
Line     Link Here 
 Lines 67-82   dictionary NotificationOptions { Link Here 
67
67
68
dictionary GetNotificationOptions {
68
dictionary GetNotificationOptions {
69
  DOMString tag;
69
  DOMString tag;
70
};
70
};
71
71
72
dictionary NotificationBehavior {
72
dictionary NotificationBehavior {
73
  boolean noscreen = false;
73
  boolean noscreen = false;
74
  boolean noclear = false;
74
  boolean noclear = false;
75
  boolean silent = false;
75
  DOMString soundFile = "";
76
  DOMString soundFile = "";
76
  sequence<unsigned long> vibrationPattern;
77
  sequence<unsigned long> vibrationPattern;
77
};
78
};
78
79
79
enum NotificationPermission {
80
enum NotificationPermission {
80
  "default",
81
  "default",
81
  "denied",
82
  "denied",
82
  "granted"
83
  "granted"

Return to bug 1073717