back to normal draft
authorjordan9769 <souravgarg833@gmail.com>
Sat, 15 Oct 2016 05:19:17 +0530
changeset 425606 456bafc63dabdb8eb7136369654704c3feed7f57
parent 425605 4e54504887e92d5915fa43bd9a591fbe44fe43d4
child 425607 e34a51ddd48aa939bc5c09f4b8895bd7ee6c9299
push id32461
push userbmo:souravgarg833@gmail.com
push dateSat, 15 Oct 2016 01:55:59 +0000
milestone52.0a1
back to normal MozReview-Commit-ID: 6MaL8WMEN5X
browser/branding/aurora/locales/browserconfig.properties
browser/branding/nightly/locales/browserconfig.properties
browser/branding/official/locales/browserconfig.properties
browser/branding/unofficial/locales/browserconfig.properties
browser/components/preferences/in-content/main.js
--- a/browser/branding/aurora/locales/browserconfig.properties
+++ b/browser/branding/aurora/locales/browserconfig.properties
@@ -1,6 +1,6 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Do NOT localize or otherwise change these values
-browser.startup.homepage=about:newtab
+browser.startup.homepage=about:home
--- a/browser/branding/nightly/locales/browserconfig.properties
+++ b/browser/branding/nightly/locales/browserconfig.properties
@@ -1,6 +1,6 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Do NOT localize or otherwise change these values
-browser.startup.homepage=about:newtab
+browser.startup.homepage=about:home
--- a/browser/branding/official/locales/browserconfig.properties
+++ b/browser/branding/official/locales/browserconfig.properties
@@ -1,6 +1,6 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Do NOT localize or otherwise change these values
-browser.startup.homepage=about:newtab
+browser.startup.homepage=about:home
--- a/browser/branding/unofficial/locales/browserconfig.properties
+++ b/browser/branding/unofficial/locales/browserconfig.properties
@@ -1,6 +1,6 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Do NOT localize or otherwise change these values
-browser.startup.homepage=about:newtab
+browser.startup.homepage=about:home
--- a/browser/components/preferences/in-content/main.js
+++ b/browser/components/preferences/in-content/main.js
@@ -1,10 +1,10 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this Xfile,
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 Components.utils.import("resource://gre/modules/Downloads.jsm");
 Components.utils.import("resource://gre/modules/FileUtils.jsm");
 Components.utils.import("resource://gre/modules/Task.jsm");
 Components.utils.import("resource:///modules/ShellService.jsm");
 Components.utils.import("resource:///modules/TransientPrefs.jsm");
 
@@ -240,37 +240,36 @@ var gMainPane = {
    *   selected and doesn't change the UI for this preference, the deprecated
    *   option is preserved.
    */
 
   syncFromHomePref: function ()
   {
     let homePref = document.getElementById("browser.startup.homepage");
 
-    // If the pref is set to about:newtab, set the value to "" to show the
-    // placeholder text (about:newtab title).
-    if (homePref.value.toLowerCase() == "about:newtab")
+    // If the pref is set to about:home, set the value to "" to show the
+    // placeholder text (about:home title).
+    if (homePref.value.toLowerCase() == "about:home")
       return "";
 
     // If the pref is actually "", show about:blank.  The actual home page
     // loading code treats them the same, and we don't want the placeholder text
     // to be shown.
     if (homePref.value == "")
-      return "about:newtab";
+      return "about:blank";
 
     // Otherwise, show the actual pref value.
     return undefined;
   },
 
   syncToHomePref: function (value)
   {
-    // If the value is "", use about:newtab.
+    // If the value is "", use about:home.
     if (value == "")
-        
-      return "about:newtab";
+      return "about:home";
 
     // Otherwise, use the actual textbox value.
     return undefined;
   },
 
   /**
    * Sets the home page to the current displayed page (or frontmost tab, if the
    * most recent browser window contains multiple tabs), updating preference