diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 25e032f876ae..efebc3ad1dc8 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -6860,6 +6860,12 @@ "url": "/_mozilla/mozilla/bluetooth/getCharacteristic/invalid-characteristic-name.html" } ], + "mozilla/bluetooth/getCharacteristic/reconnect-during.html": [ + { + "path": "mozilla/bluetooth/getCharacteristic/reconnect-during.html", + "url": "/_mozilla/mozilla/bluetooth/getCharacteristic/reconnect-during.html" + } + ], "mozilla/bluetooth/getCharacteristic/service-is-removed.html": [ { "path": "mozilla/bluetooth/getCharacteristic/service-is-removed.html", @@ -7310,6 +7316,12 @@ "url": "/_mozilla/mozilla/bluetooth/getPrimaryServices/get-different-services-after-reconnection.html" } ], + "mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html": [ + { + "path": "mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html", + "url": "/_mozilla/mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html" + } + ], "mozilla/bluetooth/getPrimaryServices/get-same-service.html": [ { "path": "mozilla/bluetooth/getPrimaryServices/get-same-service.html", @@ -7394,6 +7406,12 @@ "url": "/_mozilla/mozilla/bluetooth/readValue/characteristic/disconnect-called-before.html" } ], + "mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html": [ + { + "path": "mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html", + "url": "/_mozilla/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html" + } + ], "mozilla/bluetooth/readValue/characteristic/event-is-fired.html": [ { "path": "mozilla/bluetooth/readValue/characteristic/event-is-fired.html", @@ -7466,16 +7484,46 @@ "url": "/_mozilla/mozilla/bluetooth/readValue/descriptor/service-is-removed.html" } ], - "mozilla/bluetooth/requestDevice/accept-all-devices-with-filter.html": [ + "mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html": [ + { + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html" + } + ], + "mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices.html": [ + { + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices.html" + } + ], + "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html": [ + { + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html" + } + ], + "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html": [ + { + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html" + } + ], + "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html": [ + { + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html" + } + ], + "mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html": [ { - "path": "mozilla/bluetooth/requestDevice/accept-all-devices-with-filter.html", - "url": "/_mozilla/mozilla/bluetooth/requestDevice/accept-all-devices-with-filter.html" + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html" } ], - "mozilla/bluetooth/requestDevice/accept-all-devices.html": [ + "mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html": [ { - "path": "mozilla/bluetooth/requestDevice/accept-all-devices.html", - "url": "/_mozilla/mozilla/bluetooth/requestDevice/accept-all-devices.html" + "path": "mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html" } ], "mozilla/bluetooth/requestDevice/adapter-not-present.html": [ @@ -7532,6 +7580,12 @@ "url": "/_mozilla/mozilla/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html" } ], + "mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html": [ + { + "path": "mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html", + "url": "/_mozilla/mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html" + } + ], "mozilla/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html": [ { "path": "mozilla/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html", @@ -7790,12 +7844,24 @@ "url": "/_mozilla/mozilla/bluetooth/startNotifications/blocklisted-characteristic.html" } ], + "mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html": [ + { + "path": "mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html", + "url": "/_mozilla/mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html" + } + ], "mozilla/bluetooth/startNotifications/characteristic-is-removed.html": [ { "path": "mozilla/bluetooth/startNotifications/characteristic-is-removed.html", "url": "/_mozilla/mozilla/bluetooth/startNotifications/characteristic-is-removed.html" } ], + "mozilla/bluetooth/startNotifications/device-goes-out-of-range.html": [ + { + "path": "mozilla/bluetooth/startNotifications/device-goes-out-of-range.html", + "url": "/_mozilla/mozilla/bluetooth/startNotifications/device-goes-out-of-range.html" + } + ], "mozilla/bluetooth/startNotifications/disconnect-called-before.html": [ { "path": "mozilla/bluetooth/startNotifications/disconnect-called-before.html", @@ -7820,6 +7886,12 @@ "url": "/_mozilla/mozilla/bluetooth/startNotifications/notify-succeeds.html" } ], + "mozilla/bluetooth/startNotifications/service-is-removed.html": [ + { + "path": "mozilla/bluetooth/startNotifications/service-is-removed.html", + "url": "/_mozilla/mozilla/bluetooth/startNotifications/service-is-removed.html" + } + ], "mozilla/bluetooth/stopNotifications/characteristic-is-removed.html": [ { "path": "mozilla/bluetooth/stopNotifications/characteristic-is-removed.html", @@ -7844,6 +7916,24 @@ "url": "/_mozilla/mozilla/bluetooth/stopNotifications/notify-succeeds.html" } ], + "mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html": [ + { + "path": "mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html", + "url": "/_mozilla/mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html" + } + ], + "mozilla/bluetooth/stopNotifications/stop-twice.html": [ + { + "path": "mozilla/bluetooth/stopNotifications/stop-twice.html", + "url": "/_mozilla/mozilla/bluetooth/stopNotifications/stop-twice.html" + } + ], + "mozilla/bluetooth/stopNotifications/stop-without-starting.html": [ + { + "path": "mozilla/bluetooth/stopNotifications/stop-without-starting.html", + "url": "/_mozilla/mozilla/bluetooth/stopNotifications/stop-without-starting.html" + } + ], "mozilla/bluetooth/writeValue/characteristic/blocklisted-characteristic.html": [ { "path": "mozilla/bluetooth/writeValue/characteristic/blocklisted-characteristic.html", @@ -7874,6 +7964,12 @@ "url": "/_mozilla/mozilla/bluetooth/writeValue/characteristic/service-is-removed.html" } ], + "mozilla/bluetooth/writeValue/characteristic/value-too-long.html": [ + { + "path": "mozilla/bluetooth/writeValue/characteristic/value-too-long.html", + "url": "/_mozilla/mozilla/bluetooth/writeValue/characteristic/value-too-long.html" + } + ], "mozilla/bluetooth/writeValue/characteristic/write-succeeds.html": [ { "path": "mozilla/bluetooth/writeValue/characteristic/write-succeeds.html", diff --git a/tests/wpt/mozilla/meta/mozilla/bluetooth/getCharacteristic/reconnect-during.html.ini b/tests/wpt/mozilla/meta/mozilla/bluetooth/getCharacteristic/reconnect-during.html.ini new file mode 100644 index 000000000000..ebfa902c2c4c --- /dev/null +++ b/tests/wpt/mozilla/meta/mozilla/bluetooth/getCharacteristic/reconnect-during.html.ini @@ -0,0 +1,5 @@ +[reconnect-during.html] + type: testharness + [disconnect() and connect() called during getCharacteristic. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/mozilla/meta/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html.ini b/tests/wpt/mozilla/meta/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html.ini new file mode 100644 index 000000000000..f60c30d9e886 --- /dev/null +++ b/tests/wpt/mozilla/meta/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html.ini @@ -0,0 +1,5 @@ +[disconnect-called-during.html] + type: testharness + [disconnect() called during readValue. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/getCharacteristic/reconnect-during.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/getCharacteristic/reconnect-during.html new file mode 100644 index 000000000000..3560e874a851 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/getCharacteristic/reconnect-during.html @@ -0,0 +1,23 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html new file mode 100644 index 000000000000..762dcfd13276 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service-with-uuid.html @@ -0,0 +1,18 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service.html index 762dcfd13276..5f62e34d9f21 100644 --- a/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service.html +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/getPrimaryServices/get-same-service.html @@ -11,8 +11,8 @@ }) .then(device => device.gatt.connect()) .then(gattServer => Promise.all([ - gattServer.getPrimaryServices(heart_rate.name), - gattServer.getPrimaryServices(heart_rate.name)])) + gattServer.getPrimaryServices(), + gattServer.getPrimaryServices()])) .then(services => assert_array_equals(services[0], services[1])); }, 'Calls to get the same service should return the same object.'); diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html new file mode 100644 index 000000000000..d38645a5b3aa --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/readValue/characteristic/disconnect-called-during.html @@ -0,0 +1,25 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/accept-all-devices-with-filter.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html similarity index 100% rename from tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/accept-all-devices-with-filter.html rename to tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices-with-filter.html diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/accept-all-devices.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices.html similarity index 100% rename from tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/accept-all-devices.html rename to tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/accept-all-devices.html diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html new file mode 100644 index 000000000000..d9c97b175421 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html @@ -0,0 +1,12 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html new file mode 100644 index 000000000000..f3136c5c554b --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-name.html @@ -0,0 +1,13 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html new file mode 100644 index 000000000000..6e14d2208429 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html @@ -0,0 +1,12 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html new file mode 100644 index 000000000000..6332504612a7 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.html @@ -0,0 +1,13 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html new file mode 100644 index 000000000000..959144623f03 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/acceptAllDevices/optional-services-present.html @@ -0,0 +1,22 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html new file mode 100644 index 000000000000..537048d338b3 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.html @@ -0,0 +1,16 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html new file mode 100644 index 000000000000..b47023a39e43 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/characteristic-does-not-support-notifications.html @@ -0,0 +1,20 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/device-goes-out-of-range.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/device-goes-out-of-range.html new file mode 100644 index 000000000000..dd561a84dbde --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/device-goes-out-of-range.html @@ -0,0 +1,20 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/service-is-removed.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/service-is-removed.html new file mode 100644 index 000000000000..2976971d30e7 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/startNotifications/service-is-removed.html @@ -0,0 +1,21 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html new file mode 100644 index 000000000000..355688bd492e --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-after-start-succeeds.html @@ -0,0 +1,25 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-twice.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-twice.html new file mode 100644 index 000000000000..92ebd704d08c --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-twice.html @@ -0,0 +1,22 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-without-starting.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-without-starting.html new file mode 100644 index 000000000000..2ff505377e54 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/stopNotifications/stop-without-starting.html @@ -0,0 +1,18 @@ + + + + + diff --git a/tests/wpt/mozilla/tests/mozilla/bluetooth/writeValue/characteristic/value-too-long.html b/tests/wpt/mozilla/tests/mozilla/bluetooth/writeValue/characteristic/value-too-long.html new file mode 100644 index 000000000000..cb17b549e36c --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/bluetooth/writeValue/characteristic/value-too-long.html @@ -0,0 +1,19 @@ + + + + +