mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Setting a devtools timeline marker may fail, due to pipeline lookup failure.
This commit is contained in:
parent
f584003191
commit
a6d83a38e5
5 changed files with 28 additions and 22 deletions
|
@ -1004,8 +1004,8 @@ impl ScriptThread {
|
|||
devtools::handle_get_children(&context, id, node_id, reply),
|
||||
DevtoolScriptControlMsg::GetLayout(id, node_id, reply) =>
|
||||
devtools::handle_get_layout(&context, id, node_id, reply),
|
||||
DevtoolScriptControlMsg::GetCachedMessages(pipeline_id, message_types, reply) =>
|
||||
devtools::handle_get_cached_messages(pipeline_id, message_types, reply),
|
||||
DevtoolScriptControlMsg::GetCachedMessages(id, message_types, reply) =>
|
||||
devtools::handle_get_cached_messages(id, message_types, reply),
|
||||
DevtoolScriptControlMsg::ModifyAttribute(id, node_id, modifications) =>
|
||||
devtools::handle_modify_attribute(&context, id, node_id, modifications),
|
||||
DevtoolScriptControlMsg::WantsLiveNotifications(id, to_send) => {
|
||||
|
@ -1015,14 +1015,14 @@ impl ScriptThread {
|
|||
};
|
||||
devtools::handle_wants_live_notifications(window.upcast(), to_send)
|
||||
},
|
||||
DevtoolScriptControlMsg::SetTimelineMarkers(_pipeline_id, marker_types, reply) =>
|
||||
devtools::handle_set_timeline_markers(&context, marker_types, reply),
|
||||
DevtoolScriptControlMsg::DropTimelineMarkers(_pipeline_id, marker_types) =>
|
||||
devtools::handle_drop_timeline_markers(&context, marker_types),
|
||||
DevtoolScriptControlMsg::RequestAnimationFrame(pipeline_id, name) =>
|
||||
devtools::handle_request_animation_frame(&context, pipeline_id, name),
|
||||
DevtoolScriptControlMsg::Reload(pipeline_id) =>
|
||||
devtools::handle_reload(&context, pipeline_id),
|
||||
DevtoolScriptControlMsg::SetTimelineMarkers(id, marker_types, reply) =>
|
||||
devtools::handle_set_timeline_markers(&context, id, marker_types, reply),
|
||||
DevtoolScriptControlMsg::DropTimelineMarkers(id, marker_types) =>
|
||||
devtools::handle_drop_timeline_markers(&context, id, marker_types),
|
||||
DevtoolScriptControlMsg::RequestAnimationFrame(id, name) =>
|
||||
devtools::handle_request_animation_frame(&context, id, name),
|
||||
DevtoolScriptControlMsg::Reload(id) =>
|
||||
devtools::handle_reload(&context, id),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue