Changeset 85015 in webkit
- Timestamp:
- Apr 26, 2011 10:07:27 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r85014 r85015 1 2011-04-26 Ami Fischman <fischman@google.com> 2 3 Reviewed by David Levin. 4 5 Fix media/video-controls-transformed.html layouttest to compute the click 6 location of the play button instead of hard-coding pixel values that have 7 been wrong for a long time. Start expecting the test to pass in chromium 8 (it's currently Skipped on all platforms). 9 https://bugs.webkit.org/show_bug.cgi?id=58590 10 11 * media/video-controls-transformed.html: 12 * platform/chromium/test_expectations.txt: 13 1 14 2011-04-26 Dirk Pranke <dpranke@chromium.org> 2 15 -
trunk/LayoutTests/media/video-controls-transformed.html
r79630 r85015 18 18 testExpected("video.controls", null, '!='); 19 19 waitForEvent('canplaythrough', function () { 20 if (window.eventSender) 21 { 22 eventSender.mouseMoveTo(54,240); // over play button 20 if (window.eventSender) { 21 // Find the play button and click the middle of its bounding box. 22 // This approach hard-codes the construction order of the media 23 // controls, which is ugly, but sadly is also currently the only 24 // way to do it. 25 // http://bugs.webkit.org/show_bug.cgi?id=58584 is tracking fixing that. 26 var playButton = layoutTestController.shadowRoot(video).firstChild.firstChild.children[1]; 27 if (!playButton) { 28 failTest("Failed to find play/pause button."); 29 } 30 var playButtonBoundingRect = playButton.getBoundingClientRect(); 31 var clickX = playButtonBoundingRect.left + playButtonBoundingRect.width / 2; 32 var clickY = playButtonBoundingRect.top + playButtonBoundingRect.height / 2; 33 eventSender.mouseMoveTo(clickX, clickY); 23 34 eventSender.mouseDown(); 24 35 eventSender.mouseUp(); -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r85014 r85015 822 822 // KNOWNISSUE : fails because progress event is not published 823 823 BUGCR59675 BUGCR59263 SKIP : media/event-attributes.html = PASS FAIL TIMEOUT 824 825 // These tests are failing because they use position-dependent mouse clicks.826 // might be hard to fix827 BUGCR25375 : media/video-controls-transformed.html = FAIL828 824 829 825 // We haven't implemented the WebKit fullscreen extension.
Note: See TracChangeset
for help on using the changeset viewer.