summaryrefslogtreecommitdiff
path: root/browser/base
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/base
parentb16ab3f38305c8d92b1d049e90656246a5cd3178 (diff)
downloaduxp-fb84e0f3226f1b9233aa2a6bfc55c38110694ffd.tar.gz
Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
Diffstat (limited to 'browser/base')
-rwxr-xr-xbrowser/base/content/browser.js3
-rw-r--r--browser/base/content/utilityOverlay.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index d41e94ae65..d1fd8c74cc 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 833369f4d0..0b703b6f84 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()