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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/video-controls-overflow-menu-download-button.html

Issue 2376293004: Don't show media controls download button on local files. (Closed)
Patch Set: rebaseline again \o/ Created 4 years, 3 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/http/tests/media/video-controls-overflow-menu-download-button.html
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-overflow-menu-download-button.html b/third_party/WebKit/LayoutTests/http/tests/media/video-controls-overflow-menu-download-button.html
similarity index 83%
rename from third_party/WebKit/LayoutTests/media/video-controls-overflow-menu-download-button.html
rename to third_party/WebKit/LayoutTests/http/tests/media/video-controls-overflow-menu-download-button.html
index b3f2090d69c42a0631db7b903baba5ddbb7433ec..1fa95997956c772616a6812bd8062c102c265bb2 100644
--- a/third_party/WebKit/LayoutTests/media/video-controls-overflow-menu-download-button.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/video-controls-overflow-menu-download-button.html
@@ -2,9 +2,9 @@
<title>Clicking on the overflow download button should download media.</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>
-<script src="overflow-menu.js"></script>
+<script src="../../media-resources/media-controls.js"></script>
+<script src="../../media-resources/media-file.js"></script>
+<script src="../../media-resources/overflow-menu.js"></script>
<!--Padding ensures the overflow menu is visible for the tests. -->
<body style="padding-top: 200px; padding-left: 100px">
<video controls></video>
@@ -15,7 +15,7 @@ if (window.testRunner) {
async_test(function(t) {
// Set up video
var video = document.querySelector("video");
- video.src = findMediaFile("video", "content/test");
+ video.src = findMediaFile("video", "resources/test");
video.setAttribute("width", "60");
var controlID = "-internal-media-controls-download-button";

Powered by Google App Engine
This is Rietveld 408576698