File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -2225,6 +2225,28 @@ <h2>The <dfn>record type</dfn> string</h2>
2225
2225
</ div >
2226
2226
</ section >
2227
2227
2228
+ < section > < h3 > Aborting pending scan operation</ h3 >
2229
+ < div >
2230
+ To attempt to < dfn > abort a pending scan operation</ dfn > on an
2231
+ < a > environment settings object</ a > , perform the following steps:
2232
+ < ol class =algorithm >
2233
+ < li >
2234
+ If there is no < a > pending read tuple</ a > |tuple|, abort these steps.
2235
+ </ li >
2236
+ < li >
2237
+ If |tuple|'s reader has already initiated an ongoing NFC data transfer,
2238
+ abort these steps.
2239
+ </ li >
2240
+ < li >
2241
+ Reject |tuple|'s promise with an {{"InvalidStateError"}} {{DOMException}}.
2242
+ </ li >
2243
+ < li >
2244
+ Clear the < a > pending read tuple</ a > and abort these steps.
2245
+ </ li >
2246
+ </ ol >
2247
+ </ div >
2248
+ </ section >
2249
+
2228
2250
< section > < h3 > Releasing NFC</ h3 >
2229
2251
< p >
2230
2252
To < dfn > release NFC</ dfn > on an < a > environment settings object</ a > ,
@@ -3419,6 +3441,9 @@ <h3><dfn>Writing content</dfn></h3>
3419
3441
browsing context</ a > , then reject |p| with and
3420
3442
{{"InvalidStateError"}} {{DOMException}} and return |p|.
3421
3443
</ li >
3444
+ < li >
3445
+ Attempt to < a > abort a pending scan operation</ a > .
3446
+ </ li >
3422
3447
< li >
3423
3448
Let |reader:NDEFReader| be the {{NDEFReader}} instance.
3424
3449
</ li >
You can’t perform that action at this time.
0 commit comments