Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/video-query-url.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698