summaryrefslogtreecommitdiffstats
path: root/dom/media/test/crashtests/1577184.html
blob: a38c4a12651cdf21043c62b4de9a84e8a828b31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
<script>
function start () {
  const frame = document.createElementNS('http://www.w3.org/1999/xhtml', 'frame')
  document.documentElement.appendChild(frame)
  frame.contentWindow.eval('window.top.context=new AudioContext()')
  document.documentElement.innerHTML = ''
  context.createMediaElementSource(new Audio(''))
}

document.addEventListener('DOMContentLoaded', start)
</script>
</head>
</html>