summaryrefslogtreecommitdiffstats
path: root/toolkit/components/cleardata/PrincipalsCollector.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/cleardata/PrincipalsCollector.sys.mjs
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/cleardata/PrincipalsCollector.sys.mjs')
-rw-r--r--toolkit/components/cleardata/PrincipalsCollector.sys.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/cleardata/PrincipalsCollector.sys.mjs b/toolkit/components/cleardata/PrincipalsCollector.sys.mjs
index e4f5e827f6..a79da86757 100644
--- a/toolkit/components/cleardata/PrincipalsCollector.sys.mjs
+++ b/toolkit/components/cleardata/PrincipalsCollector.sys.mjs
@@ -66,8 +66,8 @@ export class PrincipalsCollector {
/**
* Fetches and collects all principals with cookies and/or site data (see module
- * description). Originally for usage in Sanitizer.jsm to compute principals to be
- * cleared on shutdown based on user settings.
+ * description). Originally for usage in Sanitizer.sys.mjs to compute principals
+ * to be cleared on shutdown based on user settings.
*
* This operation might take a while to complete on big profiles.
* DO NOT call or await this in a way that makes it block user interaction, or you
@@ -76,8 +76,8 @@ export class PrincipalsCollector {
* This function will cache its result and return the same list on second call,
* even if the actual number of principals with cookies and site data changed.
*
- * @param {Object} [optional] progress A Sanitizer.jsm progress object that will be
- * updated to reflect the current step of fetching principals.
+ * @param {Object} [optional] progress A Sanitizer.sys.mjs progress object that
+ * will be updated to reflect the current step of fetching principals.
* @returns {Array<nsIPrincipal>} the list of principals
*/
async getAllPrincipals(progress = {}) {