Skip to content

Commit 5993cf7

Browse files
Fix rejected promises (#544)
1 parent 2df4cdc commit 5993cf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,18 +2298,18 @@ <h3><dfn>Writing content</dfn></h3>
22982298
If there is no underlying <a>NFC Adapter</a>, or if a connection
22992299
cannot be established, then reject |p| with a
23002300
{{"NotSupportedError"}} {{DOMException}}
2301-
and return |p|.
2301+
and abort these steps.
23022302
</li>
23032303
<li>
23042304
If the UA is not allowed to access the underlying <a>NFC Adapter</a>
23052305
(e.g. a user preference), then reject |p| with a
23062306
{{"NotReadableError"}} {{DOMException}}
2307-
and return |p|.
2307+
and abort these steps.
23082308
</li>
23092309
<li>
23102310
If pushing data is not supported by the underlying
23112311
<a>NFC Adapter</a>, then reject |p| with a {{"NotSupportedError"}}
2312-
{{DOMException}} and return |p|.
2312+
{{DOMException}} and abort these steps.
23132313
</li>
23142314
<li>
23152315
An implementation MAY reject |p| with
@@ -3346,13 +3346,13 @@ <h3><dfn>Writing content</dfn></h3>
33463346
If there is no underlying <a>NFC Adapter</a>, or if a connection
33473347
cannot be established, then reject |p| with a
33483348
{{"NotSupportedError"}} {{DOMException}}
3349-
and return |p|.
3349+
and abort these steps.
33503350
</li>
33513351
<li>
33523352
If the UA is not allowed to access the underlying <a>NFC Adapter</a>
33533353
(e.g. a user preference), then reject |p| with a
33543354
{{"NotReadableError"}} {{DOMException}}
3355-
and return |p|.
3355+
and abort these steps.
33563356
</li>
33573357
<li>
33583358
Add |reader| to the <a>activated reader objects</a>.

0 commit comments

Comments
 (0)