From e956c21344e5e822222387dd2bf610ce46ab7bf1 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Tue, 29 Mar 2022 16:28:23 +0000 Subject: [PATCH] Bug 1761618 - don't include about:myfirefox in gInitialPages if not present, r=nika Differential Revision: https://phabricator.services.mozilla.com/D142291 --- browser/base/content/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 886a61162f1a..38d0f3ddcd71 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -641,12 +641,12 @@ var gPageIcons = { var gInitialPages = [ "about:blank", "about:home", - "about:myfirefox", + ...(AppConstants.NIGHTLY_BUILD ? ["about:myfirefox"] : []), "about:newtab", "about:privatebrowsing", - "about:welcomeback", "about:sessionrestore", "about:welcome", + "about:welcomeback", ]; function isInitialPage(url) {