https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d7db47babb8e6732d39a28346675bd30f5182af0 authored by Xianzhu Wang on 22 March 2018, 20:37:21 UTC
[PE] Add ToInt() for logical padding top and bottom for LayoutTableCell
Tip revision: d7db47b
single-filter-single-service.https.html
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/bluetooth/resources/bluetooth-helpers.js"></script>
<script>
'use strict';
const test_desc = 'Simple filter selects matching device.';

bluetooth_test(() => setUpHealthThermometerAndHeartRateDevices()
    .then(() => requestDeviceWithTrustedClick({
      filters: [{services: ['health_thermometer']}]
    }))
    .then(device => assert_equals(device.name, 'Health Thermometer')),
    test_desc);
</script>
back to top