DescriptionTry to read BOS and WebUSB descriptors from USB devices.
When a USB 2.1 or higher device is enumerated this patch attempts to
read its binary device object store (BOS) descriptor. If a WebUSB
platform capability descriptor is found the WebUSB landing page and
allowed origin descriptors are requested.
These requests should be safe as the USB 3.0 specification requires
that devices announcing support for version 2.1 (which is just USB 3.0
for non-super-speed devices) or higher must implement the BOS
descriptor request.
BUG=492204
Committed: https://crrev.com/6eb7a8ae9630f17bcb0673c05d983577b8652862
Cr-Commit-Position: refs/heads/master@{#342028}
Patch Set 1 #
Total comments: 5
Patch Set 2 : #Patch Set 3 : Resolved Ken's nits. #Patch Set 4 : Rebased. #
Messages
Total messages: 15 (7 generated)
|