Index: LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html |
diff --git a/LayoutTests/media/controls-mute-with-controller-expected.html b/LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html |
similarity index 51% |
copy from LayoutTests/media/controls-mute-with-controller-expected.html |
copy to LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html |
index eed18d493faafa91327a516237b5e5035d2903c7..85a48b4f243923f0b43c224abf1b324b3685bcfc 100644 |
--- a/LayoutTests/media/controls-mute-with-controller-expected.html |
+++ b/LayoutTests/media/controls-drag-timebar-rendering-expected-mismatch.html |
@@ -1,11 +1,12 @@ |
-<!doctype html> |
+<!DOCTYPE html> |
<html> |
<head> |
- <title>media controls mute button with MediaController</title> |
- <script src="media-file.js"></script> |
+ <title>drag timebar reftest</title> |
+ <script src=media-controls.js></script> |
+ <script src=media-file.js></script> |
</head> |
<body> |
- <video controls muted></video> |
+ <video controls></video> |
<script> |
if (window.testRunner) |
testRunner.waitUntilDone(); |
@@ -14,6 +15,12 @@ |
video.src = findMediaFile("video", "content/test"); |
video.addEventListener("loadeddata", function() |
{ |
+ if (window.eventSender) { |
+ var coords = mediaControlsButtonCoordinates(video, "timeline"); |
+ eventSender.mouseMoveTo(coords[0], coords[1]); |
+ eventSender.mouseDown(); |
+ } |
+ |
if (window.testRunner) |
testRunner.notifyDone(); |
}); |