From 79743b5358c989da23c11c025509dd2c46dba48b Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Mon, 22 May 2017 09:40:17 -0500 Subject: Webdriver uses browsing context ids rather than pipeline ids. --- components/script_traits/script_msg.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/script_traits/script_msg.rs') diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 1ebe6c17b5f..9bb7053daa0 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -86,7 +86,7 @@ pub enum ScriptMsg { ForwardEvent(PipelineId, CompositorEvent), /// Requests that the constellation retrieve the current contents of the clipboard GetClipboardContents(IpcSender), - /// Get the frame id for a given pipeline. + /// Get the browsing context id for a given pipeline. GetBrowsingContextId(PipelineId, IpcSender>), /// Get the parent info for a given pipeline. GetParentInfo(PipelineId, IpcSender>), @@ -104,9 +104,9 @@ pub enum ScriptMsg { /// The first PipelineId is for the parent, the second is for the originating pipeline. MozBrowserEvent(PipelineId, PipelineId, MozBrowserEvent), /// HTMLIFrameElement Forward or Back traversal. - TraverseHistory(Option, TraversalDirection), + TraverseHistory(TopLevelBrowsingContextId, TraversalDirection), /// Gets the length of the joint session history from the constellation. - JointSessionHistoryLength(PipelineId, IpcSender), + JointSessionHistoryLength(TopLevelBrowsingContextId, IpcSender), /// Favicon detected NewFavicon(ServoUrl), /// Status message to be displayed in the chrome, eg. a link URL on mouseover. -- cgit v1.2.3