Test suspend()/resume()

The functionality of suspend()/resume() can't currently be tested with an OfflineAudioContext, so they need to be tested manually here.

You may want to open up a console window to see the messages, in addition to viewing the messages in the Results area below.

Test 1

Test for issue 483002

Perform the following steps

  1. Start Test: you should hear a tone.
  2. Run Test: This runs the test. You may press this multiple times. Each press should cause "suspended" and "running" to be printed out in the Results section below and in the console.
  3. End Test: Press this to end the test and stop the audio.



Test 2

Test for issue 483269

Perform the following steps

  1. Start Test: you should hear a tone. Wait a little bit before proceeding.
  2. Run Test: You may press this multiple times. This calls suspend()/resume() multiple times. The tone should stop momentarily, but restart very quickly. You should still hear the tone.
  3. End Test: Stops the tone.

If you do not hear a tone after running the test (but before ending), the test has failed.

Results