| <!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> |