Re: [web-nfc] Check 'typedef any NDEFRecordData' to be a JSON type? (#307)

> If the type of a record's data is not a JSON type

Sloppy language. That algorithm is broken in multiple places, probably due to successive rewrites.
For instance `data` is member of `NDEFRecordInit` only.
I am pretty sure there would be formal concerns over the related algo, too:
http://w3c.github.io/web-nfc/#creating-web-nfc-message 

Perhaps we should use language from the [Infra spec](https://infra.spec.whatwg.org/#json)?

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/307#issuecomment-524201065 using your GitHub account

Received on Friday, 23 August 2019 07:11:38 UTC