- From: Han Leon via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 Jul 2019 10:54:55 +0000
- To: public-web-nfc@w3.org
I got 2 CLs that can pass tests now. https://chromium-review.googlesource.com/c/chromium/src/+/1684664 changes NDEF{Record,Message} to interface type. ```IDL dictionary NDEFMessageInit { USVString url; sequence<NDEFRecordInit> records; }; [Constructor(NDEFMessageInit messageInit)] interface NDEFMessage { readonly attribute USVString url; readonly attribute FrozenArray<NDEFRecord> records; } dictionary NDEFRecordInit { NDEFRecordType recordType; USVString mediaType; NDEFRecordData data; }; [Constructor(NDEFRecordInit recordInit)] interface NDEFRecord { readonly attribute NDEFRecordType recordType; readonly attribute USVString mediaType; [CallWith=ScriptState] readonly attribute NDEFRecordData data; }; ``` https://chromium-review.googlesource.com/c/chromium/src/+/1655092 introduces NFCReadingEvent(Init) based on the above CL. ```IDL dictionary NFCReadingEventInit : EventInit { DOMString? serialNumber = ""; required NDEFMessageInit message; }; [Constructor(DOMString type, NFCReadingEventInit eventInitDict)] interface NFCReadingEvent : Event { readonly attribute DOMString serialNumber; [SameObject] readonly attribute NDEFMessage message; }; ``` -- GitHub Notification of comment by leonhsl Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/232#issuecomment-507625085 using your GitHub account
Received on Tuesday, 2 July 2019 10:54:57 UTC