summaryrefslogtreecommitdiffstats
path: root/browser
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-07 06:10:48 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-07 06:10:48 -0400
commitfb84e0f3226f1b9233aa2a6bfc55c38110694ffd (patch)
treebce8ff0f1504b3d88c587ba2a82ac529d4027b67 /browser
parentb16ab3f38305c8d92b1d049e90656246a5cd3178 (diff)
downloadUXP-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.tar
UXP-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.tar.gz
UXP-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.tar.lz
UXP-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.tar.xz
UXP-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.zip
Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
Diffstat (limited to 'browser')
-rwxr-xr-xbrowser/base/content/browser.js3
-rw-r--r--browser/base/content/utilityOverlay.js2
-rw-r--r--browser/components/nsBrowserContentHandler.js2
3 files changed, 4 insertions, 3 deletions
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index d41e94ae6..d1fd8c74c 100755
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -214,7 +214,8 @@ var gInitialPages = [
"about:home",
"about:privatebrowsing",
"about:welcomeback",
- "about:sessionrestore"
+ "about:sessionrestore",
+ "about:logopage"
];
function* browserWindows() {
diff --git a/browser/base/content/utilityOverlay.js b/browser/base/content/utilityOverlay.js
index 833369f4d..0b703b6f8 100644
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -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()
diff --git a/browser/components/nsBrowserContentHandler.js b/browser/components/nsBrowserContentHandler.js
index b366c3f81..74144fc1b 100644
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -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() {