tor-browser

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

test_basic_canvas.worker.html (527B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8" />
      5    <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6    <script src="worker_wrapper.js"></script>
      7    <link rel="stylesheet" href="/tests/SimpleTest/test.css" />
      8  </head>
      9  <body>
     10    <canvas id="canvas"></canvas>
     11    <script>
     12      const canvas = document.getElementById("canvas");
     13      const offscreen = canvas.transferControlToOffscreen();
     14 
     15      runWorkerTest("test_basic_canvas.worker.js", { offscreen }, [offscreen]);
     16    </script>
     17  </body>
     18 </html>