Bug 50962

Summary: HTMLMediaElement::endedPlayback should not return true if duration is zero
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch koivisto: review+

Description Eric Carlson 2010-12-13 13:04:08 PST
A media element with a duration of zero can not play so it can never have "ended playback".
Comment 1 Eric Carlson 2010-12-13 13:16:54 PST
Created attachment 76424 [details]
Proposed patch
Comment 2 Eric Carlson 2010-12-13 13:58:49 PST
http://trac.webkit.org/changeset/73957