devtools: Show variable values in scopes (#43792)

<img width="312" height="307" alt="image"
src="https://github.com/user-attachments/assets/30c8cd9a-9712-4b53-9487-37c289a14520"
/>

Testing: Ran mach test-devtools and manual testing
Part of: #36027
Depends on: #43791

Signed-off-by: eri <eri@igalia.com>
Co-authored-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
eri
2026-04-01 15:08:18 +02:00
committed by GitHub
parent 069aa65d54
commit 187206dc5a
7 changed files with 56 additions and 40 deletions

View File

@@ -19,9 +19,14 @@ partial interface DebuggerGlobalScope {
);
};
dictionary EnvironmentVariable {
required PropertyDescriptor property;
ObjectPreview preview;
};
dictionary EnvironmentInfo {
DOMString type_;
DOMString scopeKind;
DOMString functionDisplayName;
record<DOMString, DOMString> bindingVariables;
sequence<EnvironmentVariable> bindingVariables;
};