tor-browser

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

idlharness.https.any.js (388B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 // META: global=window,dedicatedworker,sharedworker
      4 
      5 // https://w3c.github.io/compute-pressure/
      6 
      7 'use strict';
      8 
      9 idl_test(['compute-pressure'], ['dom', 'html'], async idl_array => {
     10  idl_array.add_objects({
     11    PressureObserver: ['observer'],
     12  });
     13 
     14  self.observer = new PressureObserver(() => {});
     15 });