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

Unified Diff: third_party/WebKit/LayoutTests/media/video-controls-hide-download-ui.html

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 2 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 | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698