Index: third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html |
diff --git a/third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html b/third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html |
index e5a2a912969b215f1a8583eff5bf20a909e87843..7648af202dca91406082145e8ddd534223eedd31 100644 |
--- a/third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.html |
+++ b/third_party/WebKit/LayoutTests/media/controls-cast-button-narrow.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> |
@@ -41,7 +43,7 @@ |
var y = buttonBoundingRect.top + buttonBoundingRect.height / 2; |
return new Array(x, y); |
} |
- async_test(function(t) |
+ async_test(function(t) |
{ |
findMediaElement(); |
video.src = findMediaFile("video", "content/test"); |
@@ -53,7 +55,7 @@ |
// Video should not have a cast button since the video is too narrow |
button = castButton(video); |
assert_equals(button.style.display, "none", "button should not be visible with no cast devices"); |
- |
+ |
// It should, however, have an overlay cast button instead |
button = overlayCastButton(video); |
rect = button.getBoundingClientRect(); |
@@ -68,4 +70,4 @@ |
}); |
</script> |
</body> |
-</html> |
+</html> |