tor-browser

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

nested-worker-success.any.js (376B)


      1 // META: global=dedicatedworker,sharedworker
      2 // META: script=resources/test-incrementer.js
      3 "use strict";
      4 
      5 promise_test(t => {
      6  const worker = new Worker("resources/incrementer-worker.js");
      7 
      8  return testSharingViaIncrementerScript(t, worker, "parent worker", worker, "sub-worker");
      9 }, "postMessaging to a dedicated sub-worker allows them to see each others' modifications");