blob: e6c2413f0f8d00113ccc3dc06aaedd641c66d39e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="resources/audio-testing.js"></script>
<script src="../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Tests that ConvolverNode impulse response buffer can be set to null.");
var context = new AudioContext();
var conv = context.createConvolver();
shouldNotThrow("conv.buffer = null");
shouldBe("conv.buffer", "null");
shouldThrow("conv.buffer = document");
shouldBe("conv.buffer", "null");
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>