Skip to content

Commit

Permalink
Disallow id for an empty NDEF record
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored and kenchris committed Dec 6, 2019
1 parent 06671e6 commit 6f6af25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Expand Up @@ -2799,6 +2799,10 @@ <h3><dfn>Writing or pushing content</dfn></h3>
If |record|'s <a>mediaType</a> is not `undefined`,
[= exception/throw =] a {{TypeError}} and abort these steps.
</li>
<li>
If |record|'s <a>id</a> is not `undefined`,
[= exception/throw =] a {{TypeError}} and abort these steps.
</li>
<li>
Let |ndef| be the notation for the <a>NDEF record</a> to
be created by the UA.
Expand Down

0 comments on commit 6f6af25

Please sign in to comment.