diff --git a/index.html b/index.html
index 9b0d7f1..920df7e 100644
--- a/index.html
+++ b/index.html
@@ -1120,16 +1120,17 @@
{{"NotAllowedError"}} {{DOMException}}
If the |options| argument does not include a non-null value for the
- {{PushSubscriptionOptionsInit/applicationServerKey}} member, and the push service
- requires one to be given, [=queue a global task=] on the [=networking task source=]
- using |global| to [=reject=] |promise| with a {{"NotSupportedError"}} {{DOMException}}.
+ {{PushSubscriptionOptionsInit/applicationServerKey}} member, and the push
+ service requires one to be given, [=queue a global task=] on the [=networking task
+ source=] using |global| to [=reject=] |promise| with a {{"NotSupportedError"}}
+ {{DOMException}}.
If the |options| argument includes a non-null value for the
{{PushSubscriptionOptions/applicationServerKey}} attribute:
- If |options|'s {{PushSubscriptionOptionsInit/applicationServerKey}} is a
- {{DOMString}}, set its value to an {{ArrayBuffer}} containing the sequence of octets
- that result from decoding |options|'s
+ {{DOMString}}, set its value to an {{ArrayBuffer}} containing the sequence of
+ octets that result from decoding |options|'s
{{PushSubscriptionOptionsInit/applicationServerKey}} using the base64url encoding
[[RFC7515]].
@@ -1148,9 +1149,9 @@
- Let |registration:ServiceWorkerRegistration| be [=this=]'s associated service
worker registration.
- - If |registration|'s [=service worker registration/active worker=] is null, [=queue a
- global task=] on the [=networking task source=] using |global| to [=reject=] |promise|
- with an {{"InvalidStateError"}} {{DOMException}} and terminate these steps.
+
- If |registration|'s [=service worker registration/active worker=] is null, [=queue
+ a global task=] on the [=networking task source=] using |global| to [=reject=]
+ |promise| with an {{"InvalidStateError"}} {{DOMException}} and terminate these steps.
- Let |permission| be [=request permission to use=] "push".
@@ -1170,20 +1171,20 @@
[=ECMAScript/reference record|reference=].
If any attribute on |options| contains a different value to that stored for
- |subscription|, then [=queue a global task=] on the [=networking task source=] using
- |global| to [=reject=] |promise| with an {{"InvalidStateError"}} {{DOMException}}
- and terminate these steps.
+ |subscription|, then [=queue a global task=] on the [=networking task source=]
+ using |global| to [=reject=] |promise| with an {{"InvalidStateError"}}
+ {{DOMException}} and terminate these steps.
- When the request has been completed, [=queue a global task=] on the [=networking
- task source=] using |global| to [=resolve=] |promise| with |subscription| and
- terminate these steps.
+ When the request has been completed, [=queue a global task=] on the
+ [=networking task source=] using |global| to [=resolve=] |promise| with
+ |subscription| and terminate these steps.
Let |subscription| be the result of trying to [=create a push subscription=] with
- |options|. If creating the subscription [=exception/throws=] an [=exception=], [=queue a
- global task=] on the [=networking task source=] using |global| to [=reject=] |promise|
- with a that [=exception=] and terminate these these steps.
+ |options|. If creating the subscription [=exception/throws=] an [=exception=], [=queue
+ a global task=] on the [=networking task source=] using |global| to [=reject=]
+ |promise| with a that [=exception=] and terminate these these steps.
Otherwise, [=queue a global task=] on the [=networking task source=] using |global|
to [=resolve=] |promise| with a {{PushSubscription}} providing the details of the new