Bug 29494

Summary: HTMLMediaElement m_playedTimeRanges can be NULL
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebCore Misc.Assignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch darin: review+

Description Eric Carlson 2009-09-18 10:15:01 PDT
m_playedTimeRanges is initialized in HTMLMediaElement::loadInternal and assumed to be non-NULL everywhere it is used. This does not work when PLUGIN_PROXY_FOR_VIDEO is defined, because loadInternal is never called.
Comment 1 Eric Carlson 2009-09-18 10:28:08 PDT
Created attachment 39767 [details]
proposed patch
Comment 2 Darin Adler 2009-09-18 10:36:58 PDT
Comment on attachment 39767 [details]
proposed patch

Can we have a regression test for this?
Comment 3 Eric Carlson 2009-09-18 11:47:52 PDT
A regression test isn't possible on the desktop because none of the ports build with PLUGIN_PROXY_FOR_VIDEO defined.
Comment 4 Eric Carlson 2009-09-18 11:48:09 PDT
http://trac.webkit.org/changeset/48519