Expose the DataTransferItem interface

https://html.spec.whatwg.org/#the-datatransferitem-interface

Both Firefox Nightly and IE11 expose the DataTransfer interface, but
neither DataTransferItem nor DataTransferItemList. We already expose
DataTransferItemList. Per spec all three interfaces should be exposed.

This will allow feature detection of the methods on DataTransferItem, in
particular DataTransferItem.prototype.webkitGetAsEntry, the lack of
which has forced at least one library to resort to UA string sniffing:
https://github.com/FineUploader/fine-uploader/issues/1346

BUG=448696

Review URL: https://codereview.chromium.org/850863002

git-svn-id: svn://svn.chromium.org/blink/trunk@188382 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 4084cc8babb9011557d2f5dedf7ced8114e70c46
  1. third_party/