- From: peria via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Jan 2020 15:26:22 +0000
- To: public-web-nfc@w3.org
peria has just created a new issue for https://github.com/w3c/web-nfc:
== Definitions of NDEFMessageInit and NDEFRecordInit violates Web IDL spec ==
Two IDL dictionaries 'NDEFMessageInit' and 'NDEFRecordInit' are defined as following;
```
dictionary {
required sequence<NDEFRecordInit> records;
};
dictionary NDEFRecordInit {
...(snip)...
NDEFRecordDataSource data;
};
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;
```
This reference cycle violates the description "The type of a dictionary member must not include the dictionary it appears on." in [Web IDL spec](https://heycam.github.io/webidl/#idl-dictionaries)
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/538 using your GitHub account
Received on Tuesday, 28 January 2020 15:26:24 UTC