Files
servo/components/script_bindings/webidls/DebuggerGetEnvironmentEvent.webidl
atbrakhi 821db2c2fc devtools: Implement initial support for showing scope variables (#43232)
This change implements showing scope variable in Debugger tab. This is
still early and we have more work to do.

Next step is building correct data structure and showing different types
of variables.

Testing: Manual as well as current tests are passing.
Fixes: part of #36027

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
Co-authored-by: eri <eri@igalia.com>
2026-03-16 13:02:09 +00:00

28 lines
825 B
Plaintext

/* 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 DebuggerGetEnvironmentEvent : Event {
readonly attribute DOMString frameActorId;
};
partial interface DebuggerGlobalScope {
DOMString? registerEnvironmentActor(
EnvironmentInfo result,
DOMString? parent
);
undefined getEnvironmentResult(
DOMString environmentActorId
);
};
dictionary EnvironmentInfo {
DOMString type_;
DOMString scopeKind;
DOMString functionDisplayName;
record<DOMString, DOMString> bindingVariables;
};