mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
We need a map between frame actor ids (from devtools) and frame objects (from debugger.js) to implement stepping hooks in the future. To achieve this, we register the frame actor with a call to the devtools before entering the event loop when the debugger is paused. Instead of creating the frame actor in `handle_debugger_pause`, we create it before. Testing: It passes existing devtools tests Part of: #36027 Signed-off-by: eri <eri@igalia.com> Co-authored-by: atbrakhi <atbrakhi@igalia.com>