Skip to content

Commit

Permalink
Fix rejected promises (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Feb 17, 2020
1 parent 2df4cdc commit 5993cf7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2298,18 +2298,18 @@ <h3><dfn>Writing content</dfn></h3>
If there is no underlying <a>NFC Adapter</a>, or if a connection
cannot be established, then reject |p| with a
{{"NotSupportedError"}} {{DOMException}}
and return |p|.
and abort these steps.
</li>
<li>
If the UA is not allowed to access the underlying <a>NFC Adapter</a>
(e.g. a user preference), then reject |p| with a
{{"NotReadableError"}} {{DOMException}}
and return |p|.
and abort these steps.
</li>
<li>
If pushing data is not supported by the underlying
<a>NFC Adapter</a>, then reject |p| with a {{"NotSupportedError"}}
{{DOMException}} and return |p|.
{{DOMException}} and abort these steps.
</li>
<li>
An implementation MAY reject |p| with
Expand Down Expand Up @@ -3346,13 +3346,13 @@ <h3><dfn>Writing content</dfn></h3>
If there is no underlying <a>NFC Adapter</a>, or if a connection
cannot be established, then reject |p| with a
{{"NotSupportedError"}} {{DOMException}}
and return |p|.
and abort these steps.
</li>
<li>
If the UA is not allowed to access the underlying <a>NFC Adapter</a>
(e.g. a user preference), then reject |p| with a
{{"NotReadableError"}} {{DOMException}}
and return |p|.
and abort these steps.
</li>
<li>
Add |reader| to the <a>activated reader objects</a>.
Expand Down

0 comments on commit 5993cf7

Please sign in to comment.