diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2018-04-20 22:44:59 -0500 |
---|---|---|
committer | Connor Brewster <connor.brewster@eagles.oc.edu> | 2018-04-24 15:13:11 -0500 |
commit | e7ef9cfb303598e582f0f589da855bdd33c1dd08 (patch) | |
tree | 1c646a8c69c32f9045b81b0b7ab46270a7acbab3 /components/script_traits/script_msg.rs | |
parent | 05fe8fa08d507836ce5659ff56f83022a90b241a (diff) | |
download | servo-e7ef9cfb303598e582f0f589da855bdd33c1dd08.tar.gz servo-e7ef9cfb303598e582f0f589da855bdd33c1dd08.zip |
Make session history aware of URLs
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 43812ad097a..ec29bb74586 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -105,9 +105,9 @@ pub enum ScriptMsg { /// HTMLIFrameElement Forward or Back traversal. TraverseHistory(TraversalDirection), /// Inform the constellation of a pushed history state. - PushHistoryState(HistoryStateId), + PushHistoryState(HistoryStateId, ServoUrl), /// Inform the constellation of a replaced history state. - ReplaceHistoryState(HistoryStateId), + ReplaceHistoryState(HistoryStateId, ServoUrl), /// Gets the length of the joint session history from the constellation. JointSessionHistoryLength(IpcSender<u32>), /// Favicon detected |