diff --git a/notifications.bs b/notifications.bs index d8d500c..d32a3a6 100644 --- a/notifications.bs +++ b/notifications.bs @@ -11,12 +11,6 @@ Translation: ko https://ko.htmlspecs.com/notifications/
-urlPrefix: https://w3c.github.io/vibration/
- urlPrefix: #dfn-; type: dfn
- text: perform vibration
- text: validate and normalize
- urlPrefix: #idl-def-; type: interface
- text: VibratePattern; url: vibratepattern
urlPrefix: https://tc39.github.io/ecma262/
urlPrefix: #sec-object.; type: dfn
text: freeze
@@ -29,7 +23,7 @@ urlPrefix: https://tc39.github.io/ecma262/
This specification depends on the Infra Standard. [[!INFRA]]
Some terms used in this specification are defined in the DOM, Fetch, High Resolution Time, HTML,
-IDL, Service Workers, URL, and Vibration API Standards.
+IDL, Service Workers, and URL Standards.
[[!DOM]]
[[!FETCH]]
[[!HR-TIME]]
@@ -37,7 +31,6 @@ IDL, Service Workers, URL, and Vibration API Standards.
[[!WEBIDL]]
[[!SERVICE-WORKERS]]
[[!URL]]
-[[!VIBRATION]]
Notifications
@@ -119,15 +112,10 @@ not enough space to display the notification itself. It maynotification, but then it should have less visual priority than the
image resource and icon resource.
-A notification has an associated
-vibration pattern (a list). It is
-initially « ».
-
Developers are encouraged to not convey information through an
image, icon,
-badge, or vibration pattern that
-is not otherwise accessible to the end user, especially since notification platforms that do not
-support these features might ignore them.
+or badge that is not otherwise accessible to the end
+user, especially since notification platforms that do not support these features might ignore them.
A notification has associated actions
(a list of zero or more notification actions). A
@@ -203,10 +191,6 @@ important information through, e.g., loss of color or clipped corners.
Let notification be a new notification.
-
If options["{{NotificationOptions/silent}}"] is true and
- options["{{NotificationOptions/vibrate}}"] exists, then throw a
- {{TypeError}}.
-
If options["{{NotificationOptions/renotify}}"] is true and
options["{{NotificationOptions/tag}}"] is the empty string, then throw a
{{TypeError}}.
@@ -250,10 +234,6 @@ important information through, e.g., loss of color or clipped corners.
notification's badge URL to the return value. (Otherwise
notification's badge URL is not set.)
-
If options["{{NotificationOptions/vibrate}}"] exists, then
- validate and normalize it and set notification's
- vibration pattern to the return value.
-
If options["{{NotificationOptions/timestamp}}"] exists, then set
notification's timestamp to the value. Otherwise, set
notification's timestamp to fallbackTimestamp.
@@ -537,8 +517,8 @@ interpreted as a language tag. Validity or well-formedness are not enforced. [[!
If shown is false or oldNotification is non-null, and - notification's renotify preference is true, then run the - alert steps for notification. + notification's renotify preference is true, then optionally + alert the end user in a user-agent-defined manner (e.g., by playing a sound).
If notification is a non-persistent notification, then queue a task
to fire an event named show on the {{Notification}} object representing
@@ -658,19 +638,6 @@ the end user, the close steps for it must be run.
-
The alert steps for alerting the end user about a given notification -notification are: - -
Perform vibration using notification's - vibration pattern, if any. -
@@ -697,7 +664,6 @@ interface Notification : EventTarget {
readonly attribute USVString image;
readonly attribute USVString icon;
readonly attribute USVString badge;
- [SameObject] readonly attribute FrozenArray<unsigned long> vibrate;
readonly attribute EpochTimeStamp timestamp;
readonly attribute boolean renotify;
readonly attribute boolean? silent;
@@ -717,7 +683,6 @@ dictionary NotificationOptions {
USVString image;
USVString icon;
USVString badge;
- VibratePattern vibrate;
EpochTimeStamp timestamp;
boolean renotify = false;
boolean? silent = null;
@@ -948,9 +913,6 @@ return the maximum number of actions supported.
serialized.
-The vibrate getter steps are to return
-this's notification's vibration pattern.
-
The timestamp getter steps are to return
this's notification's timestamp.