-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] test-main.js
needs an unhandled exception handler
#73330
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsWhen running tests with xharness on browser, we are not able to get the traces for uncaught exceptions. A handler for that can print the trace which can be usable by anyone looking at test logs.
Also, note the timings above.
|
Should xharness kill the test on any unhanded exception ? |
The runtime should print the details for the error, and then exit, which would trigger xharness to kill the browser process. |
When running tests with xharness on browser, we are not able to get the traces for uncaught exceptions. A handler for that can print the trace which can be usable by anyone looking at test logs.
Also, note the timings above.
xharness
continues to wait for 13mins after theuncaught
exception, because the app did not signal that it had crashed.The text was updated successfully, but these errors were encountered: