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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-mode-not-changed-by-new-track.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-mode-not-changed-by-new-track.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-mode-not-changed-by-new-track.html b/third_party/WebKit/LayoutTests/media/track/track-mode-not-changed-by-new-track.html
index c9fcf60230c2b18407efce33a487389bcb7b99f2..4bdbcf67431eda241e0df82f282e48a09c9d5346 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-mode-not-changed-by-new-track.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-mode-not-changed-by-new-track.html
@@ -4,6 +4,8 @@
<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>
@@ -81,7 +83,7 @@
consoleWrite("<br>EVENT(load) -- &lt;body&gt;");
findMediaElement();
- track1 = document.querySelectorAll('track')[0];
+ track1 = document.querySelectorAll('track')[0];
testExpected("track1.readyState", HTMLTrackElement.NONE);
testExpected("track1.track.mode", "disabled");
@@ -93,7 +95,7 @@
<body onload="start()">
<p>Tests that a track appended after the initial track configuration does not change other tracks.</p>
- <video oncanplaythrough="canplaythrough()" >
+ <video oncanplaythrough="canplaythrough()" >
<track kind="metadata" src="captions-webvtt/metadata.vtt" onload="metadataTrackLoaded()">
</video>
</body>

Powered by Google App Engine
This is Rietveld 408576698