tor-browser

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

idlharness.https.any.js (367B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 // META: timeout=long
      4 
      5 'use strict';
      6 
      7 idl_test(
      8  ['badging'],
      9  ['html', 'dom'],
     10  idl_array => {
     11    if (self.GLOBAL.isWorker()) {
     12      idl_array.add_objects({ WorkerNavigator: ['navigator'] });
     13    } else {
     14      idl_array.add_objects({ Navigator: ['navigator'] });
     15    }
     16  }
     17 );