Closed Bug 1467562 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11384 - Update existing WebUSB WPT to be multi-global

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11384 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11384
Details from upstream follow.

Ovidio Henriquez <odejesush@chromium.org> wrote:
>  Update existing WebUSB WPT to be multi-global
>  
>  This change updates the remaining WebUSB web platform tests to be
>  multi-global so that the API is also tested in the worker contexts.
>  
>  Bug: 841510
>  Change-Id: I9df24f1ae4289ab742db275c34552200bb477b22
>  Reviewed-on: https://chromium-review.googlesource.com/1089033
>  WPT-Export-Revision: b157227dbf849c911ec681725e4dc97226fffc9b
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 21 tests and 171 subtests
OK     : 21
FAIL   : 171

New tests that have failures or other problems:
/webusb/usbDevice.https.any.html
    a device can be opened and closed: FAIL
    a non-existent interface cannot be claimed or released: FAIL
    an interface can be claimed and released: FAIL
    can clear a halt condition: FAIL
    can issue IN bulk transfer: FAIL
    can issue IN control transfer: FAIL
    can issue IN interrupt transfer: FAIL
    can issue IN isochronous transfer: FAIL
    can issue OUT bulk transfer: FAIL
    can issue OUT control transfer: FAIL
    can issue OUT isochronous transfer: FAIL
    can reset the device: FAIL
    can select an alternate interface: FAIL
    cannot select a non-existent alternate interface: FAIL
    claimInterface rejects when called on a disconnected device: FAIL
    clearHalt rejects when called on a disconnected device: FAIL
    close rejects when called on a disconnected device: FAIL
    controlTransferIn rejects when called on a disconnected device: FAIL
    controlTransferOut rejects when called on a disconnected device: FAIL
    device configuration can be set and queried: FAIL
    disconnection closes the device: FAIL
    interfaces are released on close: FAIL
    isochronousTransferIn rejects when called on a disconnected device: FAIL
    isochronousTransferOut rejects when called on a disconnected device: FAIL
    methods requiring it reject when the device is not open: FAIL
    methods requiring it reject when the device is unconfigured: FAIL
    open and close can be called multiple times: FAIL
    open and close cannot be called again while open or close are in progress: FAIL
    open rejects when called on a disconnected device: FAIL
    releaseInterface rejects when called on a disconnected device: FAIL
    requests to interfaces and endpoint require an interface claim: FAIL
    resetDevice rejects when called on a disconnected device: FAIL
    selectAlternateInterface rejects when called on a disconnected device: FAIL
    selectConfiguration rejects on invalid configurations: FAIL
    selectConfiguration rejects when called on a disconnected device: FAIL
    transferIn rejects if called on a disconnected device: FAIL
    transferOut rejects if called on a disconnected device: FAIL
    transfers to unavailable endpoints are rejected: FAIL
/webusb/usbDevice.https.any.sharedworker.html
    a device can be opened and closed: FAIL
    a non-existent interface cannot be claimed or released: FAIL
    an interface can be claimed and released: FAIL
    can clear a halt condition: FAIL
    can issue IN bulk transfer: FAIL
    can issue IN control transfer: FAIL
    can issue IN interrupt transfer: FAIL
    can issue IN isochronous transfer: FAIL
    can issue OUT bulk transfer: FAIL
    can issue OUT control transfer: FAIL
    can issue OUT isochronous transfer: FAIL
    can reset the device: FAIL
    can select an alternate interface: FAIL
    cannot select a non-existent alternate interface: FAIL
    claimInterface rejects when called on a disconnected device: FAIL
    clearHalt rejects when called on a disconnected device: FAIL
    close rejects when called on a disconnected device: FAIL
    controlTransferIn rejects when called on a disconnected device: FAIL
    controlTransferOut rejects when called on a disconnected device: FAIL
    device configuration can be set and queried: FAIL
    disconnection closes the device: FAIL
    interfaces are released on close: FAIL
    isochronousTransferIn rejects when called on a disconnected device: FAIL
    isochronousTransferOut rejects when called on a disconnected device: FAIL
    methods requiring it reject when the device is not open: FAIL
    methods requiring it reject when the device is unconfigured: FAIL
    open and close can be called multiple times: FAIL
    open and close cannot be called again while open or close are in progress: FAIL
    open rejects when called on a disconnected device: FAIL
    releaseInterface rejects when called on a disconnected device: FAIL
    requests to interfaces and endpoint require an interface claim: FAIL
    resetDevice rejects when called on a disconnected device: FAIL
    selectAlternateInterface rejects when called on a disconnected device: FAIL
    selectConfiguration rejects on invalid configurations: FAIL
    selectConfiguration rejects when called on a disconnected device: FAIL
    transferIn rejects if called on a disconnected device: FAIL
    transferOut rejects if called on a disconnected device: FAIL
    transfers to unavailable endpoints are rejected: FAIL
