| Index: LayoutTests/media/controls-drag-timebar-rendering.html
|
| diff --git a/LayoutTests/media/controls-mute-with-controller.html b/LayoutTests/media/controls-drag-timebar-rendering.html
|
| similarity index 50%
|
| copy from LayoutTests/media/controls-mute-with-controller.html
|
| copy to LayoutTests/media/controls-drag-timebar-rendering.html
|
| index 9bbc9795fed76b4c4dcb657fe1aa3c0f708fb422..135ff577db7ef77e4bbe231547c51c273eab28e2 100644
|
| --- a/LayoutTests/media/controls-mute-with-controller.html
|
| +++ b/LayoutTests/media/controls-drag-timebar-rendering.html
|
| @@ -1,12 +1,12 @@
|
| -<!doctype html>
|
| +<!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <title>media controls mute button with MediaController</title>
|
| - <script src="media-file.js"></script>
|
| - <script src="media-controls.js"></script>
|
| + <title>drag timebar reftest</title>
|
| + <script src=media-controls.js></script>
|
| + <script src=media-file.js></script>
|
| </head>
|
| <body>
|
| - <video controls mediagroup="x"></video>
|
| + <video controls></video>
|
| <script>
|
| if (window.testRunner)
|
| testRunner.waitUntilDone();
|
| @@ -15,20 +15,16 @@
|
| video.src = findMediaFile("video", "content/test");
|
| video.addEventListener("loadeddata", function()
|
| {
|
| + video.play();
|
| +
|
| if (window.eventSender) {
|
| - // click the mute button
|
| - var coords = mediaControlsButtonCoordinates(video, "mute-button");
|
| + var coords = mediaControlsButtonCoordinates(video, "timeline");
|
| eventSender.mouseMoveTo(coords[0], coords[1]);
|
| eventSender.mouseDown();
|
| - eventSender.mouseUp();
|
| -
|
| - // wait for the volumechange event
|
| - video.addEventListener("volumechange", function()
|
| - {
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - });
|
| }
|
| +
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| });
|
| </script>
|
| </body>
|
|
|