Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / bluetooth / idl-Bluetooth.html
blob4ed4ea05df58571262899bf786009e6b712105ce
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 'use strict';
7 test(() => {
8 assert_throws(null, () => new Bluetooth(),
9 'the constructor should not be callable with "new"');
10 assert_throws(null, () => Bluetooth(),
11 'the constructor should not be callable');
13 // Bluetooth implements BluetoothDiscovery;
14 assert_true('requestDevice' in navigator.bluetooth);
15 }, 'Bluetooth IDL test');
16 </script>