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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/video-useragent.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-useragent.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html b/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
index d79da8aad40af89bcbe8f1ba46949da1a8c724b1..55d6f52141c1154cd03aceb97967beba6219a253 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/video-useragent.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();
@@ -16,12 +18,12 @@
source = document.getElementById('source');
source.src = 'http://127.0.0.1:8000/media/resources/video-check-useragent.php?name=' + movie + '&type=' + type;
source.type = type;
-
+
waitForEventAndFail('error');
waitForEventAndEnd('canplay');
video.load();
});
-
+
frame.src = "data:text/html,<b>test</b>";
document.body.appendChild(frame);
}

Powered by Google App Engine
This is Rietveld 408576698