/webusb/usbDevice.https.any.worker.html
    a device can be opened and closed: FAIL
    a non-existent interface cannot be claimed or released: FAIL
    an interface can be claimed and released: FAIL
    can clear a halt condition: FAIL
    can issue IN bulk transfer: FAIL
    can issue IN control transfer: FAIL
    can issue IN interrupt transfer: FAIL
    can issue IN isochronous transfer: FAIL
    can issue OUT bulk transfer: FAIL
    can issue OUT control transfer: FAIL
    can issue OUT isochronous transfer: FAIL
    can reset the device: FAIL
    can select an alternate interface: FAIL
    cannot select a non-existent alternate interface: FAIL
    claimInterface rejects when called on a disconnected device: FAIL
    clearHalt rejects when called on a disconnected device: FAIL
    close rejects when called on a disconnected device: FAIL
    controlTransferIn rejects when called on a disconnected device: FAIL
    controlTransferOut rejects when called on a disconnected device: FAIL
    device configuration can be set and queried: FAIL
    disconnection closes the device: FAIL
    interfaces are released on close: FAIL
    isochronousTransferIn rejects when called on a disconnected device: FAIL
    isochronousTransferOut rejects when called on a disconnected device: FAIL
    methods requiring it reject when the device is not open: FAIL
    methods requiring it reject when the device is unconfigured: FAIL
    open and close can be called multiple times: FAIL
    open and close cannot be called again while open or close are in progress: FAIL
    open rejects when called on a disconnected device: FAIL
    releaseInterface rejects when called on a disconnected device: FAIL
    requests to interfaces and endpoint require an interface claim: FAIL
    resetDevice rejects when called on a disconnected device: FAIL
    selectAlternateInterface rejects when called on a disconnected device: FAIL
    selectConfiguration rejects on invalid configurations: FAIL
    selectConfiguration rejects when called on a disconnected device: FAIL
    transferIn rejects if called on a disconnected device: FAIL
    transferOut rejects if called on a disconnected device: FAIL
    transfers to unavailable endpoints are rejected: FAIL
/webusb/usbInTransferResult.https.any.html
    Can construct a USBInTransferResult: FAIL
    Can construct a USBInTransferResult without a DataView: FAIL
    Cannot construct USBInTransferResult with an invalid status: FAIL
    Cannot construct USBInTransferResult without a status: FAIL
/webusb/usbInTransferResult.https.any.sharedworker.html
    Can construct a USBInTransferResult: FAIL
    Can construct a USBInTransferResult without a DataView: FAIL
    Cannot construct USBInTransferResult with an invalid status: FAIL
    Cannot construct USBInTransferResult without a status: FAIL
/webusb/usbInTransferResult.https.any.worker.html
    Can construct a USBInTransferResult: FAIL
    Can construct a USBInTransferResult without a DataView: FAIL
    Cannot construct USBInTransferResult with an invalid status: FAIL
    Cannot construct USBInTransferResult without a status: FAIL
/webusb/usbIsochronousInTransferPacket.https.any.html
    Can construct a USBIsochronousInTransferPacket: FAIL
    Can construct a USBIsochronousInTransferPacket without a DataView: FAIL
    Cannot construct USBIsochronousInTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousInTransferPacket without a status: FAIL
