blob: 082feb2598b32f57a78fb1a155b5721369430fa6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>
Test Unstable IIR Filter
</title>
<script src="../../imported/w3c/web-platform-tests/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audit.js"></script>
</head>
<body>
<script id="layout-test-code">
let audit = Audit.createTaskRunner({requireResultFile: true});
audit.define('unstable', (task, should) => {
let context = new OfflineAudioContext(1, 1, 8000);
should(
() => {
context.createIIRFilter([1], [1, 1.1]);
},
'Creating unstable IIR filter with createIIRFilter([1], [1, 1.1])')
.notThrow();
task.done();
});
audit.run();
</script>
</body>
</html>