Index: third_party/WebKit/LayoutTests/external/wpt/webusb/idlharness.https-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webusb/idlharness.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/webusb/idlharness.https-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d184ea6e53cce89283e206beabe33a34fb20ed3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webusb/idlharness.https-expected.txt |
@@ -0,0 +1,238 @@ |
+This is a testharness.js-based test. |
+PASS Navigator interface: attribute usb |
+PASS Navigator must be primary interface of navigator |
+PASS Stringification of navigator |
+PASS Navigator interface: navigator must inherit property "usb" with the proper type (0) |
+PASS USB interface: existence and properties of interface object |
+PASS USB interface object length |
+PASS USB interface object name |
+FAIL USB interface: existence and properties of interface prototype object assert_equals: class string of USB.prototype expected "[object USBPrototype]" but got "[object USB]" |
+PASS USB interface: existence and properties of interface prototype object's "constructor" property |
+PASS USB interface: attribute onconnect |
+PASS USB interface: attribute ondisconnect |
+PASS USB interface: operation getDevices() |
+PASS USB interface: operation requestDevice(USBDeviceRequestOptions) |
+PASS USB must be primary interface of navigator.usb |
+PASS Stringification of navigator.usb |
+PASS USB interface: navigator.usb must inherit property "onconnect" with the proper type (0) |
+PASS USB interface: navigator.usb must inherit property "ondisconnect" with the proper type (1) |
+PASS USB interface: navigator.usb must inherit property "getDevices" with the proper type (2) |
+PASS USB interface: navigator.usb must inherit property "requestDevice" with the proper type (3) |
+PASS USB interface: calling requestDevice(USBDeviceRequestOptions) on navigator.usb with too few arguments must throw TypeError |
+PASS USBConnectionEvent interface: existence and properties of interface object |
+PASS USBConnectionEvent interface object length |
+PASS USBConnectionEvent interface object name |
+FAIL USBConnectionEvent interface: existence and properties of interface prototype object assert_equals: class string of USBConnectionEvent.prototype expected "[object USBConnectionEventPrototype]" but got "[object USBConnectionEvent]" |
+PASS USBConnectionEvent interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBConnectionEvent interface: attribute device |
+PASS USBConnectionEvent must be primary interface of usbConnectionEvent |
+PASS Stringification of usbConnectionEvent |
+PASS USBConnectionEvent interface: usbConnectionEvent must inherit property "device" with the proper type (0) |
+PASS USBDevice interface: existence and properties of interface object |
+PASS USBDevice interface object length |
+PASS USBDevice interface object name |
+FAIL USBDevice interface: existence and properties of interface prototype object assert_equals: class string of USBDevice.prototype expected "[object USBDevicePrototype]" but got "[object USBDevice]" |
+PASS USBDevice interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBDevice interface: attribute usbVersionMajor |
+PASS USBDevice interface: attribute usbVersionMinor |
+PASS USBDevice interface: attribute usbVersionSubminor |
+PASS USBDevice interface: attribute deviceClass |
+PASS USBDevice interface: attribute deviceSubclass |
+PASS USBDevice interface: attribute deviceProtocol |
+PASS USBDevice interface: attribute vendorId |
+PASS USBDevice interface: attribute productId |
+PASS USBDevice interface: attribute deviceVersionMajor |
+PASS USBDevice interface: attribute deviceVersionMinor |
+PASS USBDevice interface: attribute deviceVersionSubminor |
+PASS USBDevice interface: attribute manufacturerName |
+PASS USBDevice interface: attribute productName |
+PASS USBDevice interface: attribute serialNumber |
+PASS USBDevice interface: attribute configuration |
+PASS USBDevice interface: attribute configurations |
+PASS USBDevice interface: attribute opened |
+PASS USBDevice interface: operation open() |
+PASS USBDevice interface: operation close() |
+PASS USBDevice interface: operation selectConfiguration(octet) |
+PASS USBDevice interface: operation claimInterface(octet) |
+PASS USBDevice interface: operation releaseInterface(octet) |
+PASS USBDevice interface: operation selectAlternateInterface(octet,octet) |
+PASS USBDevice interface: operation controlTransferIn(USBControlTransferParameters,unsigned short) |
+PASS USBDevice interface: operation controlTransferOut(USBControlTransferParameters,BufferSource) |
+PASS USBDevice interface: operation clearHalt(USBDirection,octet) |
+PASS USBDevice interface: operation transferIn(octet,unsigned long) |
+PASS USBDevice interface: operation transferOut(octet,BufferSource) |
+PASS USBDevice interface: operation isochronousTransferIn(octet,[object Object]) |
+PASS USBDevice interface: operation isochronousTransferOut(octet,BufferSource,[object Object]) |
+PASS USBDevice interface: operation reset() |
+PASS USBDevice must be primary interface of usbDevice |
+PASS Stringification of usbDevice |
+PASS USBDevice interface: usbDevice must inherit property "usbVersionMajor" with the proper type (0) |
+PASS USBDevice interface: usbDevice must inherit property "usbVersionMinor" with the proper type (1) |
+PASS USBDevice interface: usbDevice must inherit property "usbVersionSubminor" with the proper type (2) |
+PASS USBDevice interface: usbDevice must inherit property "deviceClass" with the proper type (3) |
+PASS USBDevice interface: usbDevice must inherit property "deviceSubclass" with the proper type (4) |
+PASS USBDevice interface: usbDevice must inherit property "deviceProtocol" with the proper type (5) |
+PASS USBDevice interface: usbDevice must inherit property "vendorId" with the proper type (6) |
+PASS USBDevice interface: usbDevice must inherit property "productId" with the proper type (7) |
+PASS USBDevice interface: usbDevice must inherit property "deviceVersionMajor" with the proper type (8) |
+PASS USBDevice interface: usbDevice must inherit property "deviceVersionMinor" with the proper type (9) |
+PASS USBDevice interface: usbDevice must inherit property "deviceVersionSubminor" with the proper type (10) |
+PASS USBDevice interface: usbDevice must inherit property "manufacturerName" with the proper type (11) |
+PASS USBDevice interface: usbDevice must inherit property "productName" with the proper type (12) |
+PASS USBDevice interface: usbDevice must inherit property "serialNumber" with the proper type (13) |
+PASS USBDevice interface: usbDevice must inherit property "configuration" with the proper type (14) |
+PASS USBDevice interface: usbDevice must inherit property "configurations" with the proper type (15) |
+PASS USBDevice interface: usbDevice must inherit property "opened" with the proper type (16) |
+PASS USBDevice interface: usbDevice must inherit property "open" with the proper type (17) |
+PASS USBDevice interface: usbDevice must inherit property "close" with the proper type (18) |
+PASS USBDevice interface: usbDevice must inherit property "selectConfiguration" with the proper type (19) |
+PASS USBDevice interface: calling selectConfiguration(octet) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "claimInterface" with the proper type (20) |
+PASS USBDevice interface: calling claimInterface(octet) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "releaseInterface" with the proper type (21) |
+PASS USBDevice interface: calling releaseInterface(octet) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "selectAlternateInterface" with the proper type (22) |
+PASS USBDevice interface: calling selectAlternateInterface(octet,octet) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "controlTransferIn" with the proper type (23) |
+PASS USBDevice interface: calling controlTransferIn(USBControlTransferParameters,unsigned short) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "controlTransferOut" with the proper type (24) |
+PASS USBDevice interface: calling controlTransferOut(USBControlTransferParameters,BufferSource) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "clearHalt" with the proper type (25) |
+PASS USBDevice interface: calling clearHalt(USBDirection,octet) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "transferIn" with the proper type (26) |
+PASS USBDevice interface: calling transferIn(octet,unsigned long) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "transferOut" with the proper type (27) |
+PASS USBDevice interface: calling transferOut(octet,BufferSource) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "isochronousTransferIn" with the proper type (28) |
+PASS USBDevice interface: calling isochronousTransferIn(octet,[object Object]) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "isochronousTransferOut" with the proper type (29) |
+PASS USBDevice interface: calling isochronousTransferOut(octet,BufferSource,[object Object]) on usbDevice with too few arguments must throw TypeError |
+PASS USBDevice interface: usbDevice must inherit property "reset" with the proper type (30) |
+PASS USBInTransferResult interface: existence and properties of interface object |
+PASS USBInTransferResult interface object length |
+PASS USBInTransferResult interface object name |
+FAIL USBInTransferResult interface: existence and properties of interface prototype object assert_equals: class string of USBInTransferResult.prototype expected "[object USBInTransferResultPrototype]" but got "[object USBInTransferResult]" |
+PASS USBInTransferResult interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBInTransferResult interface: attribute data |
+PASS USBInTransferResult interface: attribute status |
+PASS USBInTransferResult must be primary interface of new USBInTransferResult("ok") |
+PASS Stringification of new USBInTransferResult("ok") |
+PASS USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "data" with the proper type (0) |
+PASS USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "status" with the proper type (1) |
+PASS USBOutTransferResult interface: existence and properties of interface object |
+PASS USBOutTransferResult interface object length |
+PASS USBOutTransferResult interface object name |
+FAIL USBOutTransferResult interface: existence and properties of interface prototype object assert_equals: class string of USBOutTransferResult.prototype expected "[object USBOutTransferResultPrototype]" but got "[object USBOutTransferResult]" |
+PASS USBOutTransferResult interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBOutTransferResult interface: attribute bytesWritten |
+PASS USBOutTransferResult interface: attribute status |
+PASS USBOutTransferResult must be primary interface of new USBOutTransferResult("ok") |
+PASS Stringification of new USBOutTransferResult("ok") |
+PASS USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "bytesWritten" with the proper type (0) |
+PASS USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "status" with the proper type (1) |
+PASS USBIsochronousInTransferPacket interface: existence and properties of interface object |
+PASS USBIsochronousInTransferPacket interface object length |
+PASS USBIsochronousInTransferPacket interface object name |
+FAIL USBIsochronousInTransferPacket interface: existence and properties of interface prototype object assert_equals: class string of USBIsochronousInTransferPacket.prototype expected "[object USBIsochronousInTransferPacketPrototype]" but got "[object USBIsochronousInTransferPacket]" |
+PASS USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBIsochronousInTransferPacket interface: attribute data |
+PASS USBIsochronousInTransferPacket interface: attribute status |
+PASS USBIsochronousInTransferPacket must be primary interface of new USBIsochronousInTransferPacket("ok") |
+PASS Stringification of new USBIsochronousInTransferPacket("ok") |
+PASS USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "data" with the proper type (0) |
+PASS USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "status" with the proper type (1) |
+PASS USBIsochronousInTransferResult interface: existence and properties of interface object |
+PASS USBIsochronousInTransferResult interface object length |
+PASS USBIsochronousInTransferResult interface object name |
+FAIL USBIsochronousInTransferResult interface: existence and properties of interface prototype object assert_equals: class string of USBIsochronousInTransferResult.prototype expected "[object USBIsochronousInTransferResultPrototype]" but got "[object USBIsochronousInTransferResult]" |
+PASS USBIsochronousInTransferResult interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBIsochronousInTransferResult interface: attribute data |
+PASS USBIsochronousInTransferResult interface: attribute packets |
+PASS USBIsochronousInTransferResult must be primary interface of new USBIsochronousInTransferResult([]) |
+PASS Stringification of new USBIsochronousInTransferResult([]) |
+PASS USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([]) must inherit property "data" with the proper type (0) |
+PASS USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([]) must inherit property "packets" with the proper type (1) |
+PASS USBIsochronousOutTransferPacket interface: existence and properties of interface object |
+PASS USBIsochronousOutTransferPacket interface object length |
+PASS USBIsochronousOutTransferPacket interface object name |
+FAIL USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object assert_equals: class string of USBIsochronousOutTransferPacket.prototype expected "[object USBIsochronousOutTransferPacketPrototype]" but got "[object USBIsochronousOutTransferPacket]" |
+PASS USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBIsochronousOutTransferPacket interface: attribute bytesWritten |
+PASS USBIsochronousOutTransferPacket interface: attribute status |
+PASS USBIsochronousOutTransferPacket must be primary interface of new USBIsochronousOutTransferPacket("ok") |
+PASS Stringification of new USBIsochronousOutTransferPacket("ok") |
+PASS USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "bytesWritten" with the proper type (0) |
+PASS USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "status" with the proper type (1) |
+PASS USBIsochronousOutTransferResult interface: existence and properties of interface object |
+PASS USBIsochronousOutTransferResult interface object length |
+PASS USBIsochronousOutTransferResult interface object name |
+FAIL USBIsochronousOutTransferResult interface: existence and properties of interface prototype object assert_equals: class string of USBIsochronousOutTransferResult.prototype expected "[object USBIsochronousOutTransferResultPrototype]" but got "[object USBIsochronousOutTransferResult]" |
+PASS USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBIsochronousOutTransferResult interface: attribute packets |
+PASS USBIsochronousOutTransferResult must be primary interface of new USBIsochronousOutTransferResult([]) |
+PASS Stringification of new USBIsochronousOutTransferResult([]) |
+PASS USBIsochronousOutTransferResult interface: new USBIsochronousOutTransferResult([]) must inherit property "packets" with the proper type (0) |
+PASS USBConfiguration interface: existence and properties of interface object |
+PASS USBConfiguration interface object length |
+PASS USBConfiguration interface object name |
+FAIL USBConfiguration interface: existence and properties of interface prototype object assert_equals: class string of USBConfiguration.prototype expected "[object USBConfigurationPrototype]" but got "[object USBConfiguration]" |
+PASS USBConfiguration interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBConfiguration interface: attribute configurationValue |
+PASS USBConfiguration interface: attribute configurationName |
+PASS USBConfiguration interface: attribute interfaces |
+PASS USBConfiguration must be primary interface of usbConfiguration |
+PASS Stringification of usbConfiguration |
+PASS USBConfiguration interface: usbConfiguration must inherit property "configurationValue" with the proper type (0) |
+PASS USBConfiguration interface: usbConfiguration must inherit property "configurationName" with the proper type (1) |
+PASS USBConfiguration interface: usbConfiguration must inherit property "interfaces" with the proper type (2) |
+PASS USBInterface interface: existence and properties of interface object |
+PASS USBInterface interface object length |
+PASS USBInterface interface object name |
+FAIL USBInterface interface: existence and properties of interface prototype object assert_equals: class string of USBInterface.prototype expected "[object USBInterfacePrototype]" but got "[object USBInterface]" |
+PASS USBInterface interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBInterface interface: attribute interfaceNumber |
+PASS USBInterface interface: attribute alternate |
+PASS USBInterface interface: attribute alternates |
+PASS USBInterface interface: attribute claimed |
+PASS USBInterface must be primary interface of usbInterface |
+PASS Stringification of usbInterface |
+PASS USBInterface interface: usbInterface must inherit property "interfaceNumber" with the proper type (0) |
+PASS USBInterface interface: usbInterface must inherit property "alternate" with the proper type (1) |
+PASS USBInterface interface: usbInterface must inherit property "alternates" with the proper type (2) |
+PASS USBInterface interface: usbInterface must inherit property "claimed" with the proper type (3) |
+PASS USBAlternateInterface interface: existence and properties of interface object |
+PASS USBAlternateInterface interface object length |
+PASS USBAlternateInterface interface object name |
+FAIL USBAlternateInterface interface: existence and properties of interface prototype object assert_equals: class string of USBAlternateInterface.prototype expected "[object USBAlternateInterfacePrototype]" but got "[object USBAlternateInterface]" |
+PASS USBAlternateInterface interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBAlternateInterface interface: attribute alternateSetting |
+PASS USBAlternateInterface interface: attribute interfaceClass |
+PASS USBAlternateInterface interface: attribute interfaceSubclass |
+PASS USBAlternateInterface interface: attribute interfaceProtocol |
+PASS USBAlternateInterface interface: attribute interfaceName |
+PASS USBAlternateInterface interface: attribute endpoints |
+PASS USBAlternateInterface must be primary interface of usbAlternateInterface |
+PASS Stringification of usbAlternateInterface |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "alternateSetting" with the proper type (0) |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceClass" with the proper type (1) |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceSubclass" with the proper type (2) |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceProtocol" with the proper type (3) |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceName" with the proper type (4) |
+PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "endpoints" with the proper type (5) |
+PASS USBEndpoint interface: existence and properties of interface object |
+PASS USBEndpoint interface object length |
+PASS USBEndpoint interface object name |
+FAIL USBEndpoint interface: existence and properties of interface prototype object assert_equals: class string of USBEndpoint.prototype expected "[object USBEndpointPrototype]" but got "[object USBEndpoint]" |
+PASS USBEndpoint interface: existence and properties of interface prototype object's "constructor" property |
+PASS USBEndpoint interface: attribute endpointNumber |
+PASS USBEndpoint interface: attribute direction |
+PASS USBEndpoint interface: attribute type |
+PASS USBEndpoint interface: attribute packetSize |
+PASS USBEndpoint must be primary interface of usbEndpoint |
+PASS Stringification of usbEndpoint |
+PASS USBEndpoint interface: usbEndpoint must inherit property "endpointNumber" with the proper type (0) |
+PASS USBEndpoint interface: usbEndpoint must inherit property "direction" with the proper type (1) |
+PASS USBEndpoint interface: usbEndpoint must inherit property "type" with the proper type (2) |
+PASS USBEndpoint interface: usbEndpoint must inherit property "packetSize" with the proper type (3) |
+Harness: the test ran to completion. |
+ |