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/media/video-source-error-no-candidate.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/media/video-source-error-no-candidate.html
diff --git a/third_party/WebKit/LayoutTests/media/video-source-error-no-candidate.html b/third_party/WebKit/LayoutTests/media/video-source-error-no-candidate.html
index 347192d7621b9eec8d73452c020323f4a486e5b0..a175ee929bcaed6e420f7ed03c5ded7fa21e7c83 100644
--- a/third_party/WebKit/LayoutTests/media/video-source-error-no-candidate.html
+++ b/third_party/WebKit/LayoutTests/media/video-source-error-no-candidate.html
@@ -2,6 +2,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>&lt;video&gt; and &lt;source&gt; error test</title>
+ <!-- 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>
@@ -27,7 +29,7 @@
logResult(false, "EVENT(error) from " + evt.target);
testExpected("video.error", null);
-
+
if (++errorCount == expectedErrorCount) {
consoleWrite("");
setTimeout(endTest, 200);
@@ -53,7 +55,7 @@
<source id=empty-src src="" type="video/ogg">
<source id=no-extension-no-type src=nonexistent>
</video>
-
+
<p>Test that 'error' events are fired from &lt;source&gt; element when it can not be used.</p>
</body>

Powered by Google App Engine
This is Rietveld 408576698