RESOLVED FIXED 218210
Improve exception messages when AudioContext.suspend() / resume() promises are rejected
https://bugs.webkit.org/show_bug.cgi?id=218210
Summary Improve exception messages when AudioContext.suspend() / resume() promises ar...
Chris Dumez
Reported 2020-10-26 15:13:01 PDT
Improve exception messages when AudioContext.suspend() / resume() promises are rejected.
Attachments
Patch (5.44 KB, patch)
2020-10-26 15:14 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-10-26 15:14:59 PDT
Geoffrey Garen
Comment 2 2020-10-26 15:50:30 PDT
Comment on attachment 412359 [details] Patch r=me
Chris Dumez
Comment 3 2020-10-26 16:09:21 PDT
Comment on attachment 412359 [details] Patch Clearing flags on attachment: 412359 Committed r268999: <https://trac.webkit.org/changeset/268999>
Chris Dumez
Comment 4 2020-10-26 16:09:23 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2020-10-26 16:10:17 PDT
Darin Adler
Comment 6 2020-10-26 17:38:37 PDT
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?
Note You need to log in before you can comment on or make changes to this bug.