summaryrefslogtreecommitdiffstats
path: root/dom/media/webcodecs/crashtests/1848460.html
blob: 2f6f8b930eacfe8cfd92d5b7e744560746a9dcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script id="worker" type="javascript/worker">
self.onmessage = async function(e) {
  let a = new ArrayBuffer(12583)
  let b = new DataView(a)
  await VideoDecoder.isConfigSupported({
    "codec": "7󠎢ﷺ۹.9",
    "description": b,
  })
}
</script>
<script>
window.addEventListener("load", async () => {
  const blob = new Blob([document.querySelector('#worker').textContent], { type: "text/javascript" })
  const worker = new Worker(window.URL.createObjectURL(blob))
  worker.postMessage([], [])
})
</script>