Index: third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html b/third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html |
index e1b4582ee5352b1c4fc576192585c1a837cc8aa7..758e76baa0a9cbc6f735ba90b19cd497b48dd72b 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html |
@@ -1,9 +1,11 @@ |
<html> |
<head> |
+ <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
+ (Please avoid writing new tests using video-test.js) --> |
<script src=../../media-resources/video-test.js></script> |
<script src=../../media-resources/media-file.js></script> |
<script> |
- function loadMediaFrame() |
+ function loadMediaFrame() |
{ |
findMediaElement(); |
@@ -15,11 +17,11 @@ |
frame.height = 0; |
frame.addEventListener('load', function () { |
video.src = 'http://127.0.0.1:8000/media/resources/load-video.php?name=' + movie + '&type=' + type; |
- |
+ |
waitForEventAndFail('error'); |
waitForEventAndEnd('canplay'); |
}); |
- |
+ |
frame.src = "data:text/html,<b>test</b>"; |
document.body.appendChild(frame); |
} |