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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-mutable.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-cue-mutable.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable.html b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable.html
index 352d378ebceb480d0fd34f5f42eff52abdf67bb9..4e9e3878d3013c0e30186a3ca024ec305e1737a2 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable.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>
var cues;
-
+
function logSpecURL(url, description)
{
consoleWrite("<br><i>" + description + "</i>");
@@ -74,7 +76,7 @@
run("textCue.line = 102");
testExpected("textCue.line", 102);
- logSpecURL("http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-line",
+ logSpecURL("http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrackcue-line",
"On setting, if the new value is negative or greater than 100, then throw an IndexSizeError exception. Otherwise, set the text track cue text position to the new value.");
testDOMException("textCue.position = -200", "DOMException.INDEX_SIZE_ERR");
testDOMException("textCue.position = 110", "DOMException.INDEX_SIZE_ERR");

Powered by Google App Engine
This is Rietveld 408576698