<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>
