summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1873790.html
blob: 4404d22121768017a6b2db39876f121fee8bf4b5 (plain)
1
2
3
4
5
6
7
8
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>