mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
When any exception happens from the DevToolsProcess's JSProcessActor, the stacktrace is lost when the exception reaches the parent process. Manually transfer the exception payload between processes so that RDP server can send the full stack to the client. Using callbacks was losing async stack trace, so I moved super.sendQuery into an inline async function to be able to use await and preserve async stacks in case of errors. Differential Revision: https://phabricator.services.mozilla.com/D298390