| <title>right click on timebar test</title> |
| <script src=media-controls.js></script> |
| <script src=media-file.js></script> |
| <script src=video-test.js></script> |
| if (window.eventSender) { |
| seekCoords = mediaControlsButtonCoordinates(video, "timeline"); |
| failTest(exception.description); |
| eventSender.mouseMoveTo(x, y); |
| eventSender.contextClick(); |
| window.setTimeout("endTest()", 200); |
| window.setTimeout("click()", 100); |
| failTest("Should not seek."); |
| waitForEvent('playing', playing); |
| waitForEvent('seeked', seeked); |
| run("video.autoplay = true"); |
| disableFullTestDetailsPrinting(); |
| runSilently("video.src = '" + findMediaFile("video", "content/test") + "'"); |
| enableFullTestDetailsPrinting(); |
| <p>Test that right clicking on the timebar does not cause a seek.</p> |