mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
This commit is contained in:
parent
f7b2643855
commit
81c6c590cc
8 changed files with 16 additions and 7 deletions
|
|
@ -207,7 +207,8 @@ var gInitialPages = [
|
|||
"about:home",
|
||||
"about:privatebrowsing",
|
||||
"about:welcomeback",
|
||||
"about:sessionrestore"
|
||||
"about:sessionrestore",
|
||||
"about:logopage"
|
||||
];
|
||||
|
||||
function* browserWindows() {
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue