diff options
Diffstat (limited to 'dom/canvas/crashtests/1873790.html')
-rw-r--r-- | dom/canvas/crashtests/1873790.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/canvas/crashtests/1873790.html b/dom/canvas/crashtests/1873790.html new file mode 100644 index 0000000000..4404d22121 --- /dev/null +++ b/dom/canvas/crashtests/1873790.html @@ -0,0 +1,9 @@ +<script> +document.addEventListener("DOMContentLoaded", async () => { + let a = document.createElementNS("http://www.w3.org/1999/xhtml", "canvas") + let bmp = await self.createImageBitmap(a.getContext("2d"), 100, -187, -214, 57, { }) + let chan = new MessageChannel() + const worker = new Worker("none", { }) + worker.postMessage([bmp, chan.port1], [bmp, chan.port1]) +}) +</script> |