mirror of
https://github.com/servo/servo.git
synced 2025-07-27 17:20:36 +01:00
devtools: Treat session history traversal like a navigation.
This commit is contained in:
parent
bd554a2a98
commit
fd9be5097d
4 changed files with 36 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue