Changeset 83947 in webkit
- Timestamp:
- Apr 14, 2011 10:22:30 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 added
- 9 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83939 r83947 1 2011-04-14 Ami Fischman <fischman@google.com> 2 3 Reviewed by Eric Carlson. 4 5 Rewrote video-controls-in-media-document layouttest to use the shadow 6 DOM (possible as of r83397) and avoid the need for pixel-test status. 7 https://bugs.webkit.org/show_bug.cgi?id=54634 8 9 * media/video-controls-in-media-document-expected.txt: Added. 10 * media/video-controls-in-media-document.html: 11 * platform/chromium-mac-leopard/media/video-controls-in-media-document-expected.checksum: Removed. 12 * platform/chromium-mac-leopard/media/video-controls-in-media-document-expected.png: Removed. 13 * platform/chromium-mac-leopard/media/video-controls-in-media-document-expected.txt: Removed. 14 * platform/chromium-win-xp/media/video-controls-in-media-document-expected.checksum: Removed. 15 * platform/chromium-win-xp/media/video-controls-in-media-document-expected.png: Removed. 16 * platform/chromium/media/video-controls-in-media-document-expected.checksum: Removed. 17 * platform/chromium/media/video-controls-in-media-document-expected.png: Removed. 18 * platform/chromium/media/video-controls-in-media-document-expected.txt: Removed. 19 * platform/chromium/test_expectations.txt: 20 * platform/gtk/media/video-controls-in-media-document-expected.txt: Removed. 21 * platform/mac/Skipped: 22 * platform/win/Skipped: 23 1 24 2011-04-14 Ami Fischman <fischman@google.com> 2 25 -
trunk/LayoutTests/media/video-controls-in-media-document.html
r80820 r83947 2 2 rendered overlapping with the video canvas).<p> 3 3 <script src="media-file.js" type="text/javascript"></script> 4 <script src="video-test.js" type="text/javascript"></script> 4 5 5 6 <iframe style="width: 400px; height: 300px; border: 0px;" id="container"> </iframe> 6 7 7 8 <script type="text/javascript"> 8 if (window.layoutTestController)9 layoutTestController.waitUntilDone();10 11 9 var iframe = document.getElementById("container"); 12 13 function finish() {14 // Sadly, "seeked" fires before the canvas is fully repainted or the controls15 // finish "fading in", so we have to insert an artificial delay before exiting16 // the test.17 if (window.layoutTestController)18 setTimeout("layoutTestController.notifyDone();", 100);19 };20 10 21 11 function timeupdate(event) { 22 12 var video = event.target; 23 video.addEventListener("seeked", finish); 24 // In order to get a predictable image (for pixels expectation) we seek to 25 // time 0. A simpler and more robust test would simply inspect the height of 26 // the rendered video+controls but the controls are part of the shadow DOM and 27 // are not reachable from JS (not even in DumpRenderTree). 28 video.pause(); 29 video.currentTime = 0; 13 controls = layoutTestController.shadowRoot(video).firstChild.firstChild; 14 testExpected("controls.offsetTop + controls.offsetHeight", video.offsetHeight, "<="); 15 layoutTestController.notifyDone(); 30 16 }; 31 17 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r83937 r83947 3061 3061 BUGV8_1168 : fast/js/mozilla/strict/this-for-function-expression-recursion.html = TEXT 3062 3062 3063 BUGWK54634 : media/video-controls-in-media-document.html = IMAGE+TEXT IMAGE PASS3064 3065 3063 BUGV8_1203 DEBUG : fast/canvas/webgl/gl-get-calls.html = PASS CRASH 3066 3064 -
trunk/LayoutTests/platform/mac/Skipped
r83820 r83947 302 302 fast/js/i18n-bindings-locale.html 303 303 304 # Waiting for someone with a mac to baseline this (new) test for mac.305 # https://bugs.webkit.org/show_bug.cgi?id=54436306 media/video-controls-in-media-document.html307 308 304 # Non-premultiplied-alpha currently broken on mac. 309 305 # https://bugs.webkit.org/show_bug.cgi?id=55509 -
trunk/LayoutTests/platform/win/Skipped
r83712 r83947 410 410 # Fails (but not on all machines? Or only when run with certain other tests?) http://webkit.org/b/54655 411 411 http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html 412 413 # Needs windows-specific pixel results http://webkit.org/b/54757414 media/video-controls-in-media-document.html415 412 416 413 # Sometimes fails http://webkit.org/b/55329
Note: See TracChangeset
for help on using the changeset viewer.