blob: a29833e139a19e5345c758aef3b990fa20a594a8 [file] [log] [blame]
PASS # AUDIT TASK RUNNER STARTED.
PASS Executing "initialize"
PASS Executing "invalid constructor"
PASS Executing "default constructor"
PASS Executing "nullable buffer"
PASS Executing "constructor options"
PASS Audit report
PASS > [initialize]
PASS context = new OfflineAudioContext(...) did not throw an exception.
PASS < [initialize] All assertions passed. (total 1 assertions)
PASS > [invalid constructor]
PASS new AudioBufferSourceNode() threw TypeError: "Not enough arguments".
PASS new AudioBufferSourceNode(1) threw TypeError: "Argument 1 ('context') to the AudioBufferSourceNode constructor must be an instance of BaseAudioContext".
PASS new AudioBufferSourceNode(context, 42) threw TypeError: "Type error".
PASS < [invalid constructor] All assertions passed. (total 3 assertions)
PASS > [default constructor]
PASS node0 = new AudioBufferSourceNode(context) did not throw an exception.
PASS node0 instanceof AudioBufferSourceNode is equal to true.
PASS node0.numberOfInputs is equal to 0.
PASS node0.numberOfOutputs is equal to 1.
PASS node0.channelCount is equal to 2.
PASS node0.channelCountMode is equal to max.
PASS node0.channelInterpretation is equal to speakers.
PASS node0.buffer is equal to null.
PASS node0.detune.value is equal to 0.
PASS node0.loop is equal to false.
PASS node0.loopEnd is equal to 0.
PASS node0.loopStart is equal to 0.
PASS node0.playbackRate.value is equal to 1.
PASS < [default constructor] All assertions passed. (total 13 assertions)
PASS > [nullable buffer]
PASS node1 = new AudioBufferSourceNode(c, {"buffer":null} did not throw an exception.
PASS node1.buffer is equal to null.
PASS < [nullable buffer] All assertions passed. (total 2 assertions)
PASS > [constructor options]
PASS node = new AudioBufferSourceNode(c, {"buffer":{},"detune":0.5,"loop":true,"loopEnd":0.010417,"loopStart":0.000104,"playbackRate":0.75}) did not throw an exception.
PASS node2.buffer === buffer is equal to true.
PASS node2.detune.value is equal to 0.5.
PASS node2.loop is equal to true.
PASS node2.loopEnd is equal to 0.010417.
PASS node2.loopStart is equal to 0.000104.
PASS node2.playbackRate.value is equal to 0.75.
PASS < [constructor options] All assertions passed. (total 7 assertions)
PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.