mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
Add comment to setBreakpoint handler in breakpoint list actor
Co-authored-by: atbrakhi <atbrakhi@igalia.com> Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
77c827a827
commit
3cbf9c7cc0
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ impl Actor for BreakpointListActor {
|
|||
_stream_id: crate::StreamId,
|
||||
) -> Result<crate::actor::ActorMessageStatus, ()> {
|
||||
Ok(match msg_type {
|
||||
// Client wants to set a breakpoint.
|
||||
// Seems to be infallible, unlike the thread actor’s `setBreakpoint`.
|
||||
// <https://firefox-source-docs.mozilla.org/devtools/backend/protocol.html#breakpoints>
|
||||
"setBreakpoint" => {
|
||||
let msg = EmptyReplyMsg { from: self.name() };
|
||||
let _ = stream.write_json_packet(&msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue