[go: nahoru, domu]

Add USBDeviceRequestEvent to WebUSB Test API polyfill

This event is fired when the navigator.usb.requestDevice() method is
called and allows us to remove the navigator.usb.test.lastFilters and
navigator.usb.test.chosenDevice attributes which may be more difficult
for other implementations to support.

https: //github.com/WICG/webusb/pull/98
Change-Id: I122b3512f12b68bb36fee6d9e9abc2a4d11c5ea0
Reviewed-on: https://chromium-review.googlesource.com/530091
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Jeffrey Yasskin <jyasskin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490821}
2 files changed