Skip to content

Commit f256e5c

Browse files
author
Marcos Cáceres
committed
Chore: fix ReSpec errors
1 parent a6af25d commit f256e5c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ <h2>
165165
server</a>.
166166
</p>
167167
<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.
171171
</p>
172172
</section>
173173
<section>
@@ -583,8 +583,9 @@ <h2>
583583
<li>Let <var>registration</var> be the <a>PushManager</a>'s associated <a>service worker
584584
registration</a>.
585585
</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.
588589
</li>
589590
<li>Ask the user whether they allow the web application to receive <a>push messages</a>,
590591
unless a prearranged trust relationship applies or the user has already granted or denied
@@ -1146,8 +1147,8 @@ <h2>
11461147
Then run the following steps in parallel, with <var>dispatchedEvent</var>:
11471148
</p>
11481149
<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.
11511152
</li>
11521153
<li>If all the promises resolve successfully, acknowledge the receipt of the <a>push
11531154
message</a> according to [[RFC8030]] and abort these steps.

0 commit comments

Comments
 (0)