diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /security/manager/pki/resources/content/certManager.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/manager/pki/resources/content/certManager.js')
-rw-r--r-- | security/manager/pki/resources/content/certManager.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/manager/pki/resources/content/certManager.js b/security/manager/pki/resources/content/certManager.js index b1fcaff30f..660240ff56 100644 --- a/security/manager/pki/resources/content/certManager.js +++ b/security/manager/pki/resources/content/certManager.js @@ -541,7 +541,7 @@ async function backupCerts() { { id: "choose-p12-backup-file-dialog" }, { id: "file-browse-pkcs12-spec" }, ]); - fp.init(window, backupFileDialog, Ci.nsIFilePicker.modeSave); + fp.init(window.browsingContext, backupFileDialog, Ci.nsIFilePicker.modeSave); fp.appendFilter(filePkcs12Spec, "*.p12"); fp.appendFilters(Ci.nsIFilePicker.filterAll); fp.defaultExtension = "p12"; @@ -590,7 +590,7 @@ async function restoreCerts() { { id: "file-browse-pkcs12-spec" }, { id: "file-browse-certificate-spec" }, ]); - fp.init(window, restoreFileDialog, Ci.nsIFilePicker.modeOpen); + fp.init(window.browsingContext, restoreFileDialog, Ci.nsIFilePicker.modeOpen); fp.appendFilter(filePkcs12Spec, "*.p12; *.pfx"); fp.appendFilter(fileCertSpec, gCertFileTypes); fp.appendFilters(Ci.nsIFilePicker.filterAll); @@ -736,7 +736,7 @@ async function addCACerts() { { id: "import-ca-certs-prompt" }, { id: "file-browse-certificate-spec" }, ]); - fp.init(window, importCa, Ci.nsIFilePicker.modeOpen); + fp.init(window.browsingContext, importCa, Ci.nsIFilePicker.modeOpen); fp.appendFilter(fileCertSpec, gCertFileTypes); fp.appendFilters(Ci.nsIFilePicker.filterAll); fp.open(rv => { @@ -755,7 +755,7 @@ async function addEmailCert() { { id: "import-email-cert-prompt" }, { id: "file-browse-certificate-spec" }, ]); - fp.init(window, importEmail, Ci.nsIFilePicker.modeOpen); + fp.init(window.browsingContext, importEmail, Ci.nsIFilePicker.modeOpen); fp.appendFilter(fileCertSpec, gCertFileTypes); fp.appendFilters(Ci.nsIFilePicker.filterAll); fp.open(rv => { |