WebCore:
[WebKit-https.git] / LayoutTests / media / video-display-none-crash.html
1 <video controls></video>
2 <p>Test that pause() after changing display to "none" doesn't cause a crash.</p>
3 <script src="video-test.js"></script>
4 <script>
5     video.src = "content/test.mp4";
6     video.play();
7     video.style.display = "none";
8     video.pause();
9     endTest();
10 </script>