Index: Source/modules/webusb/USBDevice.idl |
diff --git a/Source/modules/webusb/USBDevice.idl b/Source/modules/webusb/USBDevice.idl |
index dde7ad4bf8eeba7a570b04ce0760864d1930bf87..d0381430fa9900dacf293646a3197c393611df33 100644 |
--- a/Source/modules/webusb/USBDevice.idl |
+++ b/Source/modules/webusb/USBDevice.idl |
@@ -9,4 +9,18 @@ |
RuntimeEnabled=WebUSB, |
] interface USBDevice { |
readonly attribute DOMString guid; |
+ readonly attribute octet usbVersionMajor; |
+ readonly attribute octet usbVersionMinor; |
+ readonly attribute octet usbVersionSubminor; |
+ readonly attribute octet deviceClass; |
+ readonly attribute octet deviceSubclass; |
+ readonly attribute octet deviceProtocol; |
+ readonly attribute unsigned short vendorId; |
+ readonly attribute unsigned short productId; |
+ readonly attribute octet deviceVersionMajor; |
+ readonly attribute octet deviceVersionMinor; |
+ readonly attribute octet deviceVersionSubminor; |
+ readonly attribute DOMString? manufacturerName; |
+ readonly attribute DOMString? productName; |
+ readonly attribute DOMString? serialNumber; |
}; |