tor-browser

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

executor-common.js (285B)


      1 // Functions available by default in the executor.
      2 
      3 'use strict';
      4 
      5 let executor;
      6 
      7 // Expects addScript to be present (window or worker version).
      8 function addScripts(urls) {
      9  return Promise.all(urls.map(addScript));
     10 }
     11 
     12 function startExecutor(uuid) {
     13  executor = new Executor(uuid);
     14 }