File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 381
381
< a > push subscription</ a > to send < a > push messages</ a > to another < a > push subscription</ a > .
382
382
</ p >
383
383
< 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
386
386
the user against man-in-the-middle attacks intended to obtain push subscription data.
387
387
Browsers may ignore this rule for development purposes only.
388
388
</ p >
549
549
</ li >
550
550
< li > Return |promise| and continue the following steps asynchronously.
551
551
</ 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.
554
555
</ li >
555
556
< li > If the |options| argument includes a non-null value for the
556
557
{{PushSubscriptionOptions/applicationServerKey}} attribute, run the following sub-steps:
You can’t perform that action at this time.
0 commit comments