Loading browser/components/newidentity/content/newidentity.js +4 −1 Original line number Diff line number Diff line Loading @@ -398,8 +398,11 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => { const homePref = "browser.startup.homepage"; const trustedHomePref = "browser.startup.homepage.new_identity"; const homeURL = Services.prefs.getStringPref(homePref, ""); const defaultHomeURL = Services.prefs .getDefaultBranch("") .getStringPref(homePref, ""); const isTrustedHome = homeURL === "about:tor" || homeURL === defaultHomeURL || homeURL.startsWith("chrome://") || // about:blank and other built-ins homeURL === Services.prefs.getStringPref(trustedHomePref, ""); const isCustomHome = Loading Loading
browser/components/newidentity/content/newidentity.js +4 −1 Original line number Diff line number Diff line Loading @@ -398,8 +398,11 @@ XPCOMUtils.defineLazyGetter(this, "NewIdentityButton", () => { const homePref = "browser.startup.homepage"; const trustedHomePref = "browser.startup.homepage.new_identity"; const homeURL = Services.prefs.getStringPref(homePref, ""); const defaultHomeURL = Services.prefs .getDefaultBranch("") .getStringPref(homePref, ""); const isTrustedHome = homeURL === "about:tor" || homeURL === defaultHomeURL || homeURL.startsWith("chrome://") || // about:blank and other built-ins homeURL === Services.prefs.getStringPref(trustedHomePref, ""); const isCustomHome = Loading