mirror of
https://github.com/servo/servo.git
synced 2025-06-18 22:34:30 +01:00
improve spec compliance of window.close
This commit is contained in:
parent
f63284efc0
commit
2753e5efab
12 changed files with 123 additions and 39 deletions
|
@ -102,6 +102,8 @@ pub enum EmbedderMsg {
|
|||
LoadStart,
|
||||
/// The load of a page has completed
|
||||
LoadComplete,
|
||||
/// A browser is to be closed
|
||||
CloseBrowser,
|
||||
/// A pipeline panicked. First string is the reason, second one is the backtrace.
|
||||
Panic(String, Option<String>),
|
||||
/// Open dialog to select bluetooth device.
|
||||
|
@ -130,6 +132,7 @@ impl Debug for EmbedderMsg {
|
|||
EmbedderMsg::SetCursor(..) => write!(f, "SetCursor"),
|
||||
EmbedderMsg::NewFavicon(..) => write!(f, "NewFavicon"),
|
||||
EmbedderMsg::HeadParsed => write!(f, "HeadParsed"),
|
||||
EmbedderMsg::CloseBrowser => write!(f, "CloseBrowser"),
|
||||
EmbedderMsg::HistoryChanged(..) => write!(f, "HistoryChanged"),
|
||||
EmbedderMsg::SetFullscreenState(..) => write!(f, "SetFullscreenState"),
|
||||
EmbedderMsg::LoadStart => write!(f, "LoadStart"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue