tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

idlharness.tentative.https.window.js (531B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 // META: timeout=long
      4 
      5 'use strict';
      6 
      7 // https://webbluetoothcg.github.io/web-bluetooth/
      8 
      9 idl_test(['web-bluetooth'], ['dom', 'html', 'permissions'], idl_array => {
     10  try {
     11    self.event = new BluetoothAdvertisingEvent('type');
     12  } catch (e) {
     13    // Surfaced when 'event' is undefined below.
     14  }
     15 
     16  idl_array.add_objects({
     17    Navigator: ['navigator'],
     18    Bluetooth: ['navigator.bluetooth'],
     19    BluetoothAdvertisingEvent: ['event'],
     20  });
     21 });