blob: 72a46e932255e961e6de6da7aeeeb8d650a0db84 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script src="resources/compatibility.js"></script>
<script src="resources/audio-testing.js"></script>
<script src="../resources/js-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script>
description("Tests that ConvolverNode impulse response buffer can be set to null.");
function runTest()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.jsTestIsAsync = true;
var context = new AudioContext();
var conv = context.createConvolver();
conv.buffer = null;
testPassed("ConvolverNode impulse response buffer was set to null.");
finishJSTest();
}
runTest();
successfullyParsed = true;
</script>
</body>
</html>