devtools: implement clearBreakpoint (#42154)

Add an event listener for `clearBreakpoint` to `debugger.js` and the
necessary glue to access it from the `devtools` crate.

Testing: `./mach test-devtools` and manual testing.
Fixes: Part of: https://github.com/servo/servo/issues/36027

---------

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
Co-authored-by: eri <eri@igalia.com>
This commit is contained in:
atbrakhi
2026-01-27 21:16:54 +05:30
committed by GitHub
parent 33bb35c5da
commit e28a0f6d6c
9 changed files with 174 additions and 8 deletions

View File

@@ -309,6 +309,7 @@ pub enum DevtoolScriptControlMsg {
GetPossibleBreakpoints(u32, GenericSender<Vec<RecommendedBreakpointLocation>>),
SetBreakpoint(u32, u32, u32),
ClearBreakpoint(u32, u32, u32),
Pause(GenericSender<PauseFrameResult>),
}