Bug 124898

Summary: video.currentSrc should return empty when no resource is loaded
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, gyuyoung.kim, jer.noble
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch. none

Eric Carlson
Reported 2013-11-26 11:23:53 PST
The spec says: media.currentSrc Returns the address of the current media resource. Returns the empty string when there is no media resource. we don't clear m_currentSrc when a resource is unloaded.
Attachments
Proposed patch. (3.74 KB, patch)
2013-11-26 11:33 PST, Eric Carlson
no flags
Eric Carlson
Comment 1 2013-11-26 11:33:29 PST
Created attachment 217892 [details] Proposed patch.
WebKit Commit Bot
Comment 2 2013-11-26 12:08:58 PST
Comment on attachment 217892 [details] Proposed patch. Clearing flags on attachment: 217892 Committed r159789: <http://trac.webkit.org/changeset/159789>
WebKit Commit Bot
Comment 3 2013-11-26 12:09:04 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.