[web-nfc] scan() should validate NDEFScanOptions#{recordType,mediaType} (#437)

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

== scan() should validate NDEFScanOptions#{recordType,mediaType} ==
For example, `mediaType` should always be `undefined` for record types other than `mime`, otherwise we just throw a TypeError like what we do in constructing an `NDEFRecord`.

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

Received on Wednesday, 6 November 2019 05:58:30 UTC