2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
6 assert_throws(null, function() { new BluetoothDiscovery(); },
7 'the constructor should not be callable with "new"');
8 assert_throws(null, function() { BluetoothDiscovery(); },
9 'the constructor should not be callable');
10 }, 'BluetoothDiscovery IDL test');