#22412 updated bluetooth tests expectations

This commit is contained in:
cdeler 2019-03-20 16:56:55 +03:00
parent e30f48f3c8
commit 18fe572562
152 changed files with 456 additions and 0 deletions

View file

@ -2,3 +2,6 @@
[characteristicProperties]
expected: FAIL
[HeartRate device properties]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-descriptor-get-same-object]
expected: FAIL
[Calls to getDescriptor should return the same object.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-is-removed]
expected: FAIL
[Service is removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed-with-uuid]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-descriptor-get-same-object]
expected: FAIL
[Calls to getDescriptors should return the same object.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-is-removed-with-uuid]
expected: FAIL
[Service is removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-is-removed]
expected: FAIL
[Service is removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[characteristic-is-removed]
expected: FAIL
[Characteristic is removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-is-removed]
expected: FAIL
[Service is removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[add-multiple-event-listeners]
expected: FAIL
[Add multiple event listeners then readValue().]
expected: FAIL

View file

@ -2,3 +2,6 @@
[characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[event-is-fired]
expected: FAIL
[Reading a characteristic should fire an event.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[read-succeeds]
expected: FAIL
[A read request succeeds and returns the characteristic's value.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[read-updates-value]
expected: FAIL
[Succesful read should update characteristic.value]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-is-removed]
expected: FAIL
[Service gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-same-from-2-characteristics]
expected: FAIL
[Same parent service returned from multiple characteristics.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-same-object]
expected: FAIL
[[SameObject\] test for BluetoothRemoteGATTCharacteristic service.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-characteristic-is-removed]
expected: FAIL
[Characteristic gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-is-removed]
expected: FAIL
[Service gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[write-succeeds]
expected: FAIL
[A regular write request to a writable characteristic should succeed.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-is-removed]
expected: FAIL
[Service gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[read-succeeds]
expected: FAIL
[A read request succeeds and returns the descriptor's value.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-is-removed]
expected: FAIL
[Service gets removed. Reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[disconnected]
expected: FAIL
[A device disconnecting while connected should fire the gattserverdisconnected event.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[disconnected_gc]
expected: FAIL
[A device disconnecting after the BluetoothDevice object has been GC'ed should not access freed memory.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[one-event-per-disconnection]
expected: FAIL
[If a site disconnects from a device while the platform is disconnecting that device, only one gattserverdisconnected event should fire.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[reconnect-during-disconnected-event]
expected: FAIL
[A device that reconnects during the gattserverdisconnected event should still receive gattserverdisconnected events after re-connection.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[idl-BluetoothDevice]
expected: FAIL
[BluetoothDevice attributes.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[device-with-empty-name]
expected: FAIL
[Device with empty name and no UUIDs nearby. Should be found if acceptAllDevices is true.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[device-with-name]
expected: FAIL
[A device with name and no UUIDs nearby. Should be found if acceptAllDevices is true.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[optional-services-missing]
expected: FAIL
[requestDevice called with acceptAllDevices: true and with no optionalServices. Should not get access to any services.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[optional-services-present]
expected: FAIL
[requestDevice called with acceptAllDevices: true and with optionalServices. Should get access to services.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[blocklisted-service-in-filter]
expected: FAIL
[Reject with SecurityError if requesting a blocklisted service.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[blocklisted-service-in-optionalServices]
expected: FAIL
[Blocklisted UUID in optionalServices is removed and access not granted.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[device-name-longer-than-29-bytes]
expected: FAIL
[A device name between 29 and 248 bytes is valid.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[empty-filter]
expected: FAIL
[A filter must restrict the devices in some way.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[empty-filters-member]
expected: FAIL
[An empty |filters| member should result in a TypeError]
expected: FAIL

View file

@ -2,3 +2,6 @@
[empty-namePrefix]
expected: FAIL
[requestDevice with empty namePrefix. Should reject with TypeError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[empty-services-member]
expected: FAIL
[Services member must contain at least one service.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[filters-xor-acceptAllDevices]
expected: FAIL
[RequestDeviceOptions should have exactly one of 'filters' or 'acceptAllDevices:true'. Reject with TypeError if not.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-exceeded-name-unicode]
expected: FAIL
[Unicode string with utf8 representation longer than 248 bytes in 'name' must throw TypeError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-exceeded-name]
expected: FAIL
[A device name longer than 248 must reject.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-exceeded-namePrefix-unicode]
expected: FAIL
[Unicode string with utf8 representation longer than 248 bytes in 'namePrefix' must throw NotFoundError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-exceeded-namePrefix]
expected: FAIL
[A device name prefix longer than 248 must reject.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-name-unicode]
expected: FAIL
[A unicode device name of 248 bytes is valid.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-name]
expected: FAIL
[A device name of 248 bytes is valid.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-namePrefix-unicode]
expected: FAIL
[A unicode device namePrefix of 248 bytes is valid.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[max-length-namePrefix]
expected: FAIL
[A device namePrefix of 248 bytes is valid.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[unicode-valid-length-name-name]
expected: FAIL
[A name containing unicode characters whose utf8 length is less than 30 must not throw an error.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[unicode-valid-length-name-namePrefix]
expected: FAIL
[A namePrefix containing unicode characters whose utf8 length is less than 30 must not throw an error.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[wrong-service-in-optionalServices-member]
expected: FAIL
[Invalid optional service must reject the promise.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[wrong-service-in-services-member]
expected: FAIL
[Invalid service must reject the promise.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[cross-origin-iframe]
expected: FAIL
[Request device from a unique origin. Should reject with SecurityError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[discovery-succeeds]
expected: FAIL
[Discover a device using alias, name, or UUID.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[doesnt-consume-user-gesture]
expected: FAIL
[requestDevice calls do not consume user gestures.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[filter-matches]
expected: FAIL
[Matches a filter if all present members match.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[le-not-supported]
expected: FAIL
[Reject with NotFoundError if Bluetooth is not supported.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[name-empty-device-from-name-empty-filter]
expected: FAIL
[An empty name device can be obtained by empty name filter.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[not-processing-user-gesture]
expected: FAIL
[Requires a user gesture.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[radio-not-present]
expected: FAIL
[Reject with NotFoundError if there is no BT radio present.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[request-from-iframe]
expected: FAIL
[Concurrent requestDevice calls in iframes work.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[request-from-sandboxed-iframe]
expected: FAIL
[Request device from a unique origin. Should reject with SecurityError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[same-device]
expected: FAIL
[Returned device should always be the same.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[single-filter-single-service]
expected: FAIL
[Simple filter selects matching device.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[connection-succeeds]
expected: FAIL
[Device will connect]
expected: FAIL

View file

@ -2,3 +2,6 @@
[garbage-collection-ran-during-success]
expected: FAIL
[Garbage Collection ran during a connect call that succeeds. Should not crash.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[get-same-gatt-server]
expected: FAIL
[Multiple connects should return the same gatt object.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[device-same-object]
expected: FAIL
[[SameObject\] test for BluetoothRemoteGATTServer's device.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[connect-disconnect-twice]
expected: FAIL
[Connect + Disconnect twice still results in 'connected' being false.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[detach-gc]
expected: FAIL
[Detach frame then garbage collect. We shouldn't crash.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[disconnect-twice-in-a-row]
expected: FAIL
[Calling disconnect twice in a row still results in 'connected' being false.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gc-detach]
expected: FAIL
[Garbage collect then detach frame. We shouldn't crash.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-called-before]
expected: FAIL
[disconnect() called before getPrimaryService. Reject with NetworkError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-called-during-error]
expected: FAIL
[disconnect() called during a getPrimaryService call that fails. Reject with NetworkError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-called-during-success]
expected: FAIL
[disconnect() called during a getPrimaryService call that succeeds. Reject with NetworkError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-invalidates-objects]
expected: FAIL
[Calls on services after we disconnect and connect again. Should reject with InvalidStateError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnected-device]
expected: FAIL
[getPrimaryService called before connecting. Reject with NetworkError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-discovery-complete-no-permission-absent-service]
expected: FAIL
[Request for absent service without permission. Should Reject with SecurityError even if services have been discovered already.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-discovery-complete-service-not-found]
expected: FAIL
[Request for absent service. Must reject with NotFoundError even when the services have previously been discovered.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-garbage-collection-ran-during-error]
expected: FAIL
[Garbage Collection ran during a getPrimaryService call that failed. Should not crash.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-garbage-collection-ran-during-success]
expected: FAIL
[Garbage Collection ran during a getPrimaryService call that succeeds. Should not crash.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-get-different-service-after-reconnection]
expected: FAIL
[Calls to getPrimaryService after a disconnection should return a different object.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-get-same-object]
expected: FAIL
[Calls to getPrimaryService should return the same object.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-invalid-service-name]
expected: FAIL
[Wrong Service name. Reject with TypeError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-no-permission-absent-service]
expected: FAIL
[Request for absent service without permission. Reject with SecurityError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-no-permission-for-any-service]
expected: FAIL
[Request for present service without permission to access any service. Reject with SecurityError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-no-permission-present-service]
expected: FAIL
[Request for present service without permission. Reject with SecurityError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-service-not-found]
expected: FAIL
[Request for absent service. Reject with NotFoundError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[service-found]
expected: FAIL
[Request for service. Should return right service]
expected: FAIL

View file

@ -2,3 +2,6 @@
[two-iframes-from-same-origin]
expected: FAIL
[Two iframes in the same origin should be able to access each other's services]
expected: FAIL

View file

@ -2,3 +2,6 @@
[blocklisted-services-with-uuid]
expected: FAIL
[Request for services. Does not return blocklisted service.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[blocklisted-services]
expected: FAIL
[Request for services. Does not return blocklisted service.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[correct-services]
expected: FAIL
[Find correct services with UUID.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-called-before-with-uuid]
expected: FAIL
[disconnect() called before getPrimaryServices. Reject with NetworkError.]
expected: FAIL

View file

@ -2,3 +2,6 @@
[gen-disconnect-called-before]
expected: FAIL
[disconnect() called before getPrimaryServices. Reject with NetworkError.]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more