https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6ed279b955769c2ca218e42c877bb1f6b8693bbd authored by Manuel Rego Casasnovas on 16 March 2018, 07:58:15 UTC
[css-grid] Fix relative path to grid.css file
Tip revision: 6ed279b
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