servo/resources/crash.html
Delan Azabani c3c6c95a9b
constellation: crash to a new “sad tab” error page (#30290)
* constellation: crash to a new “sad tab” page

* check in resources/crash.html

* use a separate enum variant instead of keying on reason

* fmt + tidy

* rename Resource::Crash to Resource::CrashHTML

* clean up crash page and add details (reason + backtrace)

* avoid repeating crash errors in script::script_thread warn log

* make new LoadData init more idiomatic

* clarify comments and new fields

* fix doc comment style
2023-09-06 09:52:37 +00:00

8 lines
223 B
HTML

<p>Servo crashed!</p>
<!-- NOTE: unlike in Firefox and Chrome, this reloads POST as GET -->
<!-- see whatwg/html#6600 + whatwg/html#3215 -->
<button onclick="location.reload()">Reload</button>
<pre><plaintext>
${details}