summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1752917.html
blob: 84752a174f39e8f04751b17f60a48e6bc3b34766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
  <script>
    window.addEventListener("load", () => {
      const context = new AudioContext({})
      const node = new DelayNode(context, {})
      const abort = new AbortController()
      let processor = context.createScriptProcessor(4096, 1, 26)
      processor.addEventListener("audioprocess", () => {}, { "signal": abort.signal })
      processor.connect(node.delayTime)
      processor = undefined
      SpecialPowers.forceGC()
      abort.abort(undefined)
    });
  </script>
</head>
</html>