Bug 215481

Summary: Make sure OfflineAudioContext::startOfflineRendering() does lazy initialization
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: clark_wang, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=215417
Bug Depends on:    
Bug Blocks: 212611    
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2020-08-13 16:34:28 PDT
Make sure OfflineAudioContext::startOfflineRendering() does lazy initialization before actually starting rendering. If lazy initialization has not happened yet (because no audio nodes were created for this context yet), then rendering would fail with an InvalidStateError, due to lack on initialization.
Attachments
Patch (10.57 KB, patch)
2020-08-13 16:36 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-08-13 16:36:07 PDT
EWS
Comment 2 2020-08-14 11:39:19 PDT
Committed r265684: <https://trac.webkit.org/changeset/265684> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406556 [details].
Radar WebKit Bug Importer
Comment 3 2020-08-14 11:40:20 PDT
Note You need to log in before you can comment on or make changes to this bug.