[web-nfc] 9.10.1 The push() method doesn't mention how record data is verified (#277)

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

== 9.10.1 The push() method doesn't mention how record data is verified ==
Like it just states that things should be of type NFCMessageInit, but there is no verification that for instance recordType isn't set to bogus values like "blah-blah". It seems pretty vague, and just trusts that people look at the data mapping table and known how to follow that, but it doesn't even refer to that today

I wonder how we implemented this

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

Received on Monday, 5 August 2019 14:29:44 UTC