Bug 25424

Summary: media/video-played.html test doesn't take in account synchronization with media playback
Product: WebKit Reporter: Pierre d'Herbemont <pdherbemont>
Component: New BugsAssignee: Pierre d'Herbemont <pdherbemont>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
patch v1.
simon.fraser: review+
patch v2.
none
patch v3. simon.fraser: review+

Pierre d'Herbemont
Reported 2009-04-27 08:58:04 PDT
media/video-played.html test doesn't take in account synchronization with media playback. On slow machines this could results in failing tests.
Attachments
patch v1. (10.50 KB, patch)
2009-04-27 09:09 PDT, Pierre d'Herbemont
simon.fraser: review+
patch v2. (24.95 KB, patch)
2009-04-27 13:02 PDT, Pierre d'Herbemont
no flags
patch v3. (26.70 KB, patch)
2009-04-27 13:56 PDT, Pierre d'Herbemont
simon.fraser: review+
Pierre d'Herbemont
Comment 1 2009-04-27 09:09:09 PDT
Created attachment 29819 [details] patch v1.
Simon Fraser (smfr)
Comment 2 2009-04-27 09:32:05 PDT
Comment on attachment 29819 [details] patch v1. > + Note, this does not ensure a strict synchronization between the time > + asked and the media playback. But given that media playback is the > + slow part we just need to compensate the delay involved by playback. compensate _for_ the delay. > + if (playedTime < 0) { > + // Deal with loop. Workd only once, hence the warning Typo here.
Mark Rowe (bdash)
Comment 3 2009-04-27 12:41:46 PDT
*** Bug 25423 has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 4 2009-04-27 12:41:52 PDT
*** Bug 25422 has been marked as a duplicate of this bug. ***
Pierre d'Herbemont
Comment 5 2009-04-27 13:02:08 PDT
Created attachment 29823 [details] patch v2. This time we moreover split the test into three files in order to avoid timeout on slow machines.
Pierre d'Herbemont
Comment 6 2009-04-27 13:56:03 PDT
Created attachment 29825 [details] patch v3. With ChangeLog this time.
Simon Fraser (smfr)
Comment 7 2009-04-27 22:15:50 PDT
Note You need to log in before you can comment on or make changes to this bug.