tor-browser

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

scheduler-replaceable.any.js (273B)


      1 // META: title=Scheduler: scheduler should be replaceable
      2 // META: global=window,worker
      3 'use strict';
      4 
      5 test(() => {
      6  class Scheduler {
      7    constructor() {
      8      scheduler = this;
      9    }
     10  }
     11  new Scheduler();
     12 }, 'Tests replacing window.scheduler with a different object');