tor-browser

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

idlharness.https.any.js (413B)


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