mirror of
https://github.com/servo/servo
synced 2026-05-01 03:47:53 +02:00
devtools: Handle getEnvironment message (#43167)
Initial work to support scopes in the debugger. They don't show at the moment since we are not processing variables yet. Depends on #43166. Testing: Ran `mach test-devtools` and manual testing. Part of: #36027 Signed-off-by: eri <eri@igalia.com> Co-authored-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
@@ -4,11 +4,19 @@
|
||||
|
||||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
[Exposed=DebuggerGlobalScope]
|
||||
interface DebuggerGetEnvironmentEvent : Event {
|
||||
readonly attribute DOMString frameActorId;
|
||||
};
|
||||
|
||||
partial interface DebuggerGlobalScope {
|
||||
DOMString? registerEnvironmentActor(
|
||||
EnvironmentInfo result,
|
||||
DOMString? parent
|
||||
);
|
||||
undefined getEnvironmentResult(
|
||||
DOMString environmentActorId
|
||||
);
|
||||
};
|
||||
|
||||
dictionary EnvironmentInfo {
|
||||
|
||||
Reference in New Issue
Block a user