mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +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:
@@ -2306,6 +2306,13 @@ impl ScriptThread {
|
||||
CanGc::from_cx(cx),
|
||||
);
|
||||
},
|
||||
DevtoolScriptControlMsg::GetEnvironment(frame_actor_id, result_sender) => {
|
||||
self.debugger_global.fire_get_environment(
|
||||
frame_actor_id,
|
||||
result_sender,
|
||||
CanGc::from_cx(cx),
|
||||
);
|
||||
},
|
||||
DevtoolScriptControlMsg::Resume(resume_limit_type, frame_actor_id) => {
|
||||
self.debugger_global.fire_resume(
|
||||
resume_limit_type,
|
||||
|
||||
Reference in New Issue
Block a user