[web-nfc] Problems in '9.10.1 Creating NDEF message' (#443)

leonhsl has just created a new issue for https://github.com/w3c/web-nfc:

== Problems in '9.10.1 Creating NDEF message' ==
https://w3c.github.io/web-nfc/#creating-ndef-message
  1.  lacks descriptions about how to wrap a `DOMString` or `BufferSource` to create an `NDEFMessage`.
  2. 4.3 description is wrong:

> If message is of type NDEFMessageInit and its id is not null:
  
  3. It seems to me the spec wants to say `NDEFRecord#id` is null when `NDEFRecordInit#id` is not provided, if so, please change `NDEFRecord` interface definition to reflect it, i.e. add '?' suffix.

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/443 using your GitHub account

Received on Monday, 18 November 2019 03:16:45 UTC