Skip to content

Commit 8c7a5fe

Browse files
Add missing obtain permission in NDEFWriter.push algorithm (#528)
1 parent d12fac4 commit 8c7a5fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,6 +2412,11 @@ <h3><dfn>Writing or pushing content</dfn></h3>
24122412
requested operation.
24132413
</p>
24142414
</li>
2415+
<li>
2416+
If the <a>obtain permission</a> steps return `false`, then
2417+
reject |p| with a {{"NotAllowedError"}} {{DOMException}} and
2418+
abort these steps.
2419+
</li>
24152420
<li>
24162421
Let |output| be the notation for the <a>NDEF message</a>
24172422
to be created by UA, as the result of passing

0 commit comments

Comments
 (0)