Bug 216994

Summary: Constructing an AudioNode for a closed context should not throw an exception
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 216989    
Bug Blocks: 212611    
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2020-09-25 14:20:39 PDT
Constructing an AudioNode for a closed context should not throw an exception. This behavior is not as per specification and does not match the behavior of Chrome & Firefox either.
Comment 1 Chris Dumez 2020-09-25 14:22:05 PDT
Created attachment 409739 [details]
Patch
Comment 2 Chris Dumez 2020-09-25 18:03:32 PDT
Created attachment 409763 [details]
Patch
Comment 3 EWS 2020-09-26 15:14:01 PDT
Committed r267639: <https://trac.webkit.org/changeset/267639>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 409763 [details].
Comment 4 Radar WebKit Bug Importer 2020-09-26 15:15:27 PDT
<rdar://problem/69635426>