summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1769878.html
blob: 1646f7179303345022df3a1b10703956d9c0380a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<script id="w1">
    self.onmessage = async () => {
      try { self.close() } catch (e) {}
      let a = new OffscreenCanvas(143, 178)
      a.convertToBlob({ })
    }
    </script>
<script>
    window.addEventListener('load', async () => {
      const blob = new Blob([document.querySelector('#w1').textContent], { type: "text/javascript" })
      const worker = new Worker(window.URL.createObjectURL(blob))
      worker.postMessage([], [])
    })
</script>