Index: third_party/WebKit/LayoutTests/media/controls-cast-overlay-slow-fade.html |
diff --git a/third_party/WebKit/LayoutTests/media/controls-cast-overlay-slow-fade.html b/third_party/WebKit/LayoutTests/media/controls-cast-overlay-slow-fade.html |
index 03bad40da543de9c8bc3b03b1d3bed9ba862f935..a5a421507c63a8e8534c8925f29582062df38839 100644 |
--- a/third_party/WebKit/LayoutTests/media/controls-cast-overlay-slow-fade.html |
+++ b/third_party/WebKit/LayoutTests/media/controls-cast-overlay-slow-fade.html |
@@ -6,6 +6,8 @@ |
<script src="../resources/testharnessreport.js"></script> |
<script src="media-file.js"></script> |
<script src="media-controls.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> |
</head> |
<body> |
@@ -13,7 +15,7 @@ |
<script> |
var controls; |
var test; |
- // The cast button should be visible for at least the controlsMouseMovementTimeout, and no more |
+ // The cast button should be visible for at least the controlsMouseMovementTimeout, and no more |
// than that plus the fadeout time. Allow 500ms margin at either side. |
var hideTimeoutLowerBound = controlsMouseMovementTimeoutMs - 500; |
var hideTimeoutUpperBound = controlsMouseMovementTimeoutMs + controlsFadeOutDurationMs + 500; |
@@ -27,7 +29,7 @@ |
{ |
findMediaElement(); |
video.src = findMediaFile("video", "content/test"); |
- video.addEventListener("playing", t.step_func(function() |
+ video.addEventListener("playing", t.step_func(function() |
{ |
setTimeout(t.step_func(function() |
{ |
@@ -56,4 +58,4 @@ |
}); |
</script> |
</body> |
-</html> |
+</html> |