| Index: third_party/WebKit/LayoutTests/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/media/video-controls-overflow-menu-download-button.html
|
| deleted file mode 100644
|
| index b3f2090d69c42a0631db7b903baba5ddbb7433ec..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/media/video-controls-overflow-menu-download-button.html
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<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>
|
| -<!--Padding ensures the overflow menu is visible for the tests. -->
|
| -<body style="padding-top: 200px; padding-left: 100px">
|
| -<video controls></video>
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.waitUntilExternalURLLoad();
|
| -}
|
| -async_test(function(t) {
|
| - // Set up video
|
| - var video = document.querySelector("video");
|
| - video.src = findMediaFile("video", "content/test");
|
| - video.setAttribute("width", "60");
|
| -
|
| - var controlID = "-internal-media-controls-download-button";
|
| - var downloadButton = mediaControlsElement(internals.shadowRoot(video).firstChild, controlID);
|
| -
|
| - video.onloadeddata = t.step_func(function() {
|
| - var overflowList = getOverflowList(video);
|
| - var overflowMenu = getOverflowMenuButton(video);
|
| -
|
| - // Click on the overflow menu button
|
| - var coords = elementCoordinates(overflowMenu);
|
| - clickAtCoordinates(coords[0], coords[1]);
|
| -
|
| - // Click on download button
|
| - var coords = elementCoordinates(overflowList.children[OverflowMenuButtons.DOWNLOAD]);
|
| - clickAtCoordinates(coords[0], coords[1]);
|
| - });
|
| -});
|
| -</script>
|
| -</body>
|
|
|