diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-07 06:10:48 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-07 06:10:48 -0400 |
commit | fb84e0f3226f1b9233aa2a6bfc55c38110694ffd (patch) | |
tree | bce8ff0f1504b3d88c587ba2a82ac529d4027b67 /browser/base | |
parent | b16ab3f38305c8d92b1d049e90656246a5cd3178 (diff) | |
download | UXP-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/base')
-rwxr-xr-x | browser/base/content/browser.js | 3 | ||||
-rw-r--r-- | browser/base/content/utilityOverlay.js | 2 |
2 files changed, 3 insertions, 2 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() |