Index: Source/modules/webusb/USBInTransferResult.idl |
diff --git a/Source/modules/webusb/NavigatorUSB.idl b/Source/modules/webusb/USBInTransferResult.idl |
similarity index 53% |
copy from Source/modules/webusb/NavigatorUSB.idl |
copy to Source/modules/webusb/USBInTransferResult.idl |
index e1bdb68241f49fdf04208084639627ae6f823d4d..95f28f6b625006140e340a5ff29d4fbfd224de37 100644 |
--- a/Source/modules/webusb/NavigatorUSB.idl |
+++ b/Source/modules/webusb/USBInTransferResult.idl |
@@ -2,11 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// http://reillyeon.github.io/webusb/#device-enumeration |
+// http://reillyeon.github.io/webusb/#idl-def-usbintransferresult |
[ |
GarbageCollected, |
RuntimeEnabled=WebUSB, |
-] partial interface Navigator { |
- readonly attribute USB usb; |
+] interface USBInTransferResult { |
+ readonly attribute ArrayBuffer data; |
+ readonly attribute USBTransferStatus status; |
}; |