/webusb/usbIsochronousInTransferPacket.https.any.sharedworker.html
    Can construct a USBIsochronousInTransferPacket: FAIL
    Can construct a USBIsochronousInTransferPacket without a DataView: FAIL
    Cannot construct USBIsochronousInTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousInTransferPacket without a status: FAIL
/webusb/usbIsochronousInTransferPacket.https.any.worker.html
    Can construct a USBIsochronousInTransferPacket: FAIL
    Can construct a USBIsochronousInTransferPacket without a DataView: FAIL
    Cannot construct USBIsochronousInTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousInTransferPacket without a status: FAIL
/webusb/usbIsochronousInTransferResult.https.any.html
    Can construct a USBIsochronousInTransferResult: FAIL
    Can construct a USBIsochronousInTransferResult without a DataView: FAIL
    Cannot construct a USBIsochronousInTransferResult without packets: FAIL
/webusb/usbIsochronousInTransferResult.https.any.sharedworker.html
    Can construct a USBIsochronousInTransferResult: FAIL
    Can construct a USBIsochronousInTransferResult without a DataView: FAIL
    Cannot construct a USBIsochronousInTransferResult without packets: FAIL
/webusb/usbIsochronousInTransferResult.https.any.worker.html
    Can construct a USBIsochronousInTransferResult: FAIL
    Can construct a USBIsochronousInTransferResult without a DataView: FAIL
    Cannot construct a USBIsochronousInTransferResult without packets: FAIL
/webusb/usbIsochronousOutTransferPacket.https.any.html
    Can construct USBIsochronousOutTransferPacket: FAIL
    Cannot construct USBIsochronousOutTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousOutTransferPacket without a status: FAIL
/webusb/usbIsochronousOutTransferPacket.https.any.sharedworker.html
    Can construct USBIsochronousOutTransferPacket: FAIL
    Cannot construct USBIsochronousOutTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousOutTransferPacket without a status: FAIL
/webusb/usbIsochronousOutTransferPacket.https.any.worker.html
    Can construct USBIsochronousOutTransferPacket: FAIL
    Cannot construct USBIsochronousOutTransferPacket with an invalid status: FAIL
    Cannot construct USBIsochronousOutTransferPacket without a status: FAIL
/webusb/usbIsochronousOutTransferResult.https.any.html
    Can construct a USBIsochronousOutTransferResult: FAIL
    Cannot construct a USBIsochronousOutTransferResult without packets: FAIL
/webusb/usbIsochronousOutTransferResult.https.any.sharedworker.html
    Can construct a USBIsochronousOutTransferResult: FAIL
    Cannot construct a USBIsochronousOutTransferResult without packets: FAIL
/webusb/usbIsochronousOutTransferResult.https.any.worker.html
    Can construct a USBIsochronousOutTransferResult: FAIL
    Cannot construct a USBIsochronousOutTransferResult without packets: FAIL
/webusb/usbOutTransferResult.https.any.html
    Can construct USBOutTransferResult: FAIL
    Cannot construct USBOutTransferResult with an invalid status: FAIL
    Cannot construct USBOutTransferResult without a status: FAIL
/webusb/usbOutTransferResult.https.any.sharedworker.html
    Can construct USBOutTransferResult: FAIL
    Cannot construct USBOutTransferResult with an invalid status: FAIL
    Cannot construct USBOutTransferResult without a status: FAIL
/webusb/usbOutTransferResult.https.any.worker.html
    Can construct USBOutTransferResult: FAIL
    Cannot construct USBOutTransferResult with an invalid status: FAIL
    Cannot construct USBOutTransferResult without a status: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/022a5fe46cc5
[wpt PR 11384] - Update existing WebUSB WPT to be multi-global, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/82cd1798c4a9
[wpt PR 11384] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/022a5fe46cc5
https://hg.mozilla.org/mozilla-central/rev/82cd1798c4a9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.