Index: third_party/WebKit/LayoutTests/media/video-controls-hide-download-ui.html |
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html b/third_party/WebKit/LayoutTests/media/video-controls-hide-download-ui.html |
similarity index 84% |
copy from third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html |
copy to third_party/WebKit/LayoutTests/media/video-controls-hide-download-ui.html |
index 751ccfb96253f73a13a4969eeb8f2314681ef2d6..1c19c7b4e92a3103cb31cdb31fd87f3811bfe4b0 100644 |
--- a/third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html |
+++ b/third_party/WebKit/LayoutTests/media/video-controls-hide-download-ui.html |
@@ -1,5 +1,5 @@ |
<!DOCTYPE HTML> |
-<title>Download button should not appear for local files.</title> |
+<title>Download button should not appear when hiding download UI.</title> |
<script src="../resources/testharness.js"></script> |
<script src="../resources/testharnessreport.js"></script> |
<script src="media-controls.js"></script> |
@@ -7,6 +7,7 @@ |
<video controls></video> |
<script> |
async_test(function(t) { |
+ window.internals.settings.setHideDownloadUI(true); |
var video = document.querySelector("video"); |
video.src = findMediaFile("video", "content/test"); |
var controlID = "-internal-media-controls-download-button"; |