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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-webvtt-tc006-cue-identifiers.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/track/track-webvtt-tc006-cue-identifiers.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc006-cue-identifiers.html b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc006-cue-identifiers.html
index 0b94c361cc73eea1dc717c19dada771b7210d1f3..7c8ad83ff884d5b09e388a1fc56c00f4220dc865 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc006-cue-identifiers.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-webvtt-tc006-cue-identifiers.html
@@ -4,11 +4,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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>
+ <script>
numberOfTrackTests = 2;
-
+
function trackLoaded()
{
numberOfTracksLoaded++;
@@ -17,12 +19,12 @@
testTrack1();
}
}
-
+
function testTrack0()
{
findMediaElement();
-
- var expected =
+
+ var expected =
{
length : 4,
tests:
@@ -53,7 +55,7 @@
function testTrack1()
{
findMediaElement();
- var expected =
+ var expected =
{
length : 0,
tests:
@@ -72,4 +74,4 @@
<track src="captions-webvtt/tc006-cue-id-error.vtt" onload="trackLoaded()">
</video>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698