tor-browser

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

idle_worker.js (244B)


      1 // Touch CacheStorage, but then idle and do nothing.
      2 const name = "idle_worker_cache";
      3 var cache;
      4 self.caches
      5  .open(name)
      6  .then(c => {
      7    cache = c;
      8    return self.caches.delete(name);
      9  })
     10  .then(_ => {
     11    postMessage("LOADED");
     12  });