mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
report panic to embedder
This commit is contained in:
parent
d09bb477f9
commit
ee25413c0f
5 changed files with 17 additions and 2 deletions
|
@ -457,6 +457,11 @@ impl<Window> Servo<Window> where Window: WindowMethods + 'static {
|
|||
// TODO(pcwalton): Specify which frame's load completed.
|
||||
self.compositor.window.load_end(top_level_browsing_context);
|
||||
},
|
||||
(EmbedderMsg::Panic(top_level_browsing_context, reason, backtrace),
|
||||
ShutdownState::NotShuttingDown) => {
|
||||
self.compositor.window.handle_panic(top_level_browsing_context, reason, backtrace);
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue