blob: 52becd4595370f1f5c3ac7f9c7bc33629a025d90 [file] [log] [blame]
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_throws_js(ReferenceError, () => new BluetoothGATTRemoteServer(),
'the constructor should not be callable with "new"');
assert_throws_js(ReferenceError, () => BluetoothGATTRemoteServer(),
'the constructor should not be callable');
}, 'BluetoothGATTRemoteServer IDL test');
</script>