File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2311,6 +2311,11 @@ <h3><dfn>Writing content</dfn></h3>
2311
2311
< li >
2312
2312
Let |p:Promise| be a new {{Promise}} object.
2313
2313
</ li >
2314
+ < li >
2315
+ If not currently executing in the currently active < a > top-level
2316
+ browsing context</ a > , then reject |p| with and
2317
+ {{"InvalidStateError"}} {{DOMException}} and return |p|.
2318
+ </ li >
2314
2319
< li >
2315
2320
Let |message:NDEFMessageSource| be the first argument.
2316
2321
</ li >
@@ -3409,6 +3414,11 @@ <h3><dfn>Writing content</dfn></h3>
3409
3414
< li >
3410
3415
Let |p:Promise| be a new {{Promise}} object.
3411
3416
</ li >
3417
+ < li >
3418
+ If not currently executing in the currently active < a > top-level
3419
+ browsing context</ a > , then reject |p| with and
3420
+ {{"InvalidStateError"}} {{DOMException}} and return |p|.
3421
+ </ li >
3412
3422
< li >
3413
3423
Let |reader:NDEFReader| be the {{NDEFReader}} instance.
3414
3424
</ li >
You can’t perform that action at this time.
0 commit comments