Skip to content

Commit 8b4002d

Browse files
authored
Editorial: align with HR-TIME
Remove use of "epoch-relative timestamp" in favor of newer terminology.
1 parent 14602f0 commit 8b4002d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

notifications.bs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ urlPrefix: https://w3c.github.io/vibration/
1818
text: VibratePattern; url: vibratepattern
1919
urlPrefix: https://tc39.github.io/ecma262/#sec-object.; type: dfn
2020
text: freeze
21-
urlPrefix: https://w3c.github.io/hr-time/#
22-
type: typedef; text: EpochTimeStamp; urlPrefix: dom-
23-
type: dfn; text: epoch-relative timestamp; urlPrefix: dfn-
2421
</pre>
2522

2623

@@ -228,7 +225,9 @@ string <var>title</var>, {{NotificationOptions}} <a for=/>dictionary</a> <var>op
228225

229226
<li><p>If <var>options</var>["{{NotificationOptions/timestamp}}"] <a for=map>exists</a>, then set
230227
<var>notification</var>'s <a for=notification>timestamp</a> to the value. Otherwise, set
231-
<var>notification</var>'s <a for=notification>timestamp</a> to the <a>epoch-relative timestamp</a>.
228+
<var>notification</var>'s <a for=notification>timestamp</a> to the number of milliseconds from the
229+
<a>Unix epoch</a> to <var>settings</var>'s
230+
<a for="environment settings object">current wall time</a>, rounded to the nearest integer.
232231

233232
<li><p>Set <var>notification</var>'s <a for=notification>renotify preference</a> to
234233
<var>options</var>["{{NotificationOptions/renotify}}"].

0 commit comments

Comments
 (0)