Bug 26956 - Background audio stops playing when JS GC runs
Summary: Background audio stops playing when JS GC runs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-07-03 13:30 PDT by Simon Fraser (smfr)
Modified: 2009-07-08 07:15 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2009-07-03 13:52 PDT, Simon Fraser (smfr)
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 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.
Comment 1 Simon Fraser (smfr) 2009-07-03 13:31:01 PDT
<rdar://problem/6870187>
Comment 2 Simon Fraser (smfr) 2009-07-03 13:52:04 PDT
Created attachment 32247 [details]
Patch
Comment 3 Simon Fraser (smfr) 2009-07-03 13:54:58 PDT
http://trac.webkit.org/changeset/45537
Comment 4 Alexey Proskuryakov 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.