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

Description Eric Carlson 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.
Comment 1 Eric Carlson 2013-11-26 11:33:29 PST
Created attachment 217892 [details]
Proposed patch.
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2013-11-26 12:09:04 PST
All reviewed patches have been landed.  Closing bug.