Bug 26956

Summary: Background audio stops playing when JS GC runs
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Patch sam: review+

Simon Fraser (smfr)
Reported 2009-07-03 13:30:34 PDT
If a page creates an Audio element in JS, and tells it to play, then that only works the first time the page is loaded. On Reload, the audio fails to play.
Attachments
Patch (1.58 KB, patch)
2009-07-03 13:52 PDT, Simon Fraser (smfr)
sam: review+
Simon Fraser (smfr)
Comment 1 2009-07-03 13:31:01 PDT
Simon Fraser (smfr)
Comment 2 2009-07-03 13:52:04 PDT
Simon Fraser (smfr)
Comment 3 2009-07-03 13:54:58 PDT
Alexey Proskuryakov
Comment 4 2009-07-08 07:15:50 PDT
It seems that handling such cases with ActiveDOMObject machinery could be more performant than running a long list of checks on each node with a wrapper.
Note You need to log in before you can comment on or make changes to this bug.