mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
devtools: Handle removeBreakpoint
on breakpoint-list actor (#38797)
The breakpoint-list actor did not implement a handler for the `removeBreakpoint` request, causing the client to receive `unrecognizedPacketType` error. This patch adds `removeBreakpoint` handler Fixes: Part of #36027 Signed-off-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
parent
913066d2e5
commit
634c1897cf
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ impl Actor for BreakpointListActor {
|
|||
let msg = EmptyReplyMsg { from: self.name() };
|
||||
request.reply_final(&msg)?
|
||||
},
|
||||
"removeBreakpoint" => {
|
||||
let msg = EmptyReplyMsg { from: self.name() };
|
||||
request.reply_final(&msg)?
|
||||
},
|
||||
_ => return Err(ActorError::UnrecognizedPacketType),
|
||||
};
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue