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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-displayed.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-not-displayed-mediastream.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-displayed.html
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html b/third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-displayed.html
similarity index 80%
copy from third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html
copy to third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-displayed.html
index 6d95b576677dcd37ac340f2ced3f605fede9e0d4..20409084d120cfc0923c4aa8dea9f792a0e11b0e 100644
--- a/third_party/WebKit/LayoutTests/media/video-controls-download-button-displayed.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-displayed.html
@@ -2,8 +2,8 @@
<title>Download button should appear for videos that can be downloaded.</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="../../media-resources/media-controls.js"></script>
+<script src="../../media-resources/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>
@@ -11,7 +11,7 @@
async_test(function(t) {
// Set up video
var video = document.querySelector("video");
- video.src = findMediaFile("video", "content/test");
+ video.src = findMediaFile("video", "resources/test");
var controlID = "-internal-media-controls-download-button";
var downloadButton = mediaControlsElement(internals.shadowRoot(video).firstChild, controlID);
video.onloadeddata = t.step_func_done(function() {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/media/video-controls-download-button-not-displayed-mediastream.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698