Re: [web-nfc] Handling NDEFRecord (#510)

For what it's worth, current implementation of Web NFC in Chromium raises a TypeError when NDEFRecord is constructed with invalid arguments.

```js
new NDEFRecord({ recordType: "foo" });
> VM89:2 Uncaught TypeError: Failed to construct 'NDEFRecord': Invalid NDEFRecord type.
```

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

Received on Friday, 3 January 2020 10:48:02 UTC