Closed Bug 1578692 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18832 - Remove explicit testharness(report).js includes in Bluetooth tests

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Jägenstedt <philip@foolip.org> wrote:

Remove explicit testharness(report).js includes in Bluetooth tests

These are always included in multi-global tests, and including them
again leads to errors.

Discovered via https://github.com/web-platform-tests/wpt/pull/11024.

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 100[windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt], 101[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt] tests and 100[windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt], 101[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt] subtests
OK     : 100[windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt], 101[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt]
FAIL   : 100[windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt,windows7-32-debug,windows7-32-opt], 101[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt]

New tests that have failures or other problems:
/bluetooth/adapter/adapter-absent-getAvailability.https.window.html
    getAvailability() resolves with false if the system does not have an adapter.: FAIL
/bluetooth/adapter/adapter-added-getAvailability.https.window.html
    getAvailability() resolves with true after adapter is inserted into a system with a platform that supports Bluetooth LE.: FAIL
/bluetooth/adapter/adapter-powered-off-getAvailability.https.window.html
    getAvailability() resolves with true if the Bluetooth radio is powered off, but the platform that supports Bluetooth LE.: FAIL
/bluetooth/adapter/adapter-powered-on-getAvailability.https.window.html
    getAvailability() resolves with true if the Bluetooth radio is powered on and the platform supports Bluetooth LE.: FAIL
/bluetooth/adapter/adapter-powered-on-off-on-getAvailability.https.window.html
    getAvailability() is not affected by the powered state of the adapter.: FAIL
/bluetooth/adapter/adapter-removed-getAvailability.https.window.html
    getAvailability() resolves with false after the powered on adapter is removed.: FAIL
/bluetooth/adapter/cross-origin-iframe-getAvailability.sub.https.window.html
    getAvailability() resolves with false if called from a unique origin: FAIL
/bluetooth/characteristic/characteristicProperties.https.window.html
    HeartRate device properties: FAIL
/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.window.html
    Calls to getDescriptor should return the same object.: FAIL
/bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.window.html
    Service is removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.window.html
    Calls to getDescriptors should return the same object.: FAIL
/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.window.html
    Service is removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.window.html
    Service is removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/notifications/characteristic-is-removed.https.window.html
    Characteristic is removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/notifications/service-is-removed.https.window.html
    Service is removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/readValue/add-multiple-event-listeners.https.window.html
    Add multiple event listeners then readValue().: FAIL
/bluetooth/characteristic/readValue/characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/readValue/event-is-fired.https.window.html
    Reading a characteristic should fire an event.: FAIL
/bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/readValue/read-succeeds.https.window.html
    A read request succeeds and returns the characteristic's value.: FAIL
/bluetooth/characteristic/readValue/read-updates-value.https.window.html
    Succesful read should update characteristic.value: FAIL
/bluetooth/characteristic/readValue/service-is-removed.https.window.html
    Service gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/service-same-from-2-characteristics.https.window.html
    Same parent service returned from multiple characteristics.: FAIL
/bluetooth/characteristic/service-same-object.https.window.html
    [SameObject] test for BluetoothRemoteGATTCharacteristic service.: FAIL
/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/writeValue/buffer-is-detached.https.window.html
    writeValue() fails when passed a detached buffer: FAIL
/bluetooth/characteristic/writeValue/characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.window.html
    Characteristic gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/writeValue/service-is-removed.https.window.html
    Service gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/characteristic/writeValue/write-succeeds.https.window.html
    A regular write request to a writable characteristic should succeed.: FAIL
/bluetooth/descriptor/readValue/gen-service-is-removed.https.window.html
    Service gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/descriptor/readValue/read-succeeds.https.window.html
    A read request succeeds and returns the descriptor's value.: FAIL
/bluetooth/descriptor/writeValue/buffer-is-detached.https.window.html
    writeValue() fails when passed a detached buffer: FAIL
/bluetooth/descriptor/writeValue/gen-service-is-removed.https.window.html
    Service gets removed. Reject with InvalidStateError.: FAIL
