- From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 Sep 2021 17:18:21 +0000
- To: public-web-nfc@w3.org
rakuco has just created a new issue for https://github.com/w3c/web-nfc:
== Define NDEFMessage's and NDEFRecord's constructors normatively ==
We have the following in Web IDL:
```webidl
interface NDEFMessage {
constructor(NDEFMessageInit messageInit);
// ...
};
interface NDEFRecord {
constructor(NDEFRecordInit recordInit);
// ...
};
```
There is nothing in the spec saying what `NDEFMessage`'s constructor is actually supposed to do and how it is supposed to use `messageInit`. I can see _some_ explanation about `NDEFRecord` and `NDEFRecordInit` [here](https://w3c.github.io/web-nfc/#the-ndefrecord-interface), but some of the description of what to do with some of `recordInit`'s members is in this section and the rest spread across the spec, which makes it quite confusing to follow.
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/622 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 17 September 2021 17:18:23 UTC