| <script src=media-file.js></script> |
| <script src=video-test.js></script> |
| mediaElement = new Audio(); |
| waitForEvent('playing', playing); |
| mediaElement.src = findMediaFile('audio', 'content/test'); |
| testExpected("mediaElement.paused", false); |
| waitForEvent('pause', paused); |
| internals.simulateAudioInterruption(mediaElement); |
| testExpected("mediaElement.paused", true); |
| testExpected("mediaElement.ended", false); |
| <p><b>Test paused by:</b> |
| <li>Getting a higher priority audio stream.</li> |
| <li>This test does not work in the launchers, only with |