Swallowing exceptions when running callbacks to extension functions |
|
Issue descriptionIn send_request.js, we do some work to find the relevant callback to dispatch to, run it, and then do some work to cleanup state, so we wrap the call to the callback in a try/catch. Ideally we would somehow allow developers to catch these exceptions with their global error handler instead of being forced to remember to wrap every callback with a try/catch. Perhaps we can just re-throw any exceptions at the end of our cleanup work. |
|
►
Sign in to add a comment |
|
Comment 1 by sheriffbot@chromium.org
, Jun 5 2017Status: Untriaged (was: Available)