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" />
10 <canvas id=
"canvas"></canvas>
12 const canvas
= document
.getElementById("canvas");
13 const offscreen
= canvas
.transferControlToOffscreen();
15 runWorkerTest("test_basic_canvas.worker.js", { offscreen
}, [offscreen
]);