diff options
Diffstat (limited to 'devtools/shared/commands/resource/legacy-listeners/source.js')
-rw-r--r-- | devtools/shared/commands/resource/legacy-listeners/source.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/shared/commands/resource/legacy-listeners/source.js b/devtools/shared/commands/resource/legacy-listeners/source.js index 45ee62f70f..2c629e4fb9 100644 --- a/devtools/shared/commands/resource/legacy-listeners/source.js +++ b/devtools/shared/commands/resource/legacy-listeners/source.js @@ -37,6 +37,7 @@ module.exports = async function ({ targetCommand, targetFront, onAvailable }) { } const threadFront = await targetFront.getFront("thread"); + await threadFront.attach({}); // Use a list of all notified SourceFront as we don't have a newSource event for all sources // but we sometime get sources notified both via newSource event *and* sources() method... |