commit 338d663f1679c39530519dd6e0d8abab37fd2577
parent 324d853cb2ea3ed0801cacc2b53c448aa053bd2b
Author: Nicolas Chevobbe <nchevobbe@mozilla.com>
Date: Thu, 6 Nov 2025 14:55:55 +0000
Bug 1995674 - [devtools] Fix opening source with external editor from the browser console. r=devtools-reviewers,bomsy.
We weren't passing the browser that is needed in openInExternalEditor.
Differential Revision: https://phabricator.services.mozilla.com/D271404
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/devtools/client/webconsole/webconsole.js b/devtools/client/webconsole/webconsole.js
@@ -223,6 +223,7 @@ class WebConsole {
this.gViewSourceUtils.viewSource({
URL: sourceURL,
lineNumber: sourceLine || -1,
+ browser: this.chromeUtilsWindow.gBrowser,
});
}