devtools: Treat session history traversal like a navigation.

This commit is contained in:
Josh Matthews 2020-08-10 17:52:22 -04:00
parent bd554a2a98
commit fd9be5097d
4 changed files with 36 additions and 2 deletions

View file

@ -282,6 +282,8 @@ pub enum ScriptMsg {
),
/// Get WebGPU channel
GetWebGPUChan(IpcSender<WebGPU>),
/// Notify the constellation of a pipeline's document's title.
TitleChanged(PipelineId, String),
}
impl fmt::Debug for ScriptMsg {
@ -341,6 +343,7 @@ impl fmt::Debug for ScriptMsg {
MediaSessionEvent(..) => "MediaSessionEvent",
RequestAdapter(..) => "RequestAdapter",
GetWebGPUChan(..) => "GetWebGPUChan",
TitleChanged(..) => "TitleChanged",
};
write!(formatter, "ScriptMsg::{}", variant)
}