diff options
Diffstat (limited to 'testing/web-platform/meta/webusb')
18 files changed, 2360 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webusb/__dir__.ini b/testing/web-platform/meta/webusb/__dir__.ini new file mode 100644 index 0000000000..65bbb9f4f8 --- /dev/null +++ b/testing/web-platform/meta/webusb/__dir__.ini @@ -0,0 +1,3 @@ +implementation-status: not-implementing +prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true] +lsan-allowed: [Alloc, Create, Malloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::dom::DocGroup::Create, mozilla::dom::ServiceWorkerJobQueue::RunJob, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator] diff --git a/testing/web-platform/meta/webusb/idlharness.https.any.js.ini b/testing/web-platform/meta/webusb/idlharness.https.any.js.ini new file mode 100644 index 0000000000..616639fe75 --- /dev/null +++ b/testing/web-platform/meta/webusb/idlharness.https.any.js.ini @@ -0,0 +1,1532 @@ +[idlharness.https.any.html] + [USBOutTransferResult interface object length] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface object] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute productName] + expected: FAIL + + [USBInterface interface: attribute interfaceNumber] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "open()" with the proper type] + expected: FAIL + + [USBDevice interface: attribute usbVersionMajor] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: operation transferOut(octet, BufferSource)] + expected: FAIL + + [USBAlternateInterface must be primary interface of usbAlternateInterface] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: attribute deviceVersionSubminor] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "selectConfiguration(octet)" with the proper type] + expected: FAIL + + [Stringification of new USBInTransferResult("ok")] + expected: FAIL + + [USBIsochronousOutTransferResult must be primary interface of new USBIsochronousOutTransferResult([\])] + expected: FAIL + + [USBDevice interface: attribute deviceClass] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "packetSize" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: attribute alternateSetting] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "serialNumber" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceProtocol" with the proper type] + expected: FAIL + + [USB interface object length] + expected: FAIL + + [USBDevice must be primary interface of usbDevice] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "interfaces" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "endpoints" with the proper type] + expected: FAIL + + [Stringification of new USBIsochronousOutTransferResult([\])] + expected: FAIL + + [Stringification of usbConfiguration] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "clearHalt(USBDirection, octet)" with the proper type] + expected: FAIL + + [USBPermissionResult interface object length] + expected: FAIL + + [USBDevice interface: operation selectConfiguration(octet)] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceClass" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([\]) must inherit property "packets" with the proper type] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface object length] + expected: FAIL + + [USBOutTransferResult must be primary interface of new USBOutTransferResult("ok")] + expected: FAIL + + [USB interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: attribute status] + expected: FAIL + + [USBIsochronousInTransferResult interface: attribute packets] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: attribute opened] + expected: FAIL + + [USBConnectionEvent must be primary interface of usbConnectionEvent] + expected: FAIL + + [Stringification of usbAlternateInterface] + expected: FAIL + + [USBPermissionResult interface: attribute devices] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "manufacturerName" with the proper type] + expected: FAIL + + [USBDevice interface: attribute usbVersionMinor] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface: attribute configurationValue] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: calling selectConfiguration(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "claimInterface(octet)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "reset()" with the proper type] + expected: FAIL + + [USBIsochronousInTransferPacket interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "productName" with the proper type] + expected: FAIL + + [USBInterface interface: attribute alternate] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute usbVersionSubminor] + expected: FAIL + + [Stringification of navigator.usb] + expected: FAIL + + [USBConnectionEvent interface object name] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: attribute productId] + expected: FAIL + + [USBIsochronousInTransferPacket interface: attribute data] + expected: FAIL + + [USBEndpoint interface: attribute packetSize] + expected: FAIL + + [USB must be primary interface of navigator.usb] + expected: FAIL + + [USBInterface interface: attribute claimed] + expected: FAIL + + [USBIsochronousInTransferPacket interface: attribute status] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBEndpoint interface: attribute direction] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionMajor" with the proper type] + expected: FAIL + + [USBDevice interface: attribute vendorId] + expected: FAIL + + [Stringification of new USBIsochronousInTransferPacket("ok")] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBInterface interface: attribute alternates] + expected: FAIL + + [USBEndpoint interface object length] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "claimed" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferPacket interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "selectAlternateInterface(octet, octet)" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface: new USBIsochronousOutTransferResult([\]) must inherit property "packets" with the proper type] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface object name] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBAlternateInterface interface: attribute endpoints] + expected: FAIL + + [USB interface: navigator.usb must inherit property "ondisconnect" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "controlTransferIn(USBControlTransferParameters, unsigned short)" with the proper type] + expected: FAIL + + [USB interface: navigator.usb must inherit property "getDevices()" with the proper type] + expected: FAIL + + [USB interface: operation getDevices()] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "configurationValue" with the proper type] + expected: FAIL + + [USBAlternateInterface interface object name] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute deviceVersionMajor] + expected: FAIL + + [USBDevice interface: attribute manufacturerName] + expected: FAIL + + [USB interface: existence and properties of interface object] + expected: FAIL + + [USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "data" with the proper type] + expected: FAIL + + [USBDevice interface: calling releaseInterface(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [Stringification of usbConnectionEvent] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "configurationName" with the proper type] + expected: FAIL + + [USBDevice interface: attribute serialNumber] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "configuration" with the proper type] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USB interface: attribute onconnect] + expected: FAIL + + [USBConnectionEvent interface: usbConnectionEvent must inherit property "device" with the proper type] + expected: FAIL + + [USBDevice interface: operation transferIn(octet, unsigned long)] + expected: FAIL + + [USBIsochronousOutTransferResult interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [Stringification of usbInterface] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface object] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "productId" with the proper type] + expected: FAIL + + [USBDevice interface: calling clearHalt(USBDirection, octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBInterface must be primary interface of usbInterface] + expected: FAIL + + [USBIsochronousInTransferPacket interface object name] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: existence and properties of interface object] + expected: FAIL + + [Stringification of new USBOutTransferResult("ok")] + expected: FAIL + + [USBIsochronousInTransferResult interface object length] + expected: FAIL + + [USBDevice interface: calling transferIn(octet, unsigned long) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceName] + expected: FAIL + + [USBDevice interface: attribute configuration] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface object name] + expected: FAIL + + [USBIsochronousOutTransferPacket must be primary interface of new USBIsochronousOutTransferPacket("ok")] + expected: FAIL + + [Stringification of usbDevice] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "alternates" with the proper type] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface: attribute interfaces] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBConfiguration must be primary interface of usbConfiguration] + expected: FAIL + + [USBDevice interface: operation claimInterface(octet)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "opened" with the proper type] + expected: FAIL + + [USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBInterface interface: existence and properties of interface object] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "alternate" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: attribute bytesWritten] + expected: FAIL + + [USBDevice interface: operation clearHalt(USBDirection, octet)] + expected: FAIL + + [USBConfiguration interface: attribute configurationName] + expected: FAIL + + [USBDevice interface: operation reset()] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceSubclass" with the proper type] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "type" with the proper type] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConnectionEvent interface object length] + expected: FAIL + + [USBDevice interface: operation selectAlternateInterface(octet, octet)] + expected: FAIL + + [USBOutTransferResult interface object name] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USB interface: attribute ondisconnect] + expected: FAIL + + [USB interface: calling requestDevice(USBDeviceRequestOptions) on navigator.usb with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionMajor" with the proper type] + expected: FAIL + + [USBDevice interface: calling transferOut(octet, BufferSource) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBEndpoint interface: attribute type] + expected: FAIL + + [USBInTransferResult must be primary interface of new USBInTransferResult("ok")] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: calling controlTransferIn(USBControlTransferParameters, unsigned short) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [Stringification of new USBIsochronousInTransferResult([\])] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USB interface object name] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface object] + expected: FAIL + + [USB interface: navigator.usb must inherit property "onconnect" with the proper type] + expected: FAIL + + [USBConfiguration interface object length] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceProtocol] + expected: FAIL + + [Stringification of new USBIsochronousOutTransferPacket("ok")] + expected: FAIL + + [USBOutTransferResult interface: attribute status] + expected: FAIL + + [USBInterface interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([\]) must inherit property "data" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceSubclass" with the proper type] + expected: FAIL + + [USBDevice interface: attribute configurations] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "endpointNumber" with the proper type] + expected: FAIL + + [USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "data" with the proper type] + expected: FAIL + + [USBInTransferResult interface: attribute status] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "interfaceNumber" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: attribute deviceProtocol] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "vendorId" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: attribute bytesWritten] + expected: FAIL + + [USBEndpoint interface: attribute endpointNumber] + expected: FAIL + + [USBDevice interface: operation releaseInterface(octet)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceClass" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceSubclass] + expected: FAIL + + [USBEndpoint interface object name] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceName" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface object length] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionSubminor" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceProtocol" with the proper type] + expected: FAIL + + [USBDevice interface: operation open()] + expected: FAIL + + [USBIsochronousOutTransferResult interface: attribute packets] + expected: FAIL + + [USBDevice interface: calling claimInterface(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceClass] + expected: FAIL + + [USB interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "alternateSetting" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "transferOut(octet, BufferSource)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "transferIn(octet, unsigned long)" with the proper type] + expected: FAIL + + [USBDevice interface: calling selectAlternateInterface(octet, octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [Navigator interface: attribute usb] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionMinor" with the proper type] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "configurations" with the proper type] + expected: FAIL + + [USBConnectionEvent interface: attribute device] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USB interface: navigator.usb must inherit property "requestDevice(USBDeviceRequestOptions)" with the proper type] + expected: FAIL + + [USBDevice interface: attribute deviceSubclass] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "bytesWritten" with the proper type] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "direction" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "bytesWritten" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionMinor" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "releaseInterface(octet)" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: attribute data] + expected: FAIL + + [USBDevice interface: attribute deviceVersionMinor] + expected: FAIL + + [USBInTransferResult interface: attribute data] + expected: FAIL + + [USBIsochronousInTransferResult must be primary interface of new USBIsochronousInTransferResult([\])] + expected: FAIL + + [USB interface: existence and properties of interface prototype object] + expected: FAIL + + [USBInTransferResult interface object name] + expected: FAIL + + [USBInTransferResult interface object length] + expected: FAIL + + [USBPermissionResult interface object name] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBIsochronousInTransferPacket must be primary interface of new USBIsochronousInTransferPacket("ok")] + expected: FAIL + + [USB device setup] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: operation controlTransferIn(USBControlTransferParameters, unsigned short)] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface object] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionSubminor" with the proper type] + expected: FAIL + + [USBDevice interface: operation close()] + expected: FAIL + + [USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USB interface: operation requestDevice(USBDeviceRequestOptions)] + expected: FAIL + + [USBAlternateInterface interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "close()" with the proper type] + expected: FAIL + + [USBEndpoint must be primary interface of usbEndpoint] + expected: FAIL + + [Stringification of usbEndpoint] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBInterface interface object length] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object] + expected: FAIL + + [Navigator interface: navigator must inherit property "usb" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface object name] + expected: FAIL + + [USBDevice interface: calling controlTransferOut(USBControlTransferParameters, optional BufferSource) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: operation isochronousTransferIn(octet, sequence<unsigned long>)] + expected: FAIL + + [USBDevice interface: operation controlTransferOut(USBControlTransferParameters, optional BufferSource)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "isochronousTransferIn(octet, sequence<unsigned long>)" with the proper type] + expected: FAIL + + [USBDevice interface: calling isochronousTransferOut(octet, BufferSource, sequence<unsigned long>) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: operation isochronousTransferOut(octet, BufferSource, sequence<unsigned long>)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "controlTransferOut(USBControlTransferParameters, optional BufferSource)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "isochronousTransferOut(octet, BufferSource, sequence<unsigned long>)" with the proper type] + expected: FAIL + + [USBDevice interface: calling isochronousTransferIn(octet, sequence<unsigned long>) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + +[idlharness.https.any.worker.html] + [USBOutTransferResult interface object length] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface object] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute productName] + expected: FAIL + + [USBInterface interface: attribute interfaceNumber] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "open()" with the proper type] + expected: FAIL + + [USBDevice interface: attribute usbVersionMajor] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: operation transferOut(octet, BufferSource)] + expected: FAIL + + [USBAlternateInterface must be primary interface of usbAlternateInterface] + expected: FAIL + + [USB interface: member requestDevice] + expected: FAIL + + [USBDevice interface: attribute deviceVersionSubminor] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "selectConfiguration(octet)" with the proper type] + expected: FAIL + + [Stringification of new USBInTransferResult("ok")] + expected: FAIL + + [USBIsochronousOutTransferResult must be primary interface of new USBIsochronousOutTransferResult([\])] + expected: FAIL + + [USBDevice interface: attribute deviceClass] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "packetSize" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: attribute alternateSetting] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "serialNumber" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceProtocol" with the proper type] + expected: FAIL + + [USB interface object length] + expected: FAIL + + [USBDevice must be primary interface of usbDevice] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "interfaces" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "endpoints" with the proper type] + expected: FAIL + + [Stringification of new USBIsochronousOutTransferResult([\])] + expected: FAIL + + [Stringification of usbConfiguration] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "clearHalt(USBDirection, octet)" with the proper type] + expected: FAIL + + [USBDevice interface: operation selectConfiguration(octet)] + expected: FAIL + + [USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([\]) must inherit property "packets" with the proper type] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface object length] + expected: FAIL + + [USBOutTransferResult must be primary interface of new USBOutTransferResult("ok")] + expected: FAIL + + [USB interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: attribute status] + expected: FAIL + + [USBIsochronousInTransferResult interface: attribute packets] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: attribute opened] + expected: FAIL + + [USBConnectionEvent must be primary interface of usbConnectionEvent] + expected: FAIL + + [Stringification of usbAlternateInterface] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "manufacturerName" with the proper type] + expected: FAIL + + [USBDevice interface: attribute usbVersionMinor] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface: attribute configurationValue] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: calling selectConfiguration(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "claimInterface(octet)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "reset()" with the proper type] + expected: FAIL + + [USBIsochronousInTransferPacket interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "productName" with the proper type] + expected: FAIL + + [USBInterface interface: attribute alternate] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute usbVersionSubminor] + expected: FAIL + + [Stringification of navigator.usb] + expected: FAIL + + [USBConnectionEvent interface object name] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: attribute productId] + expected: FAIL + + [USB interface: navigator.usb must not have property "requestDevice"] + expected: FAIL + + [USBIsochronousInTransferPacket interface: attribute data] + expected: FAIL + + [USBEndpoint interface: attribute packetSize] + expected: FAIL + + [USB must be primary interface of navigator.usb] + expected: FAIL + + [USBInterface interface: attribute claimed] + expected: FAIL + + [USBIsochronousInTransferPacket interface: attribute status] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBEndpoint interface: attribute direction] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionMajor" with the proper type] + expected: FAIL + + [USBDevice interface: attribute vendorId] + expected: FAIL + + [Stringification of new USBIsochronousInTransferPacket("ok")] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBInterface interface: attribute alternates] + expected: FAIL + + [USBEndpoint interface object length] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "claimed" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferPacket interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "selectAlternateInterface(octet, octet)" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface: new USBIsochronousOutTransferResult([\]) must inherit property "packets" with the proper type] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface object name] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBAlternateInterface interface: attribute endpoints] + expected: FAIL + + [USB interface: navigator.usb must inherit property "ondisconnect" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "controlTransferIn(USBControlTransferParameters, unsigned short)" with the proper type] + expected: FAIL + + [USB interface: navigator.usb must inherit property "getDevices()" with the proper type] + expected: FAIL + + [USB interface: operation getDevices()] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "configurationValue" with the proper type] + expected: FAIL + + [USBAlternateInterface interface object name] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: attribute deviceVersionMajor] + expected: FAIL + + [USBDevice interface: attribute manufacturerName] + expected: FAIL + + [USB interface: existence and properties of interface object] + expected: FAIL + + [USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "data" with the proper type] + expected: FAIL + + [USBDevice interface: calling releaseInterface(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [Stringification of usbConnectionEvent] + expected: FAIL + + [USBConfiguration interface: usbConfiguration must inherit property "configurationName" with the proper type] + expected: FAIL + + [USBDevice interface: attribute serialNumber] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "configuration" with the proper type] + expected: FAIL + + [USBDevice interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USB interface: attribute onconnect] + expected: FAIL + + [USBConnectionEvent interface: usbConnectionEvent must inherit property "device" with the proper type] + expected: FAIL + + [USBDevice interface: operation transferIn(octet, unsigned long)] + expected: FAIL + + [USBIsochronousOutTransferResult interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [Stringification of usbInterface] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface object] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "productId" with the proper type] + expected: FAIL + + [USBDevice interface: calling clearHalt(USBDirection, octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBInterface must be primary interface of usbInterface] + expected: FAIL + + [USBIsochronousInTransferPacket interface object name] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: existence and properties of interface object] + expected: FAIL + + [Stringification of new USBOutTransferResult("ok")] + expected: FAIL + + [USBIsochronousInTransferResult interface object length] + expected: FAIL + + [USBDevice interface: calling transferIn(octet, unsigned long) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceName] + expected: FAIL + + [USBDevice interface: attribute configuration] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceClass" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferPacket must be primary interface of new USBIsochronousOutTransferPacket("ok")] + expected: FAIL + + [Stringification of usbDevice] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "alternates" with the proper type] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface: attribute interfaces] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBConfiguration must be primary interface of usbConfiguration] + expected: FAIL + + [USBDevice interface: operation claimInterface(octet)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "opened" with the proper type] + expected: FAIL + + [USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBInterface interface: existence and properties of interface object] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "alternate" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: attribute bytesWritten] + expected: FAIL + + [USBDevice interface: operation clearHalt(USBDirection, octet)] + expected: FAIL + + [USBDevice interface: operation reset()] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceSubclass" with the proper type] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "type" with the proper type] + expected: FAIL + + [USBInTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConnectionEvent interface object length] + expected: FAIL + + [USBDevice interface: operation selectAlternateInterface(octet, octet)] + expected: FAIL + + [USBOutTransferResult interface object name] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USB interface: attribute ondisconnect] + expected: FAIL + + [USBDevice interface object name] + expected: FAIL + + [USBConfiguration interface: attribute configurationName] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionMajor" with the proper type] + expected: FAIL + + [USBDevice interface: calling transferOut(octet, BufferSource) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBEndpoint interface: attribute type] + expected: FAIL + + [USBInTransferResult must be primary interface of new USBInTransferResult("ok")] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: calling controlTransferIn(USBControlTransferParameters, unsigned short) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [Stringification of new USBIsochronousInTransferResult([\])] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USB interface object name] + expected: FAIL + + [USBEndpoint interface: existence and properties of interface object] + expected: FAIL + + [USB interface: navigator.usb must inherit property "onconnect" with the proper type] + expected: FAIL + + [USBConfiguration interface object length] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceProtocol] + expected: FAIL + + [Stringification of new USBIsochronousOutTransferPacket("ok")] + expected: FAIL + + [USBOutTransferResult interface: attribute status] + expected: FAIL + + [USBInterface interface object name] + expected: FAIL + + [USBIsochronousInTransferResult interface: new USBIsochronousInTransferResult([\]) must inherit property "data" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceSubclass" with the proper type] + expected: FAIL + + [USBDevice interface: attribute configurations] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "endpointNumber" with the proper type] + expected: FAIL + + [USBInTransferResult interface: new USBInTransferResult("ok") must inherit property "data" with the proper type] + expected: FAIL + + [USBInTransferResult interface: attribute status] + expected: FAIL + + [USBInterface interface: usbInterface must inherit property "interfaceNumber" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: attribute deviceProtocol] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "vendorId" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: attribute bytesWritten] + expected: FAIL + + [USBEndpoint interface: attribute endpointNumber] + expected: FAIL + + [USBDevice interface: operation releaseInterface(octet)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceClass" with the proper type] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceSubclass] + expected: FAIL + + [USBEndpoint interface object name] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceName" with the proper type] + expected: FAIL + + [USBIsochronousOutTransferResult interface object length] + expected: FAIL + + [WorkerNavigator interface: attribute usb] + expected: FAIL + + [USBConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionSubminor" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "interfaceProtocol" with the proper type] + expected: FAIL + + [USBDevice interface: operation open()] + expected: FAIL + + [USBIsochronousOutTransferResult interface: attribute packets] + expected: FAIL + + [USBDevice interface: calling claimInterface(octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBAlternateInterface interface: attribute interfaceClass] + expected: FAIL + + [USB interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBAlternateInterface interface: usbAlternateInterface must inherit property "alternateSetting" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "transferOut(octet, BufferSource)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "transferIn(octet, unsigned long)" with the proper type] + expected: FAIL + + [USBDevice interface: calling selectAlternateInterface(octet, octet) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionMinor" with the proper type] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "configurations" with the proper type] + expected: FAIL + + [USBConnectionEvent interface: attribute device] + expected: FAIL + + [USBIsochronousInTransferPacket interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: attribute deviceSubclass] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPacket("ok") must inherit property "bytesWritten" with the proper type] + expected: FAIL + + [USBEndpoint interface: usbEndpoint must inherit property "direction" with the proper type] + expected: FAIL + + [USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "bytesWritten" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "deviceVersionMinor" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "releaseInterface(octet)" with the proper type] + expected: FAIL + + [USBIsochronousInTransferResult interface: attribute data] + expected: FAIL + + [USBDevice interface: attribute deviceVersionMinor] + expected: FAIL + + [USBInTransferResult interface: attribute data] + expected: FAIL + + [USBIsochronousInTransferResult must be primary interface of new USBIsochronousInTransferResult([\])] + expected: FAIL + + [USB interface: existence and properties of interface prototype object] + expected: FAIL + + [WorkerNavigator interface: navigator must inherit property "usb" with the proper type] + expected: FAIL + + [USBInTransferResult interface object name] + expected: FAIL + + [USBInTransferResult interface object length] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBIsochronousInTransferPacket must be primary interface of new USBIsochronousInTransferPacket("ok")] + expected: FAIL + + [USB device setup] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: operation controlTransferIn(USBControlTransferParameters, unsigned short)] + expected: FAIL + + [USBOutTransferResult interface: existence and properties of interface object] + expected: FAIL + + [USBInterface interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "usbVersionSubminor" with the proper type] + expected: FAIL + + [USBConfiguration interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBDevice interface: operation close()] + expected: FAIL + + [USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacket("ok") must inherit property "status" with the proper type] + expected: FAIL + + [USBAlternateInterface interface object length] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "close()" with the proper type] + expected: FAIL + + [USBEndpoint must be primary interface of usbEndpoint] + expected: FAIL + + [Stringification of usbEndpoint] + expected: FAIL + + [USBInterface interface object length] + expected: FAIL + + [USBAlternateInterface interface: existence and properties of interface object] + expected: FAIL + + [USBIsochronousOutTransferPacket interface: existence and properties of interface prototype object] + expected: FAIL + + [USBIsochronousOutTransferResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBConfiguration interface object name] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [USBPermissionResult interface: attribute devices] + expected: FAIL + + [USBPermissionResult interface object length] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [USBPermissionResult interface object name] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface object] + expected: FAIL + + [USBPermissionResult interface: existence and properties of interface prototype object] + expected: FAIL + + [USBDevice interface: calling controlTransferOut(USBControlTransferParameters, optional BufferSource) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: operation isochronousTransferIn(octet, sequence<unsigned long>)] + expected: FAIL + + [USBDevice interface: operation controlTransferOut(USBControlTransferParameters, optional BufferSource)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "isochronousTransferIn(octet, sequence<unsigned long>)" with the proper type] + expected: FAIL + + [USBDevice interface: calling isochronousTransferOut(octet, BufferSource, sequence<unsigned long>) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + [USBDevice interface: operation isochronousTransferOut(octet, BufferSource, sequence<unsigned long>)] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "controlTransferOut(USBControlTransferParameters, optional BufferSource)" with the proper type] + expected: FAIL + + [USBDevice interface: usbDevice must inherit property "isochronousTransferOut(octet, BufferSource, sequence<unsigned long>)" with the proper type] + expected: FAIL + + [USBDevice interface: calling isochronousTransferIn(octet, sequence<unsigned long>) on usbDevice with too few arguments must throw TypeError] + expected: FAIL + + +[idlharness.https.any.sharedworker.html] + [WebUSB IDL test] + expected: FAIL + + [idlharness] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usb.https.any.js.ini b/testing/web-platform/meta/webusb/usb.https.any.js.ini new file mode 100644 index 0000000000..7e20d8e52d --- /dev/null +++ b/testing/web-platform/meta/webusb/usb.https.any.js.ini @@ -0,0 +1,41 @@ +[usb.https.any.html] + [getDevices returns devices that are connected] + expected: FAIL + + [getDevices returns the same objects for each USB device] + expected: FAIL + + [onconnect event is trigged by adding a device] + expected: FAIL + + [ondisconnect event is triggered by removing a device] + expected: FAIL + + +[usb.https.any.sharedworker.html] + [getDevices returns devices that are connected] + expected: FAIL + + [getDevices returns the same objects for each USB device] + expected: FAIL + + [onconnect event is trigged by adding a device] + expected: FAIL + + [ondisconnect event is triggered by removing a device] + expected: FAIL + + +[usb.https.any.worker.html] + [getDevices returns devices that are connected] + expected: FAIL + + [getDevices returns the same objects for each USB device] + expected: FAIL + + [onconnect event is trigged by adding a device] + expected: FAIL + + [ondisconnect event is triggered by removing a device] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usb.https.window.js.ini b/testing/web-platform/meta/webusb/usb.https.window.js.ini new file mode 100644 index 0000000000..69e16fcd33 --- /dev/null +++ b/testing/web-platform/meta/webusb/usb.https.window.js.ini @@ -0,0 +1,22 @@ +[usb.https.window.html] + [requestDevice rejects when called without a user gesture] + expected: FAIL + + [requestDevice rejects when no device is chosen] + expected: FAIL + + [requestDevice returns the device chosen by the user] + expected: FAIL + + [getDevices returns the same object as requestDevice] + expected: FAIL + + [filters are sent correctly] + expected: FAIL + + [multiple requestDevice calls are allowed per user activation] + expected: FAIL + + [requestDevice rejects on invalid filters] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbAlternateInterface.https.any.js.ini b/testing/web-platform/meta/webusb/usbAlternateInterface.https.any.js.ini new file mode 100644 index 0000000000..78cb9e23b3 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbAlternateInterface.https.any.js.ini @@ -0,0 +1,15 @@ +[usbAlternateInterface.https.any.html] + [Constructing a USBAlternateInterface with an invalid alternate setting throws a range error.] + expected: FAIL + + [Can construct a USBAlternateInterface.] + expected: FAIL + + +[usbAlternateInterface.https.any.worker.html] + [Constructing a USBAlternateInterface with an invalid alternate setting throws a range error.] + expected: FAIL + + [Can construct a USBAlternateInterface.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbConfiguration.https.any.js.ini b/testing/web-platform/meta/webusb/usbConfiguration.https.any.js.ini new file mode 100644 index 0000000000..eb897297f3 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbConfiguration.https.any.js.ini @@ -0,0 +1,15 @@ +[usbConfiguration.https.any.worker.html] + [Can construct a USBConfiguration.] + expected: FAIL + + [Constructing a USBConfiguration with an invalid configuration value throws a range error.] + expected: FAIL + + +[usbConfiguration.https.any.html] + [Can construct a USBConfiguration.] + expected: FAIL + + [Constructing a USBConfiguration with an invalid configuration value throws a range error.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbConnectionEvent.https.any.js.ini b/testing/web-platform/meta/webusb/usbConnectionEvent.https.any.js.ini new file mode 100644 index 0000000000..f11322d354 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbConnectionEvent.https.any.js.ini @@ -0,0 +1,23 @@ +[usbConnectionEvent.https.any.sharedworker.html] + [Can construct a USBConnectionEvent with a device] + expected: FAIL + + [Cannot construct a USBConnectionEvent without a device] + expected: FAIL + + +[usbConnectionEvent.https.any.worker.html] + [Can construct a USBConnectionEvent with a device] + expected: FAIL + + [Cannot construct a USBConnectionEvent without a device] + expected: FAIL + + +[usbConnectionEvent.https.any.html] + [Can construct a USBConnectionEvent with a device] + expected: FAIL + + [Cannot construct a USBConnectionEvent without a device] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbDevice-iframe.https.html.ini b/testing/web-platform/meta/webusb/usbDevice-iframe.https.html.ini new file mode 100644 index 0000000000..d655eb1388 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbDevice-iframe.https.html.ini @@ -0,0 +1,7 @@ +[usbDevice-iframe.https.html] + [detaching iframe disconnects device.] + expected: FAIL + + [navigating iframe disconnects device.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbDevice-worker.https.html.ini b/testing/web-platform/meta/webusb/usbDevice-worker.https.html.ini new file mode 100644 index 0000000000..0876a0a5c7 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbDevice-worker.https.html.ini @@ -0,0 +1,4 @@ +[usbDevice-worker.https.html] + [terminating worker disconnects device.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbDevice.https.any.js.ini b/testing/web-platform/meta/webusb/usbDevice.https.any.js.ini new file mode 100644 index 0000000000..9745a75a8c --- /dev/null +++ b/testing/web-platform/meta/webusb/usbDevice.https.any.js.ini @@ -0,0 +1,455 @@ +[usbDevice.https.any.html] + [open rejects when called on a disconnected device] + expected: FAIL + + [disconnection closes the device] + expected: FAIL + + [a device can be opened and closed] + expected: FAIL + + [open and close can be called multiple times] + expected: FAIL + + [open and close cannot be called again while open or close are in progress] + expected: FAIL + + [close rejects when called on a disconnected device] + expected: FAIL + + [selectConfiguration rejects when called on a disconnected device] + expected: FAIL + + [methods requiring it reject when the device is not open] + expected: FAIL + + [device configuration can be set and queried] + expected: FAIL + + [selectConfiguration rejects on invalid configurations] + expected: FAIL + + [methods requiring it reject when the device is unconfigured] + expected: FAIL + + [interfaces are released on close] + expected: FAIL + + [a non-existent interface cannot be claimed or released] + expected: FAIL + + [claimInterface rejects when called on a disconnected device] + expected: FAIL + + [releaseInterface rejects when called on a disconnected device] + expected: FAIL + + [can select an alternate interface] + expected: FAIL + + [cannot select a non-existent alternate interface] + expected: FAIL + + [selectAlternateInterface rejects when called on a disconnected device] + expected: FAIL + + [controlTransferIn rejects when called on a disconnected device] + expected: FAIL + + [controlTransferOut rejects when called on a disconnected device] + expected: FAIL + + [requests to interfaces and endpoint require an interface claim] + expected: FAIL + + [can clear a halt condition] + expected: FAIL + + [clearHalt rejects when called on a disconnected device] + expected: FAIL + + [transfers to unavailable endpoints are rejected] + expected: FAIL + + [can issue IN interrupt transfer] + expected: FAIL + + [can issue IN bulk transfer] + expected: FAIL + + [transferIn rejects if called on a disconnected device] + expected: FAIL + + [can issue OUT bulk transfer] + expected: FAIL + + [transferOut rejects if called on a disconnected device] + expected: FAIL + + [can issue IN isochronous transfer] + expected: FAIL + + [isochronousTransferIn rejects when called on a disconnected device] + expected: FAIL + + [can issue OUT isochronous transfer] + expected: FAIL + + [isochronousTransferOut rejects when called on a disconnected device] + expected: FAIL + + [can reset the device] + expected: FAIL + + [resetDevice rejects when called on a disconnected device] + expected: FAIL + + [control transfers with a invalid recipient type reject] + expected: FAIL + + [device operations reject if an device state change is in progress] + expected: FAIL + + [can issue all types of IN control transfers] + expected: FAIL + + [an interface can be claimed multiple times] + expected: FAIL + + [an interface can be released multiple times] + expected: FAIL + + [a device configuration value can be set again] + expected: FAIL + + [control transfers to a non-existant interface reject] + expected: FAIL + + [device operations reject if an interface state change is in progress] + expected: FAIL + + [can issue all types of OUT control transfers] + expected: FAIL + + [control transfers with a invalid request type reject] + expected: FAIL + + [transferOut rejects if called with a detached buffer] + expected: FAIL + + [controlTransferOut rejects if called with a detached buffer] + expected: FAIL + + [isochronousTransferOut rejects when called with a detached buffer] + expected: FAIL + + [interfaces can be claimed and released] + expected: FAIL + + [interfaces can be claimed and released in parallel] + expected: FAIL + + [device-scope OUT control transfers don't require configuration] + expected: FAIL + + [device-scope IN control transfers don't require configuration] + expected: FAIL + + [interface-scope OUT control transfers an interface claim] + expected: FAIL + + [interface-scope IN control transfers require claiming the interface] + expected: FAIL + + [interface-scope IN control transfers require configuration] + expected: FAIL + + [interface-scope OUT control transfers require configuration] + expected: FAIL + + +[usbDevice.https.any.worker.html] + [open rejects when called on a disconnected device] + expected: FAIL + + [disconnection closes the device] + expected: FAIL + + [a device can be opened and closed] + expected: FAIL + + [open and close can be called multiple times] + expected: FAIL + + [open and close cannot be called again while open or close are in progress] + expected: FAIL + + [close rejects when called on a disconnected device] + expected: FAIL + + [selectConfiguration rejects when called on a disconnected device] + expected: FAIL + + [methods requiring it reject when the device is not open] + expected: FAIL + + [device configuration can be set and queried] + expected: FAIL + + [selectConfiguration rejects on invalid configurations] + expected: FAIL + + [methods requiring it reject when the device is unconfigured] + expected: FAIL + + [interfaces are released on close] + expected: FAIL + + [a non-existent interface cannot be claimed or released] + expected: FAIL + + [claimInterface rejects when called on a disconnected device] + expected: FAIL + + [releaseInterface rejects when called on a disconnected device] + expected: FAIL + + [can select an alternate interface] + expected: FAIL + + [cannot select a non-existent alternate interface] + expected: FAIL + + [selectAlternateInterface rejects when called on a disconnected device] + expected: FAIL + + [controlTransferIn rejects when called on a disconnected device] + expected: FAIL + + [controlTransferOut rejects when called on a disconnected device] + expected: FAIL + + [requests to interfaces and endpoint require an interface claim] + expected: FAIL + + [can clear a halt condition] + expected: FAIL + + [clearHalt rejects when called on a disconnected device] + expected: FAIL + + [transfers to unavailable endpoints are rejected] + expected: FAIL + + [can issue IN interrupt transfer] + expected: FAIL + + [can issue IN bulk transfer] + expected: FAIL + + [transferIn rejects if called on a disconnected device] + expected: FAIL + + [can issue OUT bulk transfer] + expected: FAIL + + [transferOut rejects if called on a disconnected device] + expected: FAIL + + [can issue IN isochronous transfer] + expected: FAIL + + [isochronousTransferIn rejects when called on a disconnected device] + expected: FAIL + + [can issue OUT isochronous transfer] + expected: FAIL + + [isochronousTransferOut rejects when called on a disconnected device] + expected: FAIL + + [can reset the device] + expected: FAIL + + [resetDevice rejects when called on a disconnected device] + expected: FAIL + + [control transfers with a invalid recipient type reject] + expected: FAIL + + [device operations reject if an device state change is in progress] + expected: FAIL + + [can issue all types of IN control transfers] + expected: FAIL + + [an interface can be claimed multiple times] + expected: FAIL + + [an interface can be released multiple times] + expected: FAIL + + [a device configuration value can be set again] + expected: FAIL + + [control transfers to a non-existant interface reject] + expected: FAIL + + [device operations reject if an interface state change is in progress] + expected: FAIL + + [can issue all types of OUT control transfers] + expected: FAIL + + [control transfers with a invalid request type reject] + expected: FAIL + + [transferOut rejects if called with a detached buffer] + expected: FAIL + + [controlTransferOut rejects if called with a detached buffer] + expected: FAIL + + [isochronousTransferOut rejects when called with a detached buffer] + expected: FAIL + + [interfaces can be claimed and released] + expected: FAIL + + [interfaces can be claimed and released in parallel] + expected: FAIL + + [device-scope OUT control transfers don't require configuration] + expected: FAIL + + [device-scope IN control transfers don't require configuration] + expected: FAIL + + [interface-scope OUT control transfers an interface claim] + expected: FAIL + + [interface-scope IN control transfers require claiming the interface] + expected: FAIL + + [interface-scope IN control transfers require configuration] + expected: FAIL + + [interface-scope OUT control transfers require configuration] + expected: FAIL + + +[usbDevice.https.any.sharedworker.html] + [open rejects when called on a disconnected device] + expected: FAIL + + [disconnection closes the device] + expected: FAIL + + [a device can be opened and closed] + expected: FAIL + + [open and close can be called multiple times] + expected: FAIL + + [open and close cannot be called again while open or close are in progress] + expected: FAIL + + [close rejects when called on a disconnected device] + expected: FAIL + + [selectConfiguration rejects when called on a disconnected device] + expected: FAIL + + [methods requiring it reject when the device is not open] + expected: FAIL + + [device configuration can be set and queried] + expected: FAIL + + [selectConfiguration rejects on invalid configurations] + expected: FAIL + + [methods requiring it reject when the device is unconfigured] + expected: FAIL + + [an interface can be claimed and released] + expected: FAIL + + [interfaces are released on close] + expected: FAIL + + [a non-existent interface cannot be claimed or released] + expected: FAIL + + [claimInterface rejects when called on a disconnected device] + expected: FAIL + + [releaseInterface rejects when called on a disconnected device] + expected: FAIL + + [can select an alternate interface] + expected: FAIL + + [cannot select a non-existent alternate interface] + expected: FAIL + + [selectAlternateInterface rejects when called on a disconnected device] + expected: FAIL + + [can issue IN control transfer] + expected: FAIL + + [controlTransferIn rejects when called on a disconnected device] + expected: FAIL + + [can issue OUT control transfer] + expected: FAIL + + [controlTransferOut rejects when called on a disconnected device] + expected: FAIL + + [requests to interfaces and endpoint require an interface claim] + expected: FAIL + + [can clear a halt condition] + expected: FAIL + + [clearHalt rejects when called on a disconnected device] + expected: FAIL + + [transfers to unavailable endpoints are rejected] + expected: FAIL + + [can issue IN interrupt transfer] + expected: FAIL + + [can issue IN bulk transfer] + expected: FAIL + + [transferIn rejects if called on a disconnected device] + expected: FAIL + + [can issue OUT bulk transfer] + expected: FAIL + + [transferOut rejects if called on a disconnected device] + expected: FAIL + + [can issue IN isochronous transfer] + expected: FAIL + + [isochronousTransferIn rejects when called on a disconnected device] + expected: FAIL + + [can issue OUT isochronous transfer] + expected: FAIL + + [isochronousTransferOut rejects when called on a disconnected device] + expected: FAIL + + [can reset the device] + expected: FAIL + + [resetDevice rejects when called on a disconnected device] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbEndpoint.https.any.js.ini b/testing/web-platform/meta/webusb/usbEndpoint.https.any.js.ini new file mode 100644 index 0000000000..88798fd146 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbEndpoint.https.any.js.ini @@ -0,0 +1,15 @@ +[usbEndpoint.https.any.html] + [Can construct a USBEndpoint.] + expected: FAIL + + [Constructing a USBEndpoint with an invalid endpoint number throws a range error.] + expected: FAIL + + +[usbEndpoint.https.any.worker.html] + [Can construct a USBEndpoint.] + expected: FAIL + + [Constructing a USBEndpoint with an invalid endpoint number throws a range error.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbInTransferResult.https.any.js.ini b/testing/web-platform/meta/webusb/usbInTransferResult.https.any.js.ini new file mode 100644 index 0000000000..d2b896db07 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbInTransferResult.https.any.js.ini @@ -0,0 +1,41 @@ +[usbInTransferResult.https.any.worker.html] + [Can construct a USBInTransferResult] + expected: FAIL + + [Can construct a USBInTransferResult without a DataView] + expected: FAIL + + [Cannot construct USBInTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBInTransferResult without a status] + expected: FAIL + + +[usbInTransferResult.https.any.sharedworker.html] + [Can construct a USBInTransferResult] + expected: FAIL + + [Can construct a USBInTransferResult without a DataView] + expected: FAIL + + [Cannot construct USBInTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBInTransferResult without a status] + expected: FAIL + + +[usbInTransferResult.https.any.html] + [Can construct a USBInTransferResult] + expected: FAIL + + [Can construct a USBInTransferResult without a DataView] + expected: FAIL + + [Cannot construct USBInTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBInTransferResult without a status] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbInterface.https.any.js.ini b/testing/web-platform/meta/webusb/usbInterface.https.any.js.ini new file mode 100644 index 0000000000..5f69691502 --- /dev/null +++ b/testing/web-platform/meta/webusb/usbInterface.https.any.js.ini @@ -0,0 +1,27 @@ +[usbInterface.https.any.html] + [The alternate attribute of USBInterface returns null if the interfacehas not been claimed.] + expected: FAIL + + [The alternate attribute of USBInterface returns the active alternate interface.] + expected: FAIL + + [Can construct a USBInterface.] + expected: FAIL + + [Constructing a USBInterface with an invalid interface number throws a range error.] + expected: FAIL + + +[usbInterface.https.any.worker.html] + [The alternate attribute of USBInterface returns null if the interfacehas not been claimed.] + expected: FAIL + + [The alternate attribute of USBInterface returns the active alternate interface.] + expected: FAIL + + [Can construct a USBInterface.] + expected: FAIL + + [Constructing a USBInterface with an invalid interface number throws a range error.] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbIsochronousInTransferPacket.https.any.js.ini b/testing/web-platform/meta/webusb/usbIsochronousInTransferPacket.https.any.js.ini new file mode 100644 index 0000000000..7b49db02ca --- /dev/null +++ b/testing/web-platform/meta/webusb/usbIsochronousInTransferPacket.https.any.js.ini @@ -0,0 +1,41 @@ +[usbIsochronousInTransferPacket.https.any.html] + [Can construct a USBIsochronousInTransferPacket] + expected: FAIL + + [Can construct a USBIsochronousInTransferPacket without a DataView] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket without a status] + expected: FAIL + + +[usbIsochronousInTransferPacket.https.any.worker.html] + [Can construct a USBIsochronousInTransferPacket] + expected: FAIL + + [Can construct a USBIsochronousInTransferPacket without a DataView] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket without a status] + expected: FAIL + + +[usbIsochronousInTransferPacket.https.any.sharedworker.html] + [Can construct a USBIsochronousInTransferPacket] + expected: FAIL + + [Can construct a USBIsochronousInTransferPacket without a DataView] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousInTransferPacket without a status] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbIsochronousInTransferResult.https.any.js.ini b/testing/web-platform/meta/webusb/usbIsochronousInTransferResult.https.any.js.ini new file mode 100644 index 0000000000..cd18d6787e --- /dev/null +++ b/testing/web-platform/meta/webusb/usbIsochronousInTransferResult.https.any.js.ini @@ -0,0 +1,32 @@ +[usbIsochronousInTransferResult.https.any.html] + [Can construct a USBIsochronousInTransferResult] + expected: FAIL + + [Can construct a USBIsochronousInTransferResult without a DataView] + expected: FAIL + + [Cannot construct a USBIsochronousInTransferResult without packets] + expected: FAIL + + +[usbIsochronousInTransferResult.https.any.worker.html] + [Can construct a USBIsochronousInTransferResult] + expected: FAIL + + [Can construct a USBIsochronousInTransferResult without a DataView] + expected: FAIL + + [Cannot construct a USBIsochronousInTransferResult without packets] + expected: FAIL + + +[usbIsochronousInTransferResult.https.any.sharedworker.html] + [Can construct a USBIsochronousInTransferResult] + expected: FAIL + + [Can construct a USBIsochronousInTransferResult without a DataView] + expected: FAIL + + [Cannot construct a USBIsochronousInTransferResult without packets] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbIsochronousOutTransferPacket.https.any.js.ini b/testing/web-platform/meta/webusb/usbIsochronousOutTransferPacket.https.any.js.ini new file mode 100644 index 0000000000..b7c1c4207a --- /dev/null +++ b/testing/web-platform/meta/webusb/usbIsochronousOutTransferPacket.https.any.js.ini @@ -0,0 +1,32 @@ +[usbIsochronousOutTransferPacket.https.any.html] + [Can construct USBIsochronousOutTransferPacket] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket without a status] + expected: FAIL + + +[usbIsochronousOutTransferPacket.https.any.worker.html] + [Can construct USBIsochronousOutTransferPacket] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket without a status] + expected: FAIL + + +[usbIsochronousOutTransferPacket.https.any.sharedworker.html] + [Can construct USBIsochronousOutTransferPacket] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket with an invalid status] + expected: FAIL + + [Cannot construct USBIsochronousOutTransferPacket without a status] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbIsochronousOutTransferResult.https.any.js.ini b/testing/web-platform/meta/webusb/usbIsochronousOutTransferResult.https.any.js.ini new file mode 100644 index 0000000000..39be79cdcb --- /dev/null +++ b/testing/web-platform/meta/webusb/usbIsochronousOutTransferResult.https.any.js.ini @@ -0,0 +1,23 @@ +[usbIsochronousOutTransferResult.https.any.sharedworker.html] + [Can construct a USBIsochronousOutTransferResult] + expected: FAIL + + [Cannot construct a USBIsochronousOutTransferResult without packets] + expected: FAIL + + +[usbIsochronousOutTransferResult.https.any.worker.html] + [Can construct a USBIsochronousOutTransferResult] + expected: FAIL + + [Cannot construct a USBIsochronousOutTransferResult without packets] + expected: FAIL + + +[usbIsochronousOutTransferResult.https.any.html] + [Can construct a USBIsochronousOutTransferResult] + expected: FAIL + + [Cannot construct a USBIsochronousOutTransferResult without packets] + expected: FAIL + diff --git a/testing/web-platform/meta/webusb/usbOutTransferResult.https.any.js.ini b/testing/web-platform/meta/webusb/usbOutTransferResult.https.any.js.ini new file mode 100644 index 0000000000..edb2a7433d --- /dev/null +++ b/testing/web-platform/meta/webusb/usbOutTransferResult.https.any.js.ini @@ -0,0 +1,32 @@ +[usbOutTransferResult.https.any.html] + [Can construct USBOutTransferResult] + expected: FAIL + + [Cannot construct USBOutTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBOutTransferResult without a status] + expected: FAIL + + +[usbOutTransferResult.https.any.worker.html] + [Can construct USBOutTransferResult] + expected: FAIL + + [Cannot construct USBOutTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBOutTransferResult without a status] + expected: FAIL + + +[usbOutTransferResult.https.any.sharedworker.html] + [Can construct USBOutTransferResult] + expected: FAIL + + [Cannot construct USBOutTransferResult with an invalid status] + expected: FAIL + + [Cannot construct USBOutTransferResult without a status] + expected: FAIL + |