https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4dbce0155ee16d1aa6420313a5aa9fd82c66ecc0 authored by Michael[tm] Smith on 16 March 2018, 06:13:42 UTC
cc Drop javascript-protocol URL tests
Tip revision: 4dbce01
device-same-object.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 = '[SameObject] test for BluetoothRemoteGATTService device.';

bluetooth_test(() => getHealthThermometerDevice({
  filters: [{services: ['health_thermometer']}]
})
    .then(({device}) => device.gatt.getPrimaryService('health_thermometer'))
    .then(service => assert_equals(service.device, service.device)),
    test_desc);
</script>
back to top