[web-nfc] Pull Request: Disallow id for an empty NDEF record

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/web-nfc:

== Disallow id for an empty NDEF record ==
As stated in https://w3c.github.io/web-nfc/#empty-ndef-record-tnf-0, an empty record's' TYPE LENGTH field, ID LENGTH field and PAYLOAD LENGTH field MUST be 0, thus the TYPE field, **ID field** and PAYLOAD field **MUST NOT be present.**

This PR makes sure id is forbidden for an empty NDEF record.

See https://github.com/w3c/web-nfc/pull/460

Received on Friday, 6 December 2019 12:19:14 UTC