Index: third_party/WebKit/LayoutTests/media/video-dom-src.html |
diff --git a/third_party/WebKit/LayoutTests/media/video-dom-src.html b/third_party/WebKit/LayoutTests/media/video-dom-src.html |
index 0abdf7e0c131795ffcd1740940569866fcdd82c9..2b681cf2c06d741af535c09844db4a3588a07b67 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-dom-src.html |
+++ b/third_party/WebKit/LayoutTests/media/video-dom-src.html |
@@ -1,5 +1,7 @@ |
<video controls></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> |
testExpected("video.currentSrc", ""); |
@@ -7,10 +9,10 @@ |
video.src = mediaFile; |
testExpected("video.currentSrc", ""); |
- waitForEvent('canplaythrough', function () { |
+ waitForEvent('canplaythrough', function () { |
testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile)); |
endTest(); |
} ); |
- |
+ |
video.load(); |
</script> |