Re: [webaudio-tests] Replace usage of setTimeout with step_timeout in webaudio (#4980)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/204279257)

# Chrome (unstable channel) #
Testing web-platform-tests at revision 1f755960a0e8bece8c96badd741d6948647db4fe
Using browser at version 58.0.3013.3 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>7 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-audiobuffer-interface/idl-test.html">/webaudio/the-audio-api/the-audiobuffer-interface/idl-test.html</a></summary>


|                                                                        Subtest                                                                         | Results |                                                            Messages                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                        | OK      |                                                                                                                                |
| `AudioBuffer interface: existence and properties of interface object`                                                                                  | PASS    |                                                                                                                                |
| `AudioBuffer interface object length`                                                                                                                  | PASS    |                                                                                                                                |
| `AudioBuffer interface object name`                                                                                                                    | PASS    |                                                                                                                                |
| `AudioBuffer interface: existence and properties of interface prototype object`                                                                        | FAIL    | `assert_equals: class string of AudioBuffer.prototype expected "[object AudioBufferPrototype]" but got "[object AudioBuffer]"` |
| `AudioBuffer interface: existence and properties of interface prototype object's "constructor" property`                                               | PASS    |                                                                                                                                |
| `AudioBuffer interface: attribute sampleRate`                                                                                                          | PASS    |                                                                                                                                |
| `AudioBuffer interface: attribute length`                                                                                                              | PASS    |                                                                                                                                |
| `AudioBuffer interface: attribute duration`                                                                                                            | PASS    |                                                                                                                                |
| `AudioBuffer interface: attribute numberOfChannels`                                                                                                    | PASS    |                                                                                                                                |
| `AudioBuffer interface: operation getChannelData(unsigned long)`                                                                                       | PASS    |                                                                                                                                |
| `AudioBuffer interface: operation copyFromChannel(Float32Array,unsigned long,unsigned long)`                                                           | PASS    |                                                                                                                                |
| `AudioBuffer interface: operation copyToChannel(Float32Array,unsigned long,unsigned long)`                                                             | PASS    |                                                                                                                                |
| `AudioBuffer must be primary interface of audio_buffer`                                                                                                | PASS    |                                                                                                                                |
| `Stringification of audio_buffer`                                                                                                                      | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "sampleRate" with the proper type (0)`                                                      | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "length" with the proper type (1)`                                                          | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "duration" with the proper type (2)`                                                        | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "numberOfChannels" with the proper type (3)`                                                | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "getChannelData" with the proper type (4)`                                                  | PASS    |                                                                                                                                |
| `AudioBuffer interface: calling getChannelData(unsigned long) on audio_buffer with too few arguments must throw TypeError`                             | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "copyFromChannel" with the proper type (5)`                                                 | PASS    |                                                                                                                                |
| `AudioBuffer interface: calling copyFromChannel(Float32Array,unsigned long,unsigned long) on audio_buffer with too few arguments must throw TypeError` | PASS    |                                                                                                                                |
| `AudioBuffer interface: audio_buffer must inherit property "copyToChannel" with the proper type (6)`                                                   | PASS    |                                                                                                                                |
| `AudioBuffer interface: calling copyToChannel(Float32Array,unsigned long,unsigned long) on audio_buffer with too few arguments must throw TypeError`   | PASS    |                                                                                                                                |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-audiodestinationnode-interface/idl-test.html">/webaudio/the-audio-api/the-audiodestinationnode-interface/idl-test.html</a></summary>


|                                                                           Subtest                                                                           | Results |                                                                          Messages                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                             | OK      |                                                                                                                                                           |
| `AudioDestinationNode interface: existence and properties of interface object`                                                                              | PASS    |                                                                                                                                                           |
| `AudioDestinationNode interface object length`                                                                                                              | PASS    |                                                                                                                                                           |
| `AudioDestinationNode interface object name`                                                                                                                | PASS    |                                                                                                                                                           |
| `AudioDestinationNode interface: existence and properties of interface prototype object`                                                                    | FAIL    | `assert_equals: class string of AudioDestinationNode.prototype expected "[object AudioDestinationNodePrototype]" but got "[object AudioDestinationNode]"` |
| `AudioDestinationNode interface: existence and properties of interface prototype object's "constructor" property`                                           | PASS    |                                                                                                                                                           |
| `AudioDestinationNode interface: attribute maxChannelCount`                                                                                                 | PASS    |                                                                                                                                                           |
| `AudioDestinationNode must be primary interface of audio_destination_node`                                                                                  | PASS    |                                                                                                                                                           |
| `Stringification of audio_destination_node`                                                                                                                 | PASS    |                                                                                                                                                           |
| `AudioDestinationNode interface: audio_destination_node must inherit property "maxChannelCount" with the proper type (0)`                                   | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "connect" with the proper type (0)`                                                      | PASS    |                                                                                                                                                           |
| `AudioNode interface: calling connect(AudioNode,unsigned long,unsigned long) on audio_destination_node with too few arguments must throw TypeError`         | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "connect" with the proper type (1)`                                                      | PASS    |                                                                                                                                                           |
| `AudioNode interface: calling connect(AudioParam,unsigned long) on audio_destination_node with too few arguments must throw TypeError`                      | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "disconnect" with the proper type (2)`                                                   | PASS    |                                                                                                                                                           |
| `AudioNode interface: calling disconnect(unsigned long) on audio_destination_node with too few arguments must throw TypeError`                              | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "context" with the proper type (3)`                                                      | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "numberOfInputs" with the proper type (4)`                                               | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "numberOfOutputs" with the proper type (5)`                                              | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "channelCount" with the proper type (6)`                                                 | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "channelCountMode" with the proper type (7)`                                             | PASS    |                                                                                                                                                           |
| `AudioNode interface: audio_destination_node must inherit property "channelInterpretation" with the proper type (8)`                                        | PASS    |                                                                                                                                                           |
| `EventTarget interface: audio_destination_node must inherit property "addEventListener" with the proper type (0)`                                           | PASS    |                                                                                                                                                           |
| `EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on audio_destination_node with too few arguments must throw TypeError`    | PASS    |                                                                                                                                                           |
| `EventTarget interface: audio_destination_node must inherit property "removeEventListener" with the proper type (1)`                                        | PASS    |                                                                                                                                                           |
| `EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on audio_destination_node with too few arguments must throw TypeError` | PASS    |                                                                                                                                                           |
| `EventTarget interface: audio_destination_node must inherit property "dispatchEvent" with the proper type (2)`                                              | PASS    |                                                                                                                                                           |
| `EventTarget interface: calling dispatchEvent(Event) on audio_destination_node with too few arguments must throw TypeError`                                 | PASS    |                                                                                                                                                           |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-audioparam-interface/idl-test.html">/webaudio/the-audio-api/the-audioparam-interface/idl-test.html</a></summary>


|                                                                  Subtest                                                                  | Results | Messages |
|-------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                           | OK      |          |
| `AudioParam must be primary interface of delay_time`                                                                                      | PASS    |          |
| `Stringification of delay_time`                                                                                                           | PASS    |          |
| `AudioParam interface: delay_time must inherit property "value" with the proper type (0)`                                                 | PASS    |          |
| `AudioParam interface: delay_time must inherit property "defaultValue" with the proper type (1)`                                          | PASS    |          |
| `AudioParam interface: delay_time must inherit property "minValue" with the proper type (2)`                                              | PASS    |          |
| `AudioParam interface: delay_time must inherit property "maxValue" with the proper type (3)`                                              | PASS    |          |
| `AudioParam interface: delay_time must inherit property "setValueAtTime" with the proper type (4)`                                        | PASS    |          |
| `AudioParam interface: calling setValueAtTime(float,double) on delay_time with too few arguments must throw TypeError`                    | PASS    |          |
| `AudioParam interface: delay_time must inherit property "linearRampToValueAtTime" with the proper type (5)`                               | PASS    |          |
| `AudioParam interface: calling linearRampToValueAtTime(float,double) on delay_time with too few arguments must throw TypeError`           | PASS    |          |
| `AudioParam interface: delay_time must inherit property "exponentialRampToValueAtTime" with the proper type (6)`                          | PASS    |          |
| `AudioParam interface: calling exponentialRampToValueAtTime(float,double) on delay_time with too few arguments must throw TypeError`      | PASS    |          |
| `AudioParam interface: delay_time must inherit property "setTargetAtTime" with the proper type (7)`                                       | PASS    |          |
| `AudioParam interface: calling setTargetAtTime(float,double,double) on delay_time with too few arguments must throw TypeError`            | PASS    |          |
| `AudioParam interface: delay_time must inherit property "setValueCurveAtTime" with the proper type (8)`                                   | PASS    |          |
| `AudioParam interface: calling setValueCurveAtTime(Float32Array,double,double) on delay_time with too few arguments must throw TypeError` | PASS    |          |
| `AudioParam interface: delay_time must inherit property "cancelScheduledValues" with the proper type (9)`                                 | PASS    |          |
| `AudioParam interface: calling cancelScheduledValues(double) on delay_time with too few arguments must throw TypeError`                   | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-delaynode-interface/idl-test.html">/webaudio/the-audio-api/the-delaynode-interface/idl-test.html</a></summary>


|                                                                     Subtest                                                                     | Results |                                                         Messages                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                 | OK      |                                                                                                                          |
| `DelayNode interface: existence and properties of interface object`                                                                             | PASS    |                                                                                                                          |
| `DelayNode interface object length`                                                                                                             | PASS    |                                                                                                                          |
| `DelayNode interface object name`                                                                                                               | PASS    |                                                                                                                          |
| `DelayNode interface: existence and properties of interface prototype object`                                                                   | FAIL    | `assert_equals: class string of DelayNode.prototype expected "[object DelayNodePrototype]" but got "[object DelayNode]"` |
| `DelayNode interface: existence and properties of interface prototype object's "constructor" property`                                          | PASS    |                                                                                                                          |
| `DelayNode interface: attribute delayTime`                                                                                                      | PASS    |                                                                                                                          |
| `DelayNode must be primary interface of delay_node`                                                                                             | PASS    |                                                                                                                          |
| `Stringification of delay_node`                                                                                                                 | PASS    |                                                                                                                          |
| `DelayNode interface: delay_node must inherit property "delayTime" with the proper type (0)`                                                    | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "connect" with the proper type (0)`                                                      | PASS    |                                                                                                                          |
| `AudioNode interface: calling connect(AudioNode,unsigned long,unsigned long) on delay_node with too few arguments must throw TypeError`         | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "connect" with the proper type (1)`                                                      | PASS    |                                                                                                                          |
| `AudioNode interface: calling connect(AudioParam,unsigned long) on delay_node with too few arguments must throw TypeError`                      | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "disconnect" with the proper type (2)`                                                   | PASS    |                                                                                                                          |
| `AudioNode interface: calling disconnect(unsigned long) on delay_node with too few arguments must throw TypeError`                              | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "context" with the proper type (3)`                                                      | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "numberOfInputs" with the proper type (4)`                                               | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "numberOfOutputs" with the proper type (5)`                                              | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "channelCount" with the proper type (6)`                                                 | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "channelCountMode" with the proper type (7)`                                             | PASS    |                                                                                                                          |
| `AudioNode interface: delay_node must inherit property "channelInterpretation" with the proper type (8)`                                        | PASS    |                                                                                                                          |
| `EventTarget interface: delay_node must inherit property "addEventListener" with the proper type (0)`                                           | PASS    |                                                                                                                          |
| `EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on delay_node with too few arguments must throw TypeError`    | PASS    |                                                                                                                          |
| `EventTarget interface: delay_node must inherit property "removeEventListener" with the proper type (1)`                                        | PASS    |                                                                                                                          |
| `EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on delay_node with too few arguments must throw TypeError` | PASS    |                                                                                                                          |
| `EventTarget interface: delay_node must inherit property "dispatchEvent" with the proper type (2)`                                              | PASS    |                                                                                                                          |
| `EventTarget interface: calling dispatchEvent(Event) on delay_node with too few arguments must throw TypeError`                                 | PASS    |                                                                                                                          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-gainnode-interface/idl-test.html">/webaudio/the-audio-api/the-gainnode-interface/idl-test.html</a></summary>


|                                                                    Subtest                                                                     | Results |                                                        Messages                                                       |
|------------------------------------------------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                | OK      |                                                                                                                       |
| `GainNode interface: existence and properties of interface object`                                                                             | PASS    |                                                                                                                       |
| `GainNode interface object length`                                                                                                             | PASS    |                                                                                                                       |
| `GainNode interface object name`                                                                                                               | PASS    |                                                                                                                       |
| `GainNode interface: existence and properties of interface prototype object`                                                                   | FAIL    | `assert_equals: class string of GainNode.prototype expected "[object GainNodePrototype]" but got "[object GainNode]"` |
| `GainNode interface: existence and properties of interface prototype object's "constructor" property`                                          | PASS    |                                                                                                                       |
| `GainNode interface: attribute gain`                                                                                                           | PASS    |                                                                                                                       |
| `GainNode must be primary interface of gain_node`                                                                                              | PASS    |                                                                                                                       |
| `Stringification of gain_node`                                                                                                                 | PASS    |                                                                                                                       |
| `GainNode interface: gain_node must inherit property "gain" with the proper type (0)`                                                          | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "connect" with the proper type (0)`                                                      | PASS    |                                                                                                                       |
| `AudioNode interface: calling connect(AudioNode,unsigned long,unsigned long) on gain_node with too few arguments must throw TypeError`         | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "connect" with the proper type (1)`                                                      | PASS    |                                                                                                                       |
| `AudioNode interface: calling connect(AudioParam,unsigned long) on gain_node with too few arguments must throw TypeError`                      | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "disconnect" with the proper type (2)`                                                   | PASS    |                                                                                                                       |
| `AudioNode interface: calling disconnect(unsigned long) on gain_node with too few arguments must throw TypeError`                              | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "context" with the proper type (3)`                                                      | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "numberOfInputs" with the proper type (4)`                                               | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "numberOfOutputs" with the proper type (5)`                                              | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "channelCount" with the proper type (6)`                                                 | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "channelCountMode" with the proper type (7)`                                             | PASS    |                                                                                                                       |
| `AudioNode interface: gain_node must inherit property "channelInterpretation" with the proper type (8)`                                        | PASS    |                                                                                                                       |
| `EventTarget interface: gain_node must inherit property "addEventListener" with the proper type (0)`                                           | PASS    |                                                                                                                       |
| `EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on gain_node with too few arguments must throw TypeError`    | PASS    |                                                                                                                       |
| `EventTarget interface: gain_node must inherit property "removeEventListener" with the proper type (1)`                                        | PASS    |                                                                                                                       |
| `EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on gain_node with too few arguments must throw TypeError` | PASS    |                                                                                                                       |
| `EventTarget interface: gain_node must inherit property "dispatchEvent" with the proper type (2)`                                              | PASS    |                                                                                                                       |
| `EventTarget interface: calling dispatchEvent(Event) on gain_node with too few arguments must throw TypeError`                                 | PASS    |                                                                                                                       |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html">/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html</a></summary>


|  Subtest   | Results | Messages |
|------------|---------|----------|
|            | OK      |          |
| `GainNode` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4980/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html">/webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html</a></summary>


|             Subtest              | Results |                                                               Messages                                                               |
|----------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------|
|                                  | OK      |                                                                                                                                      |
| `Element Source tests completed` | PASS    |                                                                                                                                      |
| `Channel 0 processed some data`  | PASS    |                                                                                                                                      |
| `All data processed correctly`   | FAIL    | `assert_true: comparing expected and rendered buffers (channel 0): lengths differ, expected 48000 got 48017 expected true got false` |

</details>
</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4980#issuecomment-281765882

Received on Wednesday, 22 February 2017 18:56:47 UTC