Create source actors from Debugger API notifications

Co-authored-by: atbrakhi <atbrakhi@igalia.com>
Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
Delan Azabani 2025-07-29 18:45:20 +08:00
parent f3644422c4
commit c1b151740a
13 changed files with 195 additions and 60 deletions

View file

@ -3442,8 +3442,9 @@ impl ScriptThread {
incomplete.load_data.inherited_secure_context,
incomplete.theme,
);
// TODO: call this for workers too
self.debugger_global
.fire_add_debuggee(can_gc, window.upcast());
.fire_add_debuggee(can_gc, window.upcast(), incomplete.pipeline_id);
let _realm = enter_realm(&*window);