summaryrefslogtreecommitdiffstats
path: root/toolkit/components/apppicker
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /toolkit/components/apppicker
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/apppicker')
-rw-r--r--toolkit/components/apppicker/content/appPicker.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/components/apppicker/content/appPicker.js b/toolkit/components/apppicker/content/appPicker.js
index dc2a97af8c..dd1163d1b4 100644
--- a/toolkit/components/apppicker/content/appPicker.js
+++ b/toolkit/components/apppicker/content/appPicker.js
@@ -195,7 +195,11 @@ AppPicker.prototype = {
var nsIFilePicker = Ci.nsIFilePicker;
var fp = Cc["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
- fp.init(window, this._incomingParams.title, nsIFilePicker.modeOpen);
+ fp.init(
+ window.browsingContext,
+ this._incomingParams.title,
+ nsIFilePicker.modeOpen
+ );
fp.appendFilters(nsIFilePicker.filterApps);
var startLocation;