[web-nfc] Pull Request: encoding should be only for BufferSource data source

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/web-nfc:

== encoding should be only for BufferSource data source ==
As raised by @leonhsl, we should throw an error if `NDEFRecordInit#encoding` is neither 'utf-8' nor `undefined` for a DOMString data source.

FIX #521



See https://github.com/w3c/web-nfc/pull/531

Received on Friday, 10 January 2020 10:31:18 UTC