Index: Source/modules/webusb/USBOutTransferResult.idl |
diff --git a/Source/modules/webusb/NavigatorUSB.idl b/Source/modules/webusb/USBOutTransferResult.idl |
similarity index 52% |
copy from Source/modules/webusb/NavigatorUSB.idl |
copy to Source/modules/webusb/USBOutTransferResult.idl |
index e1bdb68241f49fdf04208084639627ae6f823d4d..cfbe8c34a4a5100fe5192e9324400a6bb0197b3d 100644 |
--- a/Source/modules/webusb/NavigatorUSB.idl |
+++ b/Source/modules/webusb/USBOutTransferResult.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-usbouttransferresult |
[ |
GarbageCollected, |
RuntimeEnabled=WebUSB, |
-] partial interface Navigator { |
- readonly attribute USB usb; |
+] interface USBOutTransferResult { |
+ readonly attribute unsigned long bytesWritten; |
+ readonly attribute USBTransferStatus status; |
}; |