haikuwebkit/LayoutTests/webaudio/audiobuffer-crash.html

16 lines
468 B
HTML

<!DOCTYPE html>
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Attempting to create a large AudioBuffer should not crash.");
shouldThrow("context = new AudioContext().createBuffer(1, -1, 44100)");
testPassed("Test passed because if it didn't crash.");
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>