blob: e3baf08e8a1d0f438c1a6a1d51d082374c89dff0 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
<script src="../../../resources/bluetooth/web-bluetooth-test.js"></script>
<script src="../../../resources/mojo-helpers.js"></script>
<script>
'use strict';
promise_test(() => {
return getEmptyHealthThermometerService()
.then(({service}) => assert_promise_rejects_with_message(
service.getCharacteristics(),
new DOMException('No Characteristics found in service.',
'NotFoundError')))
}, 'Request for absent characteristics. Reject with NotFoundError.');
</script>