Bug 33897

Summary: [Gtk] media/video-currentTime-set.html is flaky
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Refactored the test to use the seeked event. eric.carlson: review+

Description Philippe Normand 2010-01-20 05:53:00 PST
That test performs a seek then play() and wait 2 seconds for the ended event. On slow machines the media engine of the gtk port can take time to complete the seek. I think we should wait the end of the seek by waiting the "seeked" event and then fire the timer.
Comment 1 Philippe Normand 2010-01-20 05:55:32 PST
Created attachment 47013 [details]
Refactored the test to use the seeked event.
Comment 2 David Levin 2010-01-20 10:03:48 PST
fyi, typo in changelog: flacky
Comment 3 Eric Carlson 2010-01-20 10:11:27 PST
Comment on attachment 47013 [details]
Refactored the test to use the seeked event.

Nice change!

r=me with David's suggested spelling fix
Comment 4 Philippe Normand 2010-01-21 00:38:39 PST
Landed as r53612. Thanks!