@@ -83,8 +83,9 @@ initially false. When true, indicates that the end user should be alerted after
83
83
an existing notification.
84
84
85
85
<p> A <a>notification</a> has an associated
86
- <dfn for=notification id=silent-preference-flag>silent preference</dfn> boolean, which is initially
87
- false. When true, indicates that no sounds or vibrations should be made.
86
+ <dfn for=notification id=silent-preference-flag>silent preference</dfn> boolean or null, which is
87
+ initially null. When true, indicates that no sounds or vibrations should be made. When null,
88
+ indicates that producing sounds or vibrations should be left to platform conventions.
88
89
89
90
<p> A <a>notification</a> has an associated
90
91
<dfn for=notification id=require-interaction-preference-flag>require interaction preference</dfn>
@@ -616,7 +617,7 @@ interface Notification : EventTarget {
616
617
[SameObject] readonly attribute FrozenArray<unsigned long> vibrate;
617
618
readonly attribute EpochTimeStamp timestamp;
618
619
readonly attribute boolean renotify;
619
- readonly attribute boolean silent;
620
+ readonly attribute boolean? silent;
620
621
readonly attribute boolean requireInteraction;
621
622
[SameObject] readonly attribute any data;
622
623
[SameObject] readonly attribute FrozenArray<NotificationAction> actions;
@@ -635,7 +636,7 @@ dictionary NotificationOptions {
635
636
VibratePattern vibrate;
636
637
EpochTimeStamp timestamp;
637
638
boolean renotify = false;
638
- boolean silent = false ;
639
+ boolean? silent = null ;
639
640
boolean requireInteraction = false;
640
641
any data = null;
641
642
sequence<NotificationAction> actions = [];
0 commit comments