report panic to embedder

This commit is contained in:
Paul Rouget 2018-02-08 08:08:57 +01:00
parent d09bb477f9
commit ee25413c0f
5 changed files with 17 additions and 2 deletions

View file

@ -1354,6 +1354,10 @@ impl WindowMethods for Window {
fn supports_clipboard(&self) -> bool {
true
}
fn handle_panic(&self, _: BrowserId, _reason: String, _backtrace: Option<String>) {
// Nothing to do here yet. The crash has already been reported on the console.
}
}
fn glutin_phase_to_touch_event_type(phase: TouchPhase) -> TouchEventType {