Calling AudioContext.suspend() while already suspended should resolve the promise right away. This is the behavior in the specification [1] and Blink/Gecko's behavior. [1] https://www.w3.org/TR/webaudio/#dom-audiocontext-suspend
Created attachment 412426 [details] Patch
Comment on attachment 412426 [details] Patch Clearing flags on attachment: 412426 Committed r269047: <https://trac.webkit.org/changeset/269047>
All reviewed patches have been landed. Closing bug.
<rdar://problem/70727154>