| Summary: | Improve exception messages when AudioContext.suspend() / resume() promises are rejected | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
| Component: | Web Audio | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sam, sergio, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 212611, 217606 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Dumez
2020-10-26 15:13:01 PDT
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. 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? |