summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webaudio/the-audio-api/the-audiocontext-interface/crashtests/currentTime-after-discard.html
blob: 8c74bd0aa1277602905c022408d7d3f4e16d1e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
<head>
  <title>
    Test currentTime after browsing context discard
  </title>
</head>
<script>
  const frame = document.createElement('frame');
  document.documentElement.appendChild(frame);
  const ctx = new frame.contentWindow.AudioContext();
  frame.remove();
  ctx.currentTime;
</script>
</html>