blob: 9bd4f8a890c846aec27dafed501c33eec207bd89 [file] [log] [blame]
<DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test.js"></script>
<script>
description("Make sure we don't crash when calling linearRampToValueAtTime() on an AudioParam that lost its AudioContext.");
let audioParam = new OfflineAudioContext(1, 1, 3000).listener.forwardX;
gc();
audioParam.exponentialRampToValueAtTime(1, 0);
testPassed("Did not crash");
</script>
</body>
</html>