|
53 | 53 | };
|
54 | 54 | </script>
|
55 | 55 | </head>
|
56 |
| - <body data-cite="service-workers FILEAPI promises-guide"> |
| 56 | + <body data-cite="service-workers FILEAPI"> |
57 | 57 | <section id="abstract">
|
58 | 58 | <p>
|
59 | 59 | The <cite>Push API</cite> enables sending of a <a>push message</a> to a web application via
|
@@ -1039,14 +1039,15 @@ <h2>
|
1039 | 1039 | <dfn>PushEvent</dfn> Interface
|
1040 | 1040 | </h2>
|
1041 | 1041 | <pre class="idl" data-cite="service-workers">
|
1042 |
| - [Constructor(DOMString type, optional PushEventInit eventInitDict = {}), Exposed=ServiceWorker, SecureContext] |
| 1042 | + [Exposed=ServiceWorker, SecureContext] |
1043 | 1043 | interface PushEvent : ExtendableEvent {
|
| 1044 | + constructor(DOMString type, optional PushEventInit eventInitDict = {}); |
1044 | 1045 | readonly attribute PushMessageData? data;
|
1045 | 1046 | };
|
1046 | 1047 | </pre>
|
1047 | 1048 | <p>
|
1048 |
| - When a constructor of the <a>PushEvent</a> interface, or of an interface that inherits |
1049 |
| - from the <a>PushEvent</a> interface, is invoked, the usual <a>event constructing |
| 1049 | + When a <dfn>constructor</dfn> of the <a>PushEvent</a> interface, or of an interface that |
| 1050 | + inherits from the <a>PushEvent</a> interface, is invoked, the usual <a>event constructing |
1050 | 1051 | steps</a> are extended to include the following steps:
|
1051 | 1052 | </p>
|
1052 | 1053 | <ol>
|
@@ -1214,8 +1215,9 @@ <h2>
|
1214 | 1215 | <dfn>PushSubscriptionChangeEvent</dfn> Interface
|
1215 | 1216 | </h2>
|
1216 | 1217 | <pre class="idl" data-cite="service-workers">
|
1217 |
| - [Constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {}), Exposed=ServiceWorker, SecureContext] |
| 1218 | + [Exposed=ServiceWorker, SecureContext] |
1218 | 1219 | interface PushSubscriptionChangeEvent : ExtendableEvent {
|
| 1220 | + constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {}); |
1219 | 1221 | readonly attribute PushSubscription? newSubscription;
|
1220 | 1222 | readonly attribute PushSubscription? oldSubscription;
|
1221 | 1223 | };
|
|
0 commit comments