Bug 1240169 - Revert to returning a dynamic newtab URL for BROWSER_NEW_TAB_URL r?mconley draft
authorOlivier Yiptong <olivier@olivieryiptong.com>
Sat, 23 Jan 2016 01:17:55 -0500
changeset 326259 eb4e2938c20c6ed80cd74dd01cf9fd5de0880fa6
parent 326258 3a81a700af0879998c63fb439316971089eb00ea
child 513573 4f17db0a177f5581a7b60bd702a0961e52d85b3c
push id10118
push userolivier@olivieryiptong.com
push dateWed, 27 Jan 2016 18:51:35 +0000
reviewersmconley
bugs1240169
milestone46.0a1
Bug 1240169 - Revert to returning a dynamic newtab URL for BROWSER_NEW_TAB_URL r?mconley
browser/base/content/utilityOverlay.js
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -18,17 +18,17 @@ XPCOMUtils.defineLazyServiceGetter(this,
                                    "nsIAboutNewTabService");
 
 this.__defineGetter__("BROWSER_NEW_TAB_URL", () => {
   if (PrivateBrowsingUtils.isWindowPrivate(window) &&
       !PrivateBrowsingUtils.permanentPrivateBrowsing &&
       !aboutNewTabService.overridden) {
     return "about:privatebrowsing";
   }
-  return "about:newtab";
+  return aboutNewTabService.newTabURL;
 });
 
 var TAB_DROP_TYPE = "application/x-moz-tabbrowser-tab";
 
 var gBidiUI = false;
 
 /**
  * Determines whether the given url is considered a special URL for new tabs.