Bug 1963014 - Fix JSDoc Issues in ResetProfile.sys.mjs. r=firefox-desktop-core-reviewers ,frontend-codestyle-reviewers,mossop

Differential Revision: https://phabricator.services.mozilla.com/D246914
This commit is contained in:
Mark Banner
2025-04-29 19:57:01 +00:00
parent e0a9cd3c04
commit c96af331fc
2 changed files with 6 additions and 3 deletions

View File

@@ -391,7 +391,7 @@ const rollouts = [
"toolkit/components/workerloader/require.js",
"toolkit/content/**",
"toolkit/crashreporter/**",
"toolkit/modules/{C,Da,E10SUtils,F,G,In,J,Ke,L,N,P,R,S,Up,W}*.sys.mjs",
"toolkit/modules/{C,Da,E10SUtils,F,G,In,J,Ke,L,N,P,Rem,S,Up,W}*.sys.mjs",
"toolkit/modules/sessionstore/**",
"toolkit/modules/subprocess/**",
"toolkit/modules/tests/**",
@@ -555,7 +555,7 @@ const rollouts = [
"toolkit/components/workerloader/require.js",
"toolkit/content/**",
"toolkit/crashreporter/**",
"toolkit/modules/{Asy,B,C,Da,E10SUtils,F,G,In,JS,Ke,L,Ne,P,R,S,Up,W}*.sys.mjs",
"toolkit/modules/{Asy,B,C,Da,E10SUtils,F,G,In,JS,Ke,L,Ne,P,Rem,S,Up,W}*.sys.mjs",
"toolkit/modules/sessionstore/**",
"toolkit/modules/subprocess/**",
"toolkit/modules/tests/**",

View File

@@ -14,6 +14,7 @@ ChromeUtils.defineLazyGetter(lazy, "MigrationUtils", () => {
try {
let { MigrationUtils } = ChromeUtils.importESModule(
// eslint-disable-next-line mozilla/no-browser-refs-in-toolkit
"resource:///modules/MigrationUtils.sys.mjs"
);
return MigrationUtils;
@@ -29,7 +30,7 @@ export var ResetProfile = {
/**
* Check if reset is supported for the currently running profile.
*
* @return boolean whether reset is supported.
* @returns {boolean} whether reset is supported.
*/
resetSupported() {
if (Services.policies && !Services.policies.isAllowed("profileRefresh")) {
@@ -66,6 +67,8 @@ export var ResetProfile = {
/**
* Ask the user if they wish to restart the application to reset the profile.
*
* @param {Window} window
*/
async openConfirmationDialog(window) {
let win = window;