This bug tracks work to add the following attributes:
* USBDevice.opened
* USBConfiguration.selected
* USBAlternateInterface.selected
For clarity USBDevice.setConfiguration and USBDevice.setInterface will be renamed to USBDevice.selectConfiguration and USBDevice.selectAlternateInterface as the calls will no longer map 1:1 with SET_CONFIGURATION and SET_INTERFACE requests sent to the device.
This prototyping work based on feedback on the WebUSB specification here:
https://github.com/WICG/webusb/issues/34
https://github.com/WICG/webusb/issues/45
Comment 1 by reillyg@chromium.org
, Mar 8 2016