summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/src/modules/extensions-helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/aboutdebugging/src/modules/extensions-helper.js')
-rw-r--r--devtools/client/aboutdebugging/src/modules/extensions-helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/aboutdebugging/src/modules/extensions-helper.js b/devtools/client/aboutdebugging/src/modules/extensions-helper.js
index ec0d7c2661..cf6c7641e9 100644
--- a/devtools/client/aboutdebugging/src/modules/extensions-helper.js
+++ b/devtools/client/aboutdebugging/src/modules/extensions-helper.js
@@ -51,7 +51,7 @@ exports.getExtensionUuid = function (extension) {
exports.openTemporaryExtension = function (win, message) {
return new Promise(resolve => {
const fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
- fp.init(win, message, Ci.nsIFilePicker.modeOpen);
+ fp.init(win.browsingContext, message, Ci.nsIFilePicker.modeOpen);
// Try to set the last directory used as "displayDirectory".
try {