| Index: third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html b/third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html
|
| similarity index 64%
|
| rename from third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html
|
| rename to third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html
|
| index 6d95b576677dcd37ac340f2ced3f605fede9e0d4..751ccfb96253f73a13a4969eeb8f2314681ef2d6 100644
|
| --- a/third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html
|
| +++ b/third_party/WebKit/LayoutTests/media/video-controls-download-button-not-displayed-local.html
|
| @@ -1,22 +1,18 @@
|
| -<!DOCTYPE html>
|
| -<title>Download button should appear for videos that can be downloaded.</title>
|
| +<!DOCTYPE HTML>
|
| +<title>Download button should not appear for local files.</title>
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| <script src="media-controls.js"></script>
|
| <script src="media-file.js"></script>
|
| -<!--Padding ensures the overflow menu is visible for the tests. -->
|
| -<body style="padding-top: 200px; padding-left: 100px">
|
| <video controls></video>
|
| <script>
|
| async_test(function(t) {
|
| - // Set up video
|
| var video = document.querySelector("video");
|
| video.src = findMediaFile("video", "content/test");
|
| var controlID = "-internal-media-controls-download-button";
|
| var downloadButton = mediaControlsElement(internals.shadowRoot(video).firstChild, controlID);
|
| video.onloadeddata = t.step_func_done(function() {
|
| - assert_not_equals(getComputedStyle(downloadButton).display, "none");
|
| + assert_equals(getComputedStyle(downloadButton).display, "none");
|
| });
|
| });
|
| </script>
|
| -</body>
|
|
|