<video controls></video> | |
<p>Test that pause() after changing display to "none" doesn't cause a crash.</p> | |
<script src="video-test.js"></script> | |
<script> | |
video.src = "content/test.mp4"; | |
video.play(); | |
video.style.display = "none"; | |
video.pause(); | |
endTest(); | |
</script> |