Commit 0e0e4de2 authored by Donna Wu's avatar Donna Wu Committed by Commit Bot

[webnfc] Use BufferSource in ndef_record_init.idl

Remove the TODO as the union type has been supported in the bindings
generator.

BUG=520391

Change-Id: I709726c9378b739944eebf26ff9b1ccb0b8cd823
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2093397Reviewed-by: default avatarRijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Commit-Queue: Donna Wu <donna.wu@intel.com>
Cr-Commit-Position: refs/heads/master@{#749075}
parent ed3c32d9
...@@ -4,11 +4,7 @@ ...@@ -4,11 +4,7 @@
// https://w3c.github.io/web-nfc/#idl-def-ndefrecorddatasource // https://w3c.github.io/web-nfc/#idl-def-ndefrecorddatasource
// The bindings generator does not support "typedef in union". typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;
// Must be (DOMString or BufferSource or NDEFMessageInit).
// TODO(http://crbug.com/1019126): Support nested typedef in Web IDLs.
typedef (DOMString or ArrayBuffer or ArrayBufferView or NDEFMessageInit)
NDEFRecordDataSource;
// https://w3c.github.io/web-nfc/#dom-ndefrecordinit // https://w3c.github.io/web-nfc/#dom-ndefrecordinit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment