Changeset 196150 in webkit
- Timestamp:
- Feb 4, 2016 2:54:02 PM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r196145 r196150 1 2016-02-04 Eric Carlson <eric.carlson@apple.com> 2 3 media/video-size.html is flaky 4 https://bugs.webkit.org/show_bug.cgi?id=124932 5 <rdar://problem/23336430> 6 7 Reviewed by Jer Noble. 8 9 * media/video-size.html: Add logic to retry each stage silently twice before logging 10 failure because we can't predict how long it will take to load the poster frame. 11 1 12 2016-02-04 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/media/video-size.html
r79630 r196150 9 9 { 10 10 current:0, 11 retryCount: 0, 11 12 movies: 12 13 [ … … 62 63 { 63 64 consoleWrite(""); 65 movieInfo.current++; 66 movieInfo.retryCount = 0; 64 67 if (movieInfo.current >= movieInfo.movies.length) 65 68 { … … 101 104 var movie = movieInfo.movies[movieInfo.current]; 102 105 106 // We can't detect when the poster has loaded and the 100ms timeout may 107 // not be long enough on a slow/loaded machine. 108 if (video.clientWidth != movie.width || video.clientHeight != movie.height 109 || video.videoWidth != movie.videoWidth || video.videoHeight != movie.videoHeight) { 110 if (++movieInfo.retryCount <= 2) { 111 setTimeout(testMovie, 100); 112 return; 113 } 114 } 115 103 116 var desc = "<b>Testing movie with " + movie.description + ".</b>"; 104 117 consoleWrite(desc); … … 109 122 testExpected("video.videoHeight", movie.videoHeight); 110 123 111 movieInfo.current++;112 124 setupNextConfiguration(); 113 125 }
Note: See TracChangeset
for help on using the changeset viewer.