Improve exception messages when AudioContext.suspend() / resume() promises are rejected.
Created attachment 412359 [details] Patch
Comment on attachment 412359 [details] Patch r=me
Comment on attachment 412359 [details] Patch Clearing flags on attachment: 412359 Committed r268999: <https://trac.webkit.org/changeset/268999>
All reviewed patches have been landed. Closing bug.
<rdar://problem/70699860>
Comment on attachment 412359 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=412359&action=review > LayoutTests/webaudio/construct-node-with-closed-context-expected.txt:45 > +PASS context.resume() rejected promise with InvalidStateError: Context is closed. > PASS context.close() rejected promise with InvalidStateError: The object is in an invalid state.. Why do some of our error messages end with periods, and others not?