summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/media/video-plays-past-end-of-test.html
blob: cb7033c778b4bd80b379198918b5b41aaf729a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<p>This test intentionally lets the video keep playing past endTest() to ensure
that shutdown is clean, since DumpRenderTree used to crash in this case.</p>

<video autoplay id="video"></video>
<script src=media-file.js></script>
<!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
     (Please avoid writing new tests using video-test.js) -->
<script src=video-test.js></script>
<script type="text/javascript">
if (window.testRunner)
  testRunner.dumpAsText();
waitForEvent("playing", null, true);
video.src = findMediaFile("video", "content/test");
</script>