Skip to content

Commit 4b435c6

Browse files
author
Marcos Cáceres
committed
chore: revert secure-context xref... still busted
1 parent 792b09b commit 4b435c6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ <h2>
381381
<a>push subscription</a> to send <a>push messages</a> to another <a>push subscription</a>.
382382
</p>
383383
<p>
384-
<a>User agents</a> MUST implement the Push API to only be available in <a data-cite=
385-
"secure-contexts#secure-context">secure contexts</a>. This provides better protection for
384+
<a>User agents</a> MUST implement the Push API to only be available in a <a data-cite=
385+
"secure-contexts#secure-context">secure context</a>. This provides better protection for
386386
the user against man-in-the-middle attacks intended to obtain push subscription data.
387387
Browsers may ignore this rule for development purposes only.
388388
</p>
@@ -549,8 +549,9 @@ <h2>
549549
</li>
550550
<li>Return |promise| and continue the following steps asynchronously.
551551
</li>
552-
<li>If the <a>current settings object</a> is not a <a>secure context</a>, reject |promise|
553-
with a {{DOMException}} whose name is {{"SecurityError"}} and terminate these steps.
552+
<li>If the <a>current settings object</a> is not a <a data-cite=
553+
"secure-contexts#secure-context">secure context</a>, reject |promise| with a
554+
{{DOMException}} whose name is {{"SecurityError"}} and terminate these steps.
554555
</li>
555556
<li>If the |options| argument includes a non-null value for the
556557
{{PushSubscriptionOptions/applicationServerKey}} attribute, run the following sub-steps:

0 commit comments

Comments
 (0)