diff --git a/devtools/shared/commands/target/target-command.js b/devtools/shared/commands/target/target-command.js index 9fa376271f62..5a2116c5bc6d 100644 --- a/devtools/shared/commands/target/target-command.js +++ b/devtools/shared/commands/target/target-command.js @@ -712,11 +712,6 @@ class TargetCommand extends EventEmitter { const fronts = []; const targets = this.getAllTargets(targetTypes); for (const target of targets) { - // For still-attaching worker targets, the threadFront may not yet be available, - // whereas TargetMixin.getFront will throw if the actorID isn't available in targetForm. - if (frontType == "thread" && !target.targetForm.threadFront) { - continue; - } const front = await target.getFront(frontType); fronts.push(front); }