Summary

Harness status: OK

Found 78 tests

Details

ResultTest NameMessage
Pass# AUDIT TASK RUNNER STARTED.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
PassExecuting "initialize"
Asserts runNo asserts ran
PassExecuting "invalid constructor"
Asserts runNo asserts ran
PassExecuting "default constructor"
Asserts runNo asserts ran
PassExecuting "test AudioNodeOptions"
Asserts runNo asserts ran
PassExecuting "constructor with options"
Asserts runNo asserts ran
PassExecuting "construct invalid options"
Asserts runNo asserts ran
PassExecuting "setting min/max"
Asserts runNo asserts ran
PassAudit report
Asserts runNo asserts ran
Pass> [initialize]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass context = new OfflineAudioContext(...) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [initialize] All assertions passed. (total 1 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [invalid constructor]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode() threw TypeError: "Failed to construct 'AnalyserNode': 1 argument required, but only 0 present.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(1) threw TypeError: "Failed to construct 'AnalyserNode': parameter 1 is not of type 'BaseAudioContext'.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(context, 42) threw TypeError: "Failed to construct 'AnalyserNode': The provided value is not of type 'AnalyserOptions'.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [invalid constructor] All assertions passed. (total 3 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [default constructor]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0 = new AnalyserNode(context) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0 instanceof AnalyserNode is equal to true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.numberOfInputs is equal to 1.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.numberOfOutputs is equal to 1.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.channelCount is equal to 2.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.channelCountMode is equal to max.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.channelInterpretation is equal to speakers.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.fftSize is equal to 2048.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.frequencyBinCount is equal to 1024.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.minDecibels is equal to -100.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.maxDecibels is equal to -30.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node0.smoothingTimeConstant is equal to 0.8.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [default constructor] All assertions passed. (total 12 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [test AudioNodeOptions]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCount: 17}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCount is equal to 17.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCount: 0}) threw NotSupportedError: "Failed to construct 'AnalyserNode': The channel count provided (0) is outside the range [1, 32].".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCount: 99}) threw NotSupportedError: "Failed to construct 'AnalyserNode': The channel count provided (99) is outside the range [1, 32].".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCountMode: "max"} did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCountMode is equal to max.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCountMode: "max"}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCountMode after valid setter is equal to max.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCountMode: "clamped-max"}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCountMode after valid setter is equal to clamped-max.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCountMode: "explicit"}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCountMode after valid setter is equal to explicit.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelCountMode: "foobar"} threw TypeError: "Failed to construct 'AnalyserNode': Failed to read the 'channelCountMode' property from 'AudioNodeOptions': The provided value 'foobar' is not a valid enum value of type ChannelCountMode.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelCountMode after invalid setter is equal to explicit.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelInterpretation: "speakers"}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelInterpretation is equal to speakers.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelInterpretation: "discrete"}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelInterpretation is equal to discrete.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass new AnalyserNode(c, {channelInterpretation: "foobar"}) threw TypeError: "Failed to construct 'AnalyserNode': Failed to read the 'channelInterpretation' property from 'AudioNodeOptions': The provided value 'foobar' is not a valid enum value of type ChannelInterpretation.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.channelInterpretation after invalid setter is equal to discrete.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [test AudioNodeOptions] All assertions passed. (total 20 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [constructor with options]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1 = new AnalyserNode(c, {"fftSize":32,"maxDecibels":1,"minDecibels":-13,"smoothingTimeConstant":0.125}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1 instanceof AnalyserNode is equal to true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1.fftSize is equal to 32.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1.maxDecibels is equal to 1.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1.minDecibels is equal to -13.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node1.smoothingTimeConstant is equal to 0.125.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [constructor with options] All assertions passed. (total 6 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [construct invalid options]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, { fftSize: 33 }) threw IndexSizeError: "Failed to construct 'AnalyserNode': The value provided (33) is not a power of two.".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, { maxDecibels: -500 }) threw IndexSizeError: "Failed to construct 'AnalyserNode': maxDecibels (-500) must be greater than or equal to minDecibels ( -100).".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, { minDecibels: -10 }) threw IndexSizeError: "Failed to construct 'AnalyserNode': maxDecibels (-30) must be greater than or equal to minDecibels ( -10).".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, { smoothingTimeConstant: 2 }) threw IndexSizeError: "Failed to construct 'AnalyserNode': The smoothing value provided (2) is outside the range [0, 1].".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, { frequencyBinCount: 33 }) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node.frequencyBinCount is equal to 1024.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [construct invalid options] All assertions passed. (total 6 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass> [setting min/max]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"minDecibels":-10,"maxDecibels":20}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"maxDecibels":20,"minDecibels":-10}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"minDecibels":-200,"maxDecibels":-150}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"maxDecibels":-150,"minDecibels":-200}) did not throw an exception.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"maxDecibels":-150,"minDecibels":-10}) threw IndexSizeError: "Failed to construct 'AnalyserNode': maxDecibels (-150) must be greater than or equal to minDecibels ( -10).".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass node = new AnalyserNode(c, {"minDecibels":-10,"maxDecibels":-150}) threw IndexSizeError: "Failed to construct 'AnalyserNode': maxDecibels (-150) must be greater than or equal to minDecibels ( -10).".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [setting min/max] All assertions passed. (total 6 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass# AUDIT TASK RUNNER FINISHED: 7 tasks ran successfully.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)