mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Make session history aware of URLs
This commit is contained in:
parent
05fe8fa08d
commit
e7ef9cfb30
11 changed files with 192 additions and 56 deletions
|
@ -289,8 +289,8 @@ pub enum ConstellationControlMsg {
|
|||
/// Updates the current pipeline ID of a given iframe.
|
||||
/// First PipelineId is for the parent, second is the new PipelineId for the frame.
|
||||
UpdatePipelineId(PipelineId, BrowsingContextId, PipelineId, UpdatePipelineIdReason),
|
||||
/// Updates the history state of a given pipeline.
|
||||
UpdateHistoryStateId(PipelineId, Option<HistoryStateId>),
|
||||
/// Updates the history state and url of a given pipeline.
|
||||
UpdateHistoryState(PipelineId, Option<HistoryStateId>, ServoUrl),
|
||||
/// Removes inaccesible history states.
|
||||
RemoveHistoryStates(PipelineId, Vec<HistoryStateId>),
|
||||
/// Set an iframe to be focused. Used when an element in an iframe gains focus.
|
||||
|
@ -347,7 +347,7 @@ impl fmt::Debug for ConstellationControlMsg {
|
|||
Navigate(..) => "Navigate",
|
||||
PostMessage(..) => "PostMessage",
|
||||
UpdatePipelineId(..) => "UpdatePipelineId",
|
||||
UpdateHistoryStateId(..) => "UpdateHistoryStateId",
|
||||
UpdateHistoryState(..) => "UpdateHistoryState",
|
||||
RemoveHistoryStates(..) => "RemoveHistoryStates",
|
||||
FocusIFrame(..) => "FocusIFrame",
|
||||
WebDriverScriptCommand(..) => "WebDriverScriptCommand",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue