Bug 224399

Summary: webaudio/AudioListener/audiolistener-set-position.html is leaking PannerNodes
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, peng.liu6, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=224387
Attachments:
Description Flags
Patch
none
Patch ggaren: review+

Chris Dumez
Reported 2021-04-09 16:30:07 PDT
webaudio/AudioListener/audiolistener-set-position.html is leaking PannerNodes (and thus OfflineAudioContexts).
Attachments
Patch (18.60 KB, patch)
2021-04-12 11:57 PDT, Chris Dumez
no flags
Patch (19.11 KB, patch)
2021-04-12 12:31 PDT, Chris Dumez
ggaren: review+
Chris Dumez
Comment 1 2021-04-12 11:36:33 PDT
*** Bug 224439 has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 2 2021-04-12 11:57:58 PDT
Chris Dumez
Comment 3 2021-04-12 12:31:34 PDT
Geoffrey Garen
Comment 4 2021-04-12 13:59:00 PDT
Comment on attachment 425774 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425774&action=review r=me > Source/WebCore/ChangeLog:33 > + Early return if lazyInitialize() gets called for au audiocontext is closed. Nothing prevents JS from for au => after an > Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp:184 > +bool AudioScheduledSourceNode::virtualHasPendingActivity() const Not for this patch, but this function really needs a better to name to clarify that it is an addition, *not* an override. Maybe "hasAdditionalPendingActivity" or something like that.
Chris Dumez
Comment 5 2021-04-12 14:28:37 PDT
Radar WebKit Bug Importer
Comment 6 2021-04-12 14:29:31 PDT
Note You need to log in before you can comment on or make changes to this bug.