Bug 50962 - HTMLMediaElement::endedPlayback should not return true if duration is zero
Summary: HTMLMediaElement::endedPlayback should not return true if duration is zero
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 13:04 PST by Eric Carlson
Modified: 2010-12-13 13:58 PST (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.67 KB, patch)
2010-12-13 13:16 PST, Eric Carlson
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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