mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
mozbrowsersercuritychange event
This commit is contained in:
parent
fb3fe3d784
commit
63519c3574
13 changed files with 135 additions and 4 deletions
|
@ -46,6 +46,7 @@ use msg::constellation_msg::{PipelineNamespaceId, SubpageId};
|
|||
use msg::webdriver_msg::WebDriverScriptCommand;
|
||||
use net_traits::ResourceThread;
|
||||
use net_traits::image_cache_thread::ImageCacheThread;
|
||||
use net_traits::response::HttpsState;
|
||||
use net_traits::storage_thread::StorageThread;
|
||||
use profile_traits::mem;
|
||||
use std::any::Any;
|
||||
|
@ -423,7 +424,7 @@ pub enum MozBrowserEvent {
|
|||
/// Sent when window.open() is called within a browser `<iframe>`.
|
||||
OpenWindow,
|
||||
/// Sent when the SSL state changes within a browser `<iframe>`.
|
||||
SecurityChange,
|
||||
SecurityChange(HttpsState),
|
||||
/// Sent when alert(), confirm(), or prompt() is called within a browser `<iframe>`.
|
||||
ShowModalPrompt(String, String, String, String), // TODO(simartin): Handle unblock()
|
||||
/// Sent when the document.title changes within a browser `<iframe>`.
|
||||
|
@ -447,7 +448,7 @@ impl MozBrowserEvent {
|
|||
MozBrowserEvent::LoadStart => "mozbrowserloadstart",
|
||||
MozBrowserEvent::LocationChange(_) => "mozbrowserlocationchange",
|
||||
MozBrowserEvent::OpenWindow => "mozbrowseropenwindow",
|
||||
MozBrowserEvent::SecurityChange => "mozbrowsersecuritychange",
|
||||
MozBrowserEvent::SecurityChange(_) => "mozbrowsersecuritychange",
|
||||
MozBrowserEvent::ShowModalPrompt(_, _, _, _) => "mozbrowsershowmodalprompt",
|
||||
MozBrowserEvent::TitleChange(_) => "mozbrowsertitlechange",
|
||||
MozBrowserEvent::UsernameAndPasswordRequired => "mozbrowserusernameandpasswordrequired",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue