Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / dom / webgpu / mochitest / test_basic_canvas.worker.html
blob180d951dfcfc429c382a45d3e593b0777f8b2174
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();
15 runWorkerTest("test_basic_canvas.worker.js", { offscreen }, [offscreen]);
16 </script>
17 </body>
18 </html>