57
57
</ script >
58
58
</ head >
59
59
< body data-cite =
60
- "service-workers FILEAPI secure-contexts hr-time permissions ECMASCRIPT NOTIFICATIONS BADGING ">
60
+ "SERVICE-WORKERS FILEAPI SECURE-CONTEXTS HR-TIME PERMISSIONS ECMASCRIPT NOTIFICATIONS BADGING ">
61
61
< section id ="abstract ">
62
62
< p >
63
63
The < cite > Push API</ cite > enables sending of a < a > push message</ a > to a web application via
@@ -1081,7 +1081,7 @@ <h2>
1081
1081
The Service Worker specification defines a {{ServiceWorkerRegistration}} interface
1082
1082
[[SERVICE-WORKERS]], which this specification extends.
1083
1083
</ p >
1084
- < pre class ="idl " data-cite ="service-workers ">
1084
+ < pre class ="idl " data-cite ="SERVICE-WORKERS ">
1085
1085
[SecureContext]
1086
1086
partial interface ServiceWorkerRegistration {
1087
1087
readonly attribute PushManager pushManager;
@@ -1549,11 +1549,11 @@ <h2>
1549
1549
{{ArrayBuffer}} whose contents are [=this=]'s [=bytes=]. Exceptions thrown during the
1550
1550
creation of the {{ArrayBuffer}} object are re-thrown.
1551
1551
</ p >
1552
- < p data-cite ="encoding ">
1552
+ < p data-cite ="ENCODING ">
1553
1553
The < dfn > json()</ dfn > method steps are to return the result of [=parse JSON bytes to a
1554
1554
JavaScript value|parsing JSON bytes to a JavaScript value=] given [=this=]'s [=bytes=].
1555
1555
</ p >
1556
- < p data-cite ="encoding ">
1556
+ < p data-cite ="ENCODING ">
1557
1557
The < dfn > text()</ dfn > method steps are to return the result of running < a > UTF-8 decode</ a >
1558
1558
on [=this=]'s [=bytes=].
1559
1559
</ p >
@@ -1564,7 +1564,7 @@ <h2>
1564
1564
< li > Let |bytes| be an empty byte sequence.
1565
1565
</ li >
1566
1566
< li > Switch on |object|'s type:
1567
- < dl data-cite ="WebIDL ">
1567
+ < dl data-cite ="WEBIDL ">
1568
1568
< dt >
1569
1569
{{BufferSource}}
1570
1570
</ dt >
@@ -1574,7 +1574,7 @@ <h2>
1574
1574
< dt >
1575
1575
{{USVString}}
1576
1576
</ dt >
1577
- < dd data-cite ="encoding ">
1577
+ < dd data-cite ="ENCODING ">
1578
1578
Set |bytes| to the result of running < a > utf-8 encode</ a > on |object|.
1579
1579
</ dd >
1580
1580
</ dl >
@@ -1617,7 +1617,7 @@ <h2>
1617
1617
< h2 >
1618
1618
< dfn > PushEvent</ dfn > Interface
1619
1619
</ h2 >
1620
- < pre class ="idl " data-cite ="service-workers NOTIFICATIONS ">
1620
+ < pre class ="idl " data-cite ="SERVICE-WORKERS NOTIFICATIONS ">
1621
1621
[Exposed=ServiceWorker, SecureContext]
1622
1622
interface PushEvent : ExtendableEvent {
1623
1623
constructor(DOMString type, optional PushEventInit eventInitDict = {});
@@ -1823,7 +1823,7 @@ <h2>
1823
1823
</ ol >
1824
1824
< p >
1825
1825
A < dfn > push event result</ dfn > is a [=/tuple=] consisting of a < dfn for =
1826
- "push event result "> notification shown</ dfn > (a [=/boolean=]) and a < dfn for =
1826
+ "push event result "> notification shown</ dfn > (a [=/boolean=]) and an < dfn for =
1827
1827
"push event result "> app badge set</ dfn > (a [=/boolean=]).
1828
1828
</ p >
1829
1829
< p >
@@ -1976,7 +1976,7 @@ <h2>
1976
1976
< h2 >
1977
1977
< dfn > PushSubscriptionChangeEvent</ dfn > Interface
1978
1978
</ h2 >
1979
- < pre class ="idl " data-cite ="service-workers ">
1979
+ < pre class ="idl " data-cite ="SERVICE-WORKERS ">
1980
1980
[Exposed=ServiceWorker, SecureContext]
1981
1981
interface PushSubscriptionChangeEvent : ExtendableEvent {
1982
1982
constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {});
@@ -1997,7 +1997,7 @@ <h2>
1997
1997
< h2 >
1998
1998
< dfn > PushSubscriptionChangeEventInit</ dfn > Interface
1999
1999
</ h2 >
2000
- < pre class ="idl " data-cite ="service-workers ">
2000
+ < pre class ="idl " data-cite ="SERVICE-WORKERS ">
2001
2001
dictionary PushSubscriptionChangeEventInit : ExtendableEventInit {
2002
2002
PushSubscription newSubscription = null;
2003
2003
PushSubscription oldSubscription = null;
0 commit comments