diff --git a/toolkit/components/xulstore/XULStore.sys.mjs b/toolkit/components/xulstore/XULStore.sys.mjs index f84cd5771271..d6231a77b953 100644 --- a/toolkit/components/xulstore/XULStore.sys.mjs +++ b/toolkit/components/xulstore/XULStore.sys.mjs @@ -81,6 +81,9 @@ XULStore.prototype = { try { this._storeFile = Services.dirsvc.get("ProfDS", Ci.nsIFile); } catch (ex) { + if (Services.startup.startingUp) { + return; + } throw new Error("Can't find profile directory."); } }