Re: [web-nfc] NDEFRecord mediaType should be non null for media records (#387)

> The other option we have it to simply ignore media type for anything but "media" thus make it nullable amd throw if people try setting it. throw TypeError('mediaType doesn't apply for records of type "text"')

I'd like that.

We should also make sure our test suite covers the fact that pushing read data ends up with the same data on the tag.

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

Received on Monday, 28 October 2019 07:59:08 UTC