Bug 218235

Summary: AudioContext.suspend() should not reject promise when audio session is interrupted
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 217606    
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2020-10-27 08:21:08 PDT
AudioContext.suspend() should not reject promise when audio session is interrupted. Being "interrupted" is an internal WebKit concept and rejecting the promise here is confusing to Web developers.
Attachments
Patch (6.80 KB, patch)
2020-10-27 08:24 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-10-27 08:24:54 PDT
Chris Dumez
Comment 2 2020-10-27 08:26:09 PDT
Comment on attachment 412423 [details] Patch Clearing flags on attachment: 412423 Committed r269039: <https://trac.webkit.org/changeset/269039>
Chris Dumez
Comment 3 2020-10-27 08:26:11 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2020-10-27 08:27:18 PDT
Note You need to log in before you can comment on or make changes to this bug.