/bluetooth/device/gattserverdisconnected-event/disconnected.https.window.html
    A device disconnecting while connected should fire the gattserverdisconnected event.: FAIL
/bluetooth/device/gattserverdisconnected-event/disconnected_gc.https.window.html
    A device disconnecting after the BluetoothDevice object has been GC'ed should not access freed memory.: FAIL
/bluetooth/device/gattserverdisconnected-event/one-event-per-disconnection.https.window.html
    If a site disconnects from a device while the platform is disconnecting that device, only one gattserverdisconnected event should fire.: FAIL
/bluetooth/device/gattserverdisconnected-event/reconnect-during-disconnected-event.https.window.html
    A device that reconnects during the gattserverdisconnected event should still receive gattserverdisconnected events after re-connection.: FAIL
/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.window.html
    disconnect() called before getPrimaryService. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryService/gen-disconnect-called-during-error.https.window.html
    disconnect() called during a getPrimaryService call that fails. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryService/gen-disconnect-called-during-success.https.window.html
    disconnect() called during a getPrimaryService call that succeeds. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.window.html
    Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL
/bluetooth/server/getPrimaryService/gen-disconnected-device.https.window.html
    getPrimaryService called before connecting. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryService/gen-discovery-complete-no-permission-absent-service.https.window.html
    Request for absent service without permission. Should Reject with SecurityError even if services have been discovered already.: FAIL
/bluetooth/server/getPrimaryService/gen-discovery-complete-service-not-found.https.window.html
    Request for absent service. Must reject with NotFoundError even when the services have previously been discovered.: FAIL
/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-error.https.window.html
    Garbage Collection ran during a getPrimaryService call that failed. Should not crash.: FAIL
/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-success.https.window.html
    Garbage Collection ran during a getPrimaryService call that succeeds. Should not crash.: FAIL
/bluetooth/server/getPrimaryService/gen-get-different-service-after-reconnection.https.window.html
    Calls to getPrimaryService after a disconnection should return a different object.: FAIL
/bluetooth/server/getPrimaryService/gen-get-same-object.https.window.html
    Calls to getPrimaryService should return the same object.: FAIL
/bluetooth/server/getPrimaryService/gen-invalid-service-name.https.window.html
    Wrong Service name. Reject with TypeError.: FAIL
/bluetooth/server/getPrimaryService/gen-no-permission-absent-service.https.window.html
    Request for absent service without permission. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.https.window.html
    Request for present service without permission to access any service. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryService/gen-no-permission-present-service.https.window.html
    Request for present service without permission. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryService/gen-service-not-found.https.window.html
    Request for absent service. Reject with NotFoundError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.window.html
    disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.window.html
    disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error-with-uuid.https.window.html
    disconnect() called during a getPrimaryServices call that fails. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error.https.window.html
    disconnect() called during a getPrimaryServices call that fails. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success-with-uuid.https.window.html
    disconnect() called during a getPrimaryServices call that succeeds. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success.https.window.html
    disconnect() called during a getPrimaryServices call that succeeds. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.window.html
    Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.window.html
    Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.window.html
    getPrimaryServices called before connecting. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.window.html
    getPrimaryServices called before connecting. Reject with NetworkError.: FAIL
/bluetooth/server/getPrimaryServices/gen-discovery-complete-no-permission-absent-service-with-uuid.https.window.html
    Request for absent service without permission. Should Reject with SecurityError even if services have been discovered already.: FAIL
/bluetooth/server/getPrimaryServices/gen-discovery-complete-service-not-found-with-uuid.https.window.html
    Request for absent service. Must reject with NotFoundError even when the services have previously been discovered.: FAIL
/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error-with-uuid.https.window.html
    Garbage Collection ran during a getPrimaryServices call that failed. Should not crash.: FAIL
/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error.https.window.html
    Garbage Collection ran during a getPrimaryServices call that failed. Should not crash.: FAIL
/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success-with-uuid.https.window.html
    Garbage Collection ran during a getPrimaryServices call that succeeds. Should not crash.: FAIL
/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success.https.window.html
    Garbage Collection ran during a getPrimaryServices call that succeeds. Should not crash.: FAIL[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt]
