mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
Update web-platform-tests to revision 28300a0874230d668f0b02cfddfd994f2a735a56
This commit is contained in:
parent
087cf21d79
commit
aa8de380cc
133 changed files with 1747 additions and 432 deletions
|
@ -17,7 +17,6 @@ bluetooth_test(() => getMeasurementIntervalCharacteristic()
|
|||
.then(() => characteristic.getDescriptor(user_description.name))
|
||||
.then(() => null, (e) => assert_unreached('Caught error unexpectedly.', e))
|
||||
.then(() => fake_characteristic.remove())
|
||||
.then(() => fake_peripheral.setNextGATTDiscoveryResponse({HCI_SUCCESS}))
|
||||
.then(() => fake_peripheral.simulateGATTServicesChanged())
|
||||
.then(() => assert_promise_rejects_with_message(
|
||||
characteristic.getDescriptor(user_description.name), expected)),
|
||||
|
|
|
@ -17,7 +17,6 @@ let characteristic, fake_peripheral, fake_service;
|
|||
bluetooth_test(() => getMeasurementIntervalCharacteristic()
|
||||
.then(_ => ({characteristic, fake_peripheral, fake_service} = _))
|
||||
.then(() => fake_service.remove())
|
||||
.then(() => fake_peripheral.setNextGATTDiscoveryResponse({HCI_SUCCESS}))
|
||||
.then(() => fake_peripheral.simulateGATTServicesChanged())
|
||||
.then(() => assert_promise_rejects_with_message(
|
||||
characteristic.getDescriptor(user_description.name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue