For example, if the HTML5 client doesn't start and there is an error in the browser console the user will still only see "The HTML5 client is loading..." while it in fact isn't.
We should visually indicate that something went wrong in these cases.
Doesn't work if the crash is after UI.connect() has been called.
Doesn't work properly when in a handler for incoming data. Managed to provoke this crash:
recv_message, caught exception:
message: fooo is not defined
It is also might need some more layout improvements. You can't clearly tell what's the error message and what's the background behind it.
The error message is also not seen when the crash happens with the canvas visible.
A normal terminated session now also results in the message "Failed to connect.".
r30842 fixes comment #7
r30845 fixes comment #8 and comment #9
r30846 fixes comment #10
Everything seems to work fine now.