mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
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:
@@ -0,0 +1,12 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
[Exposed=DebuggerGlobalScope]
|
||||
interface DebuggerClearBreakpointEvent : Event {
|
||||
readonly attribute unsigned long spidermonkeyId;
|
||||
readonly attribute unsigned long scriptId;
|
||||
readonly attribute unsigned long offset;
|
||||
};
|
||||
Reference in New Issue
Block a user