diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-05-18 20:44:31 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-06-07 22:53:50 -0500 |
commit | 2fd925bac9d008b577c5220f37d4eb0cab73726a (patch) | |
tree | 65840614ed2a3bfcb471b362ef7761f6dee50901 /components/script_traits/script_msg.rs | |
parent | ad47d33511c318fe208158bb16deb5086979e0c7 (diff) | |
download | servo-2fd925bac9d008b577c5220f37d4eb0cab73726a.tar.gz servo-2fd925bac9d008b577c5220f37d4eb0cab73726a.zip |
Removed root browsing context from constellation.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index ec6f85f5a61..d7449f70f29 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -104,9 +104,8 @@ pub enum ScriptMsg { LoadUrl(PipelineId, LoadData, bool), /// Post a message to the currently active window of a given browsing context. PostMessage(BrowsingContextId, Option<ImmutableOrigin>, Vec<u8>), - /// Dispatch a mozbrowser event to the parent of this pipeline. - /// The first PipelineId is for the parent, the second is for the originating pipeline. - MozBrowserEvent(PipelineId, PipelineId, MozBrowserEvent), + /// Dispatch a mozbrowser event to the parent of a mozbrowser iframe. + MozBrowserEvent(PipelineId, TopLevelBrowsingContextId, MozBrowserEvent), /// HTMLIFrameElement Forward or Back traversal. TraverseHistory(TopLevelBrowsingContextId, TraversalDirection), /// Gets the length of the joint session history from the constellation. |