Make about:logopage available to any browser that opts into MOZ_PHOENIX

Follow up to 5e8e0689c
This commit is contained in:
NTD 2018-04-07 06:10:48 -04:00 • committed by Roy Tam
commit 81c6c590cc
8 changed files with 16 additions and 7 deletions

View file

@ -207,7 +207,8 @@ var gInitialPages = [
"about:home",
"about:privatebrowsing",
"about:welcomeback",
"about:sessionrestore"
"about:sessionrestore",
"about:logopage"
];
function* browserWindows() {

View file

@ -35,7 +35,7 @@ var gBidiUI = false;
* Determines whether the given url is considered a special URL for new tabs.
*/
function isBlankPageURL(aURL) {
return aURL == "about:blank" || aURL == BROWSER_NEW_TAB_URL;
return aURL == "about:blank" || aURL == "about:newtab" || aURL == "about:logopage";
}
function getBrowserURL()

View file

@ -558,7 +558,7 @@ nsBrowserContentHandler.prototype = {
if (overridePage && startPage && !willRestoreSession && !skipStartPage)
return overridePage + "|" + startPage;
return overridePage || startPage || "about:blank";
return overridePage || startPage || "about:blank" || "about:logopage";
},
get startPage() {