tor-browser

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

clients-matchall-on-evaluation-worker.js (338B)


      1 importScripts('test-helpers.sub.js');
      2 
      3 var page_url = normalizeURL('../clients-matchall-on-evaluation.https.html');
      4 
      5 self.clients.matchAll({includeUncontrolled: true})
      6  .then(function(clients) {
      7      clients.forEach(function(client) {
      8          if (client.url == page_url)
      9            client.postMessage('matched');
     10        });
     11    });