Chromium Code Reviews
Descriptionwebusb: Reject the promise if the device is already open.
This change adds the necessary plumbing for the USB Mojo service
implementation to detect when a device is already open and to report
this error so that the WebUSB API can reject the promise returned by
USBDevice::open() with an InvalidStateError.
BUG=492204
Committed: https://crrev.com/01bda807e1f107f607b767281c62d5f9ddb582b0
Cr-Commit-Position: refs/heads/master@{#375003}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||