blob: a3803f7a6deed4ec08e8ad1ba650e337978c237b [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 0.");
function runTest()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.jsTestIsAsync = true;
var context = new AudioContext();
var conv = context.createConvolver();
conv.buffer = 0;
testPassed("ConvolverNode impulse response buffer was set to 0.");
finishJSTest();
}
runTest();
successfullyParsed = true;
</script>
</body>
</html>