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

Unified Diff: LayoutTests/media/media-volume-slider-rendered-below.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: LayoutTests/media/media-volume-slider-rendered-below.html
diff --git a/LayoutTests/media/media-volume-slider-rendered-below.html b/LayoutTests/media/media-volume-slider-rendered-below.html
deleted file mode 100644
index 8fb80008807005ea5673b13b114e5b4d4520f60a..0000000000000000000000000000000000000000
--- a/LayoutTests/media/media-volume-slider-rendered-below.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<html>
- <title>Test that volume slider is rendered below. </title>
-
- <head>
-
- <script src=video-test.js></script>
- <script src=media-file.js></script>
- <script src=media-controls.js></script>
-
- <script>
- var audio;
-
- var muteButtonCoordinates;
- var volumeSliderCoordinates;
-
- function test()
- {
- consoleWrite("** Test that the volume slider is rendered correctly if the controls are near the top of the page **");
-
- if (window.eventSender) {
- consoleWrite("");
- consoleWrite("** Move mouse on top of the mute button **");
-
- try {
- muteButtonCoordinates = mediaControlsButtonCoordinates(audio, "mute-button");
- } catch (exception) {
- consoleWrite("ERROR: unable to get controls coordinates.");
-
- failTest();
- return;
- }
-
- eventSender.mouseMoveTo(muteButtonCoordinates[0], muteButtonCoordinates[1]);
- }
-
- consoleWrite("");
- consoleWrite("** Ensure layout is done after mouse move **");
- document.body.offsetTop;
- volumeSliderCoordinates = mediaControlsButtonCoordinates(audio, "volume-slider-container");
-
- consoleWrite("");
- consoleWrite("** The volume slider should not be positioned outside the page **");
- testExpected("volumeSliderCoordinates[0] >= 0 && volumeSliderCoordinates[1] >= 0", true);
-
- endTest();
- }
-
- function initialize()
- {
- audio = document.getElementsByTagName("audio")[0];
- audio.src = findMediaFile("audio", "content/test");
- }
- </script>
- </head>
-
- <body onload="initialize();">
- <audio controls oncanplaythrough="test();"></audio>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698