Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassIIRFilterNode coefficients are checked properly
Asserts runNo asserts ran
Passfeedforward coefficients can not be empty
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
Passfeedback coefficients can not be empty
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
Passmore than 20 feedforward coefficients can not be used
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
Passmore than 20 feedback coefficients can not be used
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
Passat least one feedforward coefficient must be non-zero
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
Passthe first feedback coefficient must be non-zero
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "function() {         ac.createIIRFilter(arg1, arg2)       }")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:12:7)
PassIIRFilterNode getFrequencyResponse handles invalid frequencies properly
Asserts run
Pass
assert_true(true, "Invalid input frequency should give NaN magnitude response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:51:3)
Pass
assert_true(true, "Valid input frequency should not give NaN magnitude response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:52:3)
Pass
assert_true(true, "Invalid input frequency should give NaN magnitude response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:53:3)
Pass
assert_true(true, "Invalid input frequency should give NaN phase response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:54:3)
Pass
assert_true(true, "Valid input frequency should not give NaN phase response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:55:3)
Pass
assert_true(true, "Invalid input frequency should give NaN phase response")
    at Test.<anonymous> ( /webaudio/the-audio-api/the-iirfilternode-interface/test-iirfilternode.html:56:3)