Re: [web-nfc] local types need some prefix of a kind (#375)

Does this IDL diff look good to you?

```diff
  typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;

  [SecureContext, Exposed=Window]
  interface NDEFRecord {
    constructor(NDEFRecordInit recordInit);

    readonly attribute USVString recordType;
    readonly attribute USVString? mediaType;
    readonly attribute USVString? id;
+   readonly attribute boolean isLocal;
    readonly attribute DataView? data;

    readonly attribute USVString? encoding;
    readonly attribute USVString? lang;

    sequence<NDEFRecord> toRecords();
  };

  dictionary NDEFRecordInit {
    required USVString recordType;
    USVString mediaType;
    USVString id;
+   boolean isLocal = false;

    USVString encoding;
    USVString lang;

    NDEFRecordDataSource data;
  };
```

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

Received on Tuesday, 24 December 2019 06:28:49 UTC