Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -7,7 +7,7 @@ const expected = new DOMException(
'NetworkError');
let device;
bluetooth_test(() => getHealthThermometerDevice({
bluetooth_test(() => getConnectedHealthThermometerDevice({
filters: [{services: ['health_thermometer']}],
optionalServices: ['generic_access']
})

View file

@ -11,7 +11,7 @@ const expected = new DOMException(
" e.g. 'alert_notification'.",
'TypeError');
bluetooth_test(() => getHealthThermometerDevice()
bluetooth_test(() => getConnectedHealthThermometerDevice()
.then(({device}) => assert_promise_rejects_with_message(
device.gatt.CALLS([
getPrimaryService('wrong_name')|

View file

@ -7,7 +7,7 @@ const expected = new DOMException(
'https://goo.gl/HxfxSQ',
'SecurityError');
bluetooth_test(() => getHealthThermometerDevice({
bluetooth_test(() => getConnectedHealthThermometerDevice({
filters: [{services: ['health_thermometer']}]
})
.then(({device}) => Promise.all([

View file

@ -7,7 +7,7 @@ const expected = new DOMException(
'https://goo.gl/HxfxSQ',
'SecurityError');
bluetooth_test(() => getHealthThermometerDevice({acceptAllDevices: true})
bluetooth_test(() => getConnectedHealthThermometerDevice({acceptAllDevices: true})
.then(({device}) => assert_promise_rejects_with_message(
device.gatt.CALLS([
getPrimaryService('heart_rate')|

View file

@ -6,7 +6,7 @@ const expected = new DOMException(
'to \'optionalServices\' in requestDevice() options. https://goo.gl/HxfxSQ',
'SecurityError');
bluetooth_test(() => getHealthThermometerDevice({
bluetooth_test(() => getConnectedHealthThermometerDevice({
filters: [{services: ['health_thermometer']}]
})
.then(({device}) => Promise.all([