mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
<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>
33 lines
932 B
Plaintext
33 lines
932 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 EnvironmentVariable {
|
|
required PropertyDescriptor property;
|
|
ObjectPreview preview;
|
|
};
|
|
|
|
dictionary EnvironmentInfo {
|
|
DOMString type_;
|
|
DOMString scopeKind;
|
|
DOMString functionDisplayName;
|
|
sequence<EnvironmentVariable> bindingVariables;
|
|
};
|