| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <script> | 4 <script> |
| 5 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 test(() => { | 7 test(() => { |
| 8 assert_throws(null, () => new Bluetooth(), | 8 assert_throws(null, () => new Bluetooth(), |
| 9 'the constructor should not be callable with "new"'); | 9 'the constructor should not be callable with "new"'); |
| 10 assert_throws(null, () => Bluetooth(), | 10 assert_throws(null, () => Bluetooth(), |
| 11 'the constructor should not be callable'); | 11 'the constructor should not be callable'); |
| 12 | 12 |
| 13 // Bluetooth implements BluetoothDiscovery; | 13 // Bluetooth implements BluetoothDiscovery; |
| 14 assert_true('requestDevice' in navigator.bluetooth); | 14 assert_true('requestDevice' in navigator.bluetooth); |
| 15 }, 'Bluetooth IDL test'); | 15 }, 'Bluetooth IDL test'); |
| 16 </script> | 16 </script> |
| OLD | NEW |