blob: 3ecfb5872d969057ee7454abff6304f31e6892aa [file] [log] [blame]
This is a testharness.js-based test.
PASS idlharness
PASS WebUSB IDL test
PASS Partial interface Navigator: original interface defined
PASS Partial interface Navigator: valid exposure set
PASS Partial interface WorkerNavigator: original interface defined
PASS Partial interface WorkerNavigator: valid exposure set
PASS USB interface: existence and properties of interface object
PASS USB interface object length
PASS USB interface object name
PASS USB interface: existence and properties of interface prototype object
PASS USB interface: existence and properties of interface prototype object's "constructor" property
PASS USB interface: existence and properties of interface prototype object's @@unscopables property
PASS USB interface: attribute onconnect
PASS Unscopable handled correctly for onconnect property on USB
PASS USB interface: attribute ondisconnect
PASS Unscopable handled correctly for ondisconnect property on USB
PASS USB interface: operation getDevices()
PASS Unscopable handled correctly for getDevices() on USB
PASS USB interface: member requestDevice
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
PASS USB interface: navigator.usb must inherit property "ondisconnect" with the proper type
PASS USB interface: navigator.usb must inherit property "getDevices()" with the proper type
PASS USB interface: navigator.usb must not have property "requestDevice"
PASS USBConnectionEvent interface: existence and properties of interface object
PASS USBConnectionEvent interface object length
PASS USBConnectionEvent interface object name
PASS USBConnectionEvent interface: existence and properties of interface prototype object
PASS USBConnectionEvent interface: existence and properties of interface prototype object's "constructor" property
PASS USBConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS USBConnectionEvent interface: attribute device
PASS Unscopable handled correctly for device property on USBConnectionEvent
PASS USBConnectionEvent must be primary interface of usbConnectionEvent
PASS Stringification of usbConnectionEvent
PASS USBConnectionEvent interface: usbConnectionEvent must inherit property "device" with the proper type
PASS USBDevice interface: existence and properties of interface object
PASS USBDevice interface object length
PASS USBDevice interface object name
PASS USBDevice interface: existence and properties of interface prototype object
PASS USBDevice interface: existence and properties of interface prototype object's "constructor" property
PASS USBDevice interface: existence and properties of interface prototype object's @@unscopables property
PASS USBDevice interface: attribute usbVersionMajor
PASS Unscopable handled correctly for usbVersionMajor property on USBDevice
PASS USBDevice interface: attribute usbVersionMinor
PASS Unscopable handled correctly for usbVersionMinor property on USBDevice
PASS USBDevice interface: attribute usbVersionSubminor
PASS Unscopable handled correctly for usbVersionSubminor property on USBDevice
PASS USBDevice interface: attribute deviceClass
PASS Unscopable handled correctly for deviceClass property on USBDevice
PASS USBDevice interface: attribute deviceSubclass
PASS Unscopable handled correctly for deviceSubclass property on USBDevice
PASS USBDevice interface: attribute deviceProtocol
PASS Unscopable handled correctly for deviceProtocol property on USBDevice
PASS USBDevice interface: attribute vendorId
PASS Unscopable handled correctly for vendorId property on USBDevice
PASS USBDevice interface: attribute productId
PASS Unscopable handled correctly for productId property on USBDevice
PASS USBDevice interface: attribute deviceVersionMajor
PASS Unscopable handled correctly for deviceVersionMajor property on USBDevice
PASS USBDevice interface: attribute deviceVersionMinor
PASS Unscopable handled correctly for deviceVersionMinor property on USBDevice
PASS USBDevice interface: attribute deviceVersionSubminor
PASS Unscopable handled correctly for deviceVersionSubminor property on USBDevice
PASS USBDevice interface: attribute manufacturerName
PASS Unscopable handled correctly for manufacturerName property on USBDevice
PASS USBDevice interface: attribute productName
PASS Unscopable handled correctly for productName property on USBDevice
PASS USBDevice interface: attribute serialNumber
PASS Unscopable handled correctly for serialNumber property on USBDevice
PASS USBDevice interface: attribute configuration
PASS Unscopable handled correctly for configuration property on USBDevice
PASS USBDevice interface: attribute configurations
PASS Unscopable handled correctly for configurations property on USBDevice
PASS USBDevice interface: attribute opened
PASS Unscopable handled correctly for opened property on USBDevice
PASS USBDevice interface: operation open()
PASS Unscopable handled correctly for open() on USBDevice
PASS USBDevice interface: operation close()
PASS Unscopable handled correctly for close() on USBDevice
PASS USBDevice interface: operation selectConfiguration(octet)
PASS Unscopable handled correctly for selectConfiguration(octet) on USBDevice
PASS USBDevice interface: operation claimInterface(octet)
PASS Unscopable handled correctly for claimInterface(octet) on USBDevice
PASS USBDevice interface: operation releaseInterface(octet)
PASS Unscopable handled correctly for releaseInterface(octet) on USBDevice
PASS USBDevice interface: operation selectAlternateInterface(octet, octet)
PASS Unscopable handled correctly for selectAlternateInterface(octet, octet) on USBDevice
PASS USBDevice interface: operation controlTransferIn(USBControlTransferParameters, unsigned short)
PASS Unscopable handled correctly for controlTransferIn(USBControlTransferParameters, unsigned short) on USBDevice
PASS USBDevice interface: operation controlTransferOut(USBControlTransferParameters, BufferSource)
PASS Unscopable handled correctly for controlTransferOut(USBControlTransferParameters, BufferSource) on USBDevice
PASS USBDevice interface: operation clearHalt(USBDirection, octet)
PASS Unscopable handled correctly for clearHalt(USBDirection, octet) on USBDevice
PASS USBDevice interface: operation transferIn(octet, unsigned long)
PASS Unscopable handled correctly for transferIn(octet, unsigned long) on USBDevice
PASS USBDevice interface: operation transferOut(octet, BufferSource)
PASS Unscopable handled correctly for transferOut(octet, BufferSource) on USBDevice
PASS USBDevice interface: operation isochronousTransferIn(octet, [object Object])
PASS Unscopable handled correctly for isochronousTransferIn(octet, [object Object]) on USBDevice
PASS USBDevice interface: operation isochronousTransferOut(octet, BufferSource, [object Object])
PASS Unscopable handled correctly for isochronousTransferOut(octet, BufferSource, [object Object]) on USBDevice
PASS USBDevice interface: operation reset()
PASS Unscopable handled correctly for reset() on USBDevice
PASS USBDevice must be primary interface of usbDevice
PASS Stringification of usbDevice
PASS USBDevice interface: usbDevice must inherit property "usbVersionMajor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "usbVersionMinor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "usbVersionSubminor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceClass" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceSubclass" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceProtocol" with the proper type
PASS USBDevice interface: usbDevice must inherit property "vendorId" with the proper type
PASS USBDevice interface: usbDevice must inherit property "productId" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceVersionMajor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceVersionMinor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "deviceVersionSubminor" with the proper type
PASS USBDevice interface: usbDevice must inherit property "manufacturerName" with the proper type
PASS USBDevice interface: usbDevice must inherit property "productName" with the proper type
PASS USBDevice interface: usbDevice must inherit property "serialNumber" with the proper type
PASS USBDevice interface: usbDevice must inherit property "configuration" with the proper type
PASS USBDevice interface: usbDevice must inherit property "configurations" with the proper type
PASS USBDevice interface: usbDevice must inherit property "opened" with the proper type
PASS USBDevice interface: usbDevice must inherit property "open()" with the proper type
PASS USBDevice interface: usbDevice must inherit property "close()" with the proper type
PASS USBDevice interface: usbDevice must inherit property "selectConfiguration(octet)" with the proper type
PASS USBDevice interface: calling selectConfiguration(octet) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "claimInterface(octet)" with the proper type
PASS USBDevice interface: calling claimInterface(octet) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "releaseInterface(octet)" with the proper type
PASS USBDevice interface: calling releaseInterface(octet) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "selectAlternateInterface(octet, octet)" with the proper type
PASS USBDevice interface: calling selectAlternateInterface(octet, octet) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "controlTransferIn(USBControlTransferParameters, unsigned short)" with the proper type
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(USBControlTransferParameters, BufferSource)" with the proper type
PASS USBDevice interface: calling controlTransferOut(USBControlTransferParameters, BufferSource) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "clearHalt(USBDirection, octet)" with the proper type
PASS USBDevice interface: calling clearHalt(USBDirection, octet) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "transferIn(octet, unsigned long)" with the proper type
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(octet, BufferSource)" with the proper type
PASS USBDevice interface: calling transferOut(octet, BufferSource) on usbDevice with too few arguments must throw TypeError
PASS USBDevice interface: usbDevice must inherit property "isochronousTransferIn(octet, [object Object])" with the proper type
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(octet, BufferSource, [object Object])" with the proper type
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
PASS USBInTransferResult interface: existence and properties of interface object
PASS USBInTransferResult interface object length
PASS USBInTransferResult interface object name
PASS USBInTransferResult interface: existence and properties of interface prototype object
PASS USBInTransferResult interface: existence and properties of interface prototype object's "constructor" property
PASS USBInTransferResult interface: existence and properties of interface prototype object's @@unscopables property
PASS USBInTransferResult interface: attribute data
PASS Unscopable handled correctly for data property on USBInTransferResult
PASS USBInTransferResult interface: attribute status
PASS Unscopable handled correctly for status property on USBInTransferResult
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
PASS USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "status" with the proper type
PASS USBOutTransferResult interface: existence and properties of interface object
PASS USBOutTransferResult interface object length
PASS USBOutTransferResult interface object name
PASS USBOutTransferResult interface: existence and properties of interface prototype object
PASS USBOutTransferResult interface: existence and properties of interface prototype object's "constructor" property
PASS USBOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property
PASS USBOutTransferResult interface: attribute bytesWritten
PASS Unscopable handled correctly for bytesWritten property on USBOutTransferResult
PASS USBOutTransferResult interface: attribute status
PASS Unscopable handled correctly for status property on USBOutTransferResult
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
PASS USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "status" with the proper type
PASS USBIsochronousInTransferPacket interface: existence and properties of interface object
PASS USBIsochronousInTransferPacket interface object length
PASS USBIsochronousInTransferPacket interface object name
PASS USBIsochronousInTransferPacket interface: existence and properties of interface prototype object
PASS USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's "constructor" property
PASS USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's @@unscopables property
PASS USBIsochronousInTransferPacket interface: attribute data
PASS Unscopable handled correctly for data property on USBIsochronousInTransferPacket
PASS USBIsochronousInTransferPacket interface: attribute status
PASS Unscopable handled correctly for status property on USBIsochronousInTransferPacket
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
PASS USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "status" with the proper type
PASS USBIsochronousInTransferResult interface: existence and properties of interface object
PASS USBIsochronousInTransferResult interface object length
PASS USBIsochronousInTransferResult interface object name
PASS USBIsochronousInTransferResult interface: existence and properties of interface prototype object
PASS USBIsochronousInTransferResult interface: existence and properties of interface prototype object's "constructor" property
PASS USBIsochronousInTransferResult interface: existence and properties of interface prototype object's @@unscopables property
PASS USBIsochronousInTransferResult interface: attribute data
PASS Unscopable handled correctly for data property on USBIsochronousInTransferResult
PASS USBIsochronousInTransferResult interface: attribute packets
PASS Unscopable handled correctly for packets property on USBIsochronousInTransferResult
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
PASS USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([]) must inherit property "packets" with the proper type
PASS USBIsochronousOutTransferPacket interface: existence and properties of interface object
PASS USBIsochronousOutTransferPacket interface object length
PASS USBIsochronousOutTransferPacket interface object name
PASS USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object
PASS USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's "constructor" property
PASS USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's @@unscopables property
PASS USBIsochronousOutTransferPacket interface: attribute bytesWritten
PASS Unscopable handled correctly for bytesWritten property on USBIsochronousOutTransferPacket
PASS USBIsochronousOutTransferPacket interface: attribute status
PASS Unscopable handled correctly for status property on USBIsochronousOutTransferPacket
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
PASS USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "status" with the proper type
PASS USBIsochronousOutTransferResult interface: existence and properties of interface object
PASS USBIsochronousOutTransferResult interface object length
PASS USBIsochronousOutTransferResult interface object name
PASS USBIsochronousOutTransferResult interface: existence and properties of interface prototype object
PASS USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's "constructor" property
PASS USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property
PASS USBIsochronousOutTransferResult interface: attribute packets
PASS Unscopable handled correctly for packets property on USBIsochronousOutTransferResult
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
PASS USBConfiguration interface: existence and properties of interface object
PASS USBConfiguration interface object length
PASS USBConfiguration interface object name
PASS USBConfiguration interface: existence and properties of interface prototype object
PASS USBConfiguration interface: existence and properties of interface prototype object's "constructor" property
PASS USBConfiguration interface: existence and properties of interface prototype object's @@unscopables property
PASS USBConfiguration interface: attribute configurationValue
PASS Unscopable handled correctly for configurationValue property on USBConfiguration
PASS USBConfiguration interface: attribute configurationName
PASS Unscopable handled correctly for configurationName property on USBConfiguration
PASS USBConfiguration interface: attribute interfaces
PASS Unscopable handled correctly for interfaces property on USBConfiguration
PASS USBConfiguration must be primary interface of usbConfiguration
PASS Stringification of usbConfiguration
PASS USBConfiguration interface: usbConfiguration must inherit property "configurationValue" with the proper type
PASS USBConfiguration interface: usbConfiguration must inherit property "configurationName" with the proper type
PASS USBConfiguration interface: usbConfiguration must inherit property "interfaces" with the proper type
PASS USBInterface interface: existence and properties of interface object
PASS USBInterface interface object length
PASS USBInterface interface object name
PASS USBInterface interface: existence and properties of interface prototype object
PASS USBInterface interface: existence and properties of interface prototype object's "constructor" property
PASS USBInterface interface: existence and properties of interface prototype object's @@unscopables property
PASS USBInterface interface: attribute interfaceNumber
PASS Unscopable handled correctly for interfaceNumber property on USBInterface
PASS USBInterface interface: attribute alternate
PASS Unscopable handled correctly for alternate property on USBInterface
PASS USBInterface interface: attribute alternates
PASS Unscopable handled correctly for alternates property on USBInterface
PASS USBInterface interface: attribute claimed
PASS Unscopable handled correctly for claimed property on USBInterface
PASS USBInterface must be primary interface of usbInterface
PASS Stringification of usbInterface
PASS USBInterface interface: usbInterface must inherit property "interfaceNumber" with the proper type
PASS USBInterface interface: usbInterface must inherit property "alternate" with the proper type
PASS USBInterface interface: usbInterface must inherit property "alternates" with the proper type
PASS USBInterface interface: usbInterface must inherit property "claimed" with the proper type
PASS USBAlternateInterface interface: existence and properties of interface object
PASS USBAlternateInterface interface object length
PASS USBAlternateInterface interface object name
PASS USBAlternateInterface interface: existence and properties of interface prototype object
PASS USBAlternateInterface interface: existence and properties of interface prototype object's "constructor" property
PASS USBAlternateInterface interface: existence and properties of interface prototype object's @@unscopables property
PASS USBAlternateInterface interface: attribute alternateSetting
PASS Unscopable handled correctly for alternateSetting property on USBAlternateInterface
PASS USBAlternateInterface interface: attribute interfaceClass
PASS Unscopable handled correctly for interfaceClass property on USBAlternateInterface
PASS USBAlternateInterface interface: attribute interfaceSubclass
PASS Unscopable handled correctly for interfaceSubclass property on USBAlternateInterface
PASS USBAlternateInterface interface: attribute interfaceProtocol
PASS Unscopable handled correctly for interfaceProtocol property on USBAlternateInterface
PASS USBAlternateInterface interface: attribute interfaceName
PASS Unscopable handled correctly for interfaceName property on USBAlternateInterface
PASS USBAlternateInterface interface: attribute endpoints
PASS Unscopable handled correctly for endpoints property on USBAlternateInterface
PASS USBAlternateInterface must be primary interface of usbAlternateInterface
PASS Stringification of usbAlternateInterface
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "alternateSetting" with the proper type
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceClass" with the proper type
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceSubclass" with the proper type
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceProtocol" with the proper type
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceName" with the proper type
PASS USBAlternateInterface interface: usbAlternateInterface must inherit property "endpoints" with the proper type
PASS USBEndpoint interface: existence and properties of interface object
PASS USBEndpoint interface object length
PASS USBEndpoint interface object name
PASS USBEndpoint interface: existence and properties of interface prototype object
PASS USBEndpoint interface: existence and properties of interface prototype object's "constructor" property
PASS USBEndpoint interface: existence and properties of interface prototype object's @@unscopables property
PASS USBEndpoint interface: attribute endpointNumber
PASS Unscopable handled correctly for endpointNumber property on USBEndpoint
PASS USBEndpoint interface: attribute direction
PASS Unscopable handled correctly for direction property on USBEndpoint
PASS USBEndpoint interface: attribute type
PASS Unscopable handled correctly for type property on USBEndpoint
PASS USBEndpoint interface: attribute packetSize
PASS Unscopable handled correctly for packetSize property on USBEndpoint
PASS USBEndpoint must be primary interface of usbEndpoint
PASS Stringification of usbEndpoint
PASS USBEndpoint interface: usbEndpoint must inherit property "endpointNumber" with the proper type
PASS USBEndpoint interface: usbEndpoint must inherit property "direction" with the proper type
PASS USBEndpoint interface: usbEndpoint must inherit property "type" with the proper type
PASS USBEndpoint interface: usbEndpoint must inherit property "packetSize" with the proper type
PASS USBPermissionResult interface: existence and properties of interface object
PASS Navigator interface: existence and properties of interface object
FAIL Navigator interface: navigator must not have property "usb" assert_false: expected false got true
PASS WorkerNavigator interface: attribute usb
PASS Unscopable handled correctly for usb property on WorkerNavigator
PASS WorkerNavigator interface: navigator must inherit property "usb" with the proper type
FAIL PermissionStatus interface: existence and properties of interface object assert_false: expected false got true
Harness: the test ran to completion.