WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
24874
HTMLMediaElement: 'duration' defaults to NaN, deal with it
https://bugs.webkit.org/show_bug.cgi?id=24874
Summary
HTMLMediaElement: 'duration' defaults to NaN, deal with it
Eric Carlson
Reported
2009-03-26 21:33:27 PDT
As per the spec, the duration of a media file is NaN when no media data is available The HTMLMediaElement needs to special case that state when it does comparisons with "duration()".
Attachments
proposed patch
(1.77 KB, patch)
2009-03-26 21:45 PDT
,
Eric Carlson
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2009-03-26 21:45:42 PDT
Created
attachment 29004
[details]
proposed patch
Eric Carlson
Comment 2
2009-03-27 05:59:44 PDT
Sending WebCore/ChangeLog Sending WebCore/html/HTMLMediaElement.cpp Transmitting file data .. Committed revision 42029.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug