|
165 | 165 | server</a>.
|
166 | 166 | </p>
|
167 | 167 | <p>
|
168 |
| - A <a>push message</a> is delivered to the <a>active worker</a> associated with the |
169 |
| - <a>push subscription</a> to which the message was submitted. If the service worker is not |
170 |
| - currently running, the worker is started to enable delivery. |
| 168 | + A <a>push message</a> is delivered to the [= service worker registration/active worker =] |
| 169 | + associated with the <a>push subscription</a> to which the message was submitted. If the |
| 170 | + service worker is not currently running, the worker is started to enable delivery. |
171 | 171 | </p>
|
172 | 172 | </section>
|
173 | 173 | <section>
|
|
583 | 583 | <li>Let <var>registration</var> be the <a>PushManager</a>'s associated <a>service worker
|
584 | 584 | registration</a>.
|
585 | 585 | </li>
|
586 |
| - <li>If <var>registration</var>'s <a>active worker</a> is null, reject <var>promise</var> |
587 |
| - with a {{DOMException}} whose name is "{{InvalidStateError}}" and terminate these steps. |
| 586 | + <li>If <var>registration</var>'s [= service worker registration/active worker =] is null, |
| 587 | + reject <var>promise</var> with a {{DOMException}} whose name is "{{InvalidStateError}}" and |
| 588 | + terminate these steps. |
588 | 589 | </li>
|
589 | 590 | <li>Ask the user whether they allow the web application to receive <a>push messages</a>,
|
590 | 591 | unless a prearranged trust relationship applies or the user has already granted or denied
|
@@ -1146,8 +1147,8 @@ <h2>
|
1146 | 1147 | Then run the following steps in parallel, with <var>dispatchedEvent</var>:
|
1147 | 1148 | </p>
|
1148 | 1149 | <ol>
|
1149 |
| - <li>Wait for all of the promises in the <a>extend lifetime promises</a> of |
1150 |
| - <var>dispatchedEvent</var> to resolve. |
| 1150 | + <li>Wait for all of the promises in the [= ExtendableEvent/extend lifetime promises |
| 1151 | + =] of <var>dispatchedEvent</var> to resolve. |
1151 | 1152 | </li>
|
1152 | 1153 | <li>If all the promises resolve successfully, acknowledge the receipt of the <a>push
|
1153 | 1154 | message</a> according to [[RFC8030]] and abort these steps.
|
|
0 commit comments