summaryrefslogtreecommitdiffstats
path: root/devtools/client/fronts/watcher.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/fronts/watcher.js')
-rw-r--r--devtools/client/fronts/watcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/fronts/watcher.js b/devtools/client/fronts/watcher.js
index 1a7499561a..f78e063992 100644
--- a/devtools/client/fronts/watcher.js
+++ b/devtools/client/fronts/watcher.js
@@ -67,7 +67,7 @@ class WatcherFront extends FrontClassWithSpec(watcherSpec) {
// the watcher may notify us about the top level target destruction a bit late.
// The descriptor (`this.parentFront`) already switched to the new target.
// Missing `target-destroyed` isn't critical when target switching is off
- // as `TargetCommand.switchToTarget` will end calling `TargetCommandonTargetDestroyed` for all
+ // as `TargetCommand.switchToTarget` will end calling `TargetCommand.onTargetDestroyed` for all
// existing targets.
// https://searchfox.org/mozilla-central/rev/af8e5d37fd56be90ccddae2203e7b875d3f3ae87/devtools/shared/commands/target/target-command.js#166-173
if (front) {