/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection-with-uuid.https.window.html
    Calls to getPrimaryServices after a disconnection should return a different object.: FAIL
/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection.https.window.html
    Calls to getPrimaryServices after a disconnection should return a different object.: FAIL
/bluetooth/server/getPrimaryServices/gen-get-same-object-with-uuid.https.window.html
    Calls to getPrimaryServices should return the same object.: FAIL
/bluetooth/server/getPrimaryServices/gen-get-same-object.https.window.html
    Calls to getPrimaryServices should return the same object.: FAIL
/bluetooth/server/getPrimaryServices/gen-invalid-service-name.https.window.html
    Wrong Service name. Reject with TypeError.: FAIL
/bluetooth/server/getPrimaryServices/gen-no-permission-absent-service-with-uuid.https.window.html
    Request for absent service without permission. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.https.window.html
    Request for present service without permission to access any service. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.https.window.html
    Request for present service without permission to access any service. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryServices/gen-no-permission-present-service-with-uuid.https.window.html
    Request for present service without permission. Reject with SecurityError.: FAIL
/bluetooth/server/getPrimaryServices/gen-service-not-found-with-uuid.https.window.html
    Request for absent service. Reject with NotFoundError.: FAIL
/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.window.html
    Serial Number String characteristic is blocklisted. Should reject with SecurityError.: FAIL
/bluetooth/service/getCharacteristic/gen-characteristic-not-found.https.window.html
    Request for absent characteristics with UUID. Reject with NotFoundError.: FAIL
/bluetooth/service/getCharacteristic/gen-garbage-collection-ran-during-error.https.window.html
    Garbage Collection ran during getCharacteristic call that fails. Should not crash: FAIL
/bluetooth/service/getCharacteristic/gen-get-same-object.https.window.html
    Calls to getCharacteristic should return the same object.: FAIL
/bluetooth/service/getCharacteristic/gen-invalid-characteristic-name.https.window.html
    Wrong Characteristic name. Reject with TypeError.: FAIL
/bluetooth/service/getCharacteristic/gen-reconnect-during.https.window.html
    disconnect() and connect() called during getCharacteristic. Reject with NetworkError.: FAIL
/bluetooth/service/getCharacteristic/gen-service-is-removed.https.window.html
    Service is removed before getCharacteristic call. Reject with InvalidStateError.: FAIL
/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.window.html
    Serial Number String characteristic is blocklisted. Should reject with SecurityError.: FAIL
/bluetooth/service/getCharacteristics/gen-characteristic-not-found-with-uuid.https.window.html
    Request for absent characteristics with UUID. Reject with NotFoundError.: FAIL
/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error-with-uuid.https.window.html
    Garbage Collection ran during getCharacteristics call that fails. Should not crash: FAIL
/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error.https.window.html
    Garbage Collection ran during getCharacteristics call that fails. Should not crash: FAIL
/bluetooth/service/getCharacteristics/gen-get-same-object-with-uuid.https.window.html
    Calls to getCharacteristics should return the same object.: FAIL
/bluetooth/service/getCharacteristics/gen-get-same-object.https.window.html
    Calls to getCharacteristics should return the same object.: FAIL
/bluetooth/service/getCharacteristics/gen-invalid-characteristic-name.https.window.html
    Wrong Characteristic name. Reject with TypeError.: FAIL
/bluetooth/service/getCharacteristics/gen-reconnect-during-with-uuid.https.window.html
    disconnect() and connect() called during getCharacteristics. Reject with NetworkError.: FAIL
/bluetooth/service/getCharacteristics/gen-reconnect-during.https.window.html
    disconnect() and connect() called during getCharacteristics. Reject with NetworkError.: FAIL
/bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.window.html
    Service is removed before getCharacteristics call. Reject with InvalidStateError.: FAIL
/bluetooth/service/getCharacteristics/gen-service-is-removed.https.window.html
    Service is removed before getCharacteristics call. Reject with InvalidStateError.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8560f98c410e
[wpt PR 18832] - Remove explicit testharness(report).js includes in Bluetooth tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/64137f38e6e3
[wpt PR 18832] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.