diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index de929f839d69..58916a60a29f 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -418,6 +418,7 @@ pref("dom.global-constructor.disable.mozContact", false); pref("dom.phonenumber.substringmatching.BR", 8); pref("dom.phonenumber.substringmatching.CO", 10); pref("dom.phonenumber.substringmatching.VE", 7); +pref("dom.phonenumber.substringmatching.CL", 8); // WebAlarms pref("dom.mozAlarms.enabled", true); diff --git a/b2g/config/emulator-ics/sources.xml b/b2g/config/emulator-ics/sources.xml index bf6e6b2572ab..23804b308d0e 100644 --- a/b2g/config/emulator-ics/sources.xml +++ b/b2g/config/emulator-ics/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/emulator-jb/sources.xml b/b2g/config/emulator-jb/sources.xml index 4124da0c93d9..8ca672a82243 100644 --- a/b2g/config/emulator-jb/sources.xml +++ b/b2g/config/emulator-jb/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/emulator-kk/sources.xml b/b2g/config/emulator-kk/sources.xml index 181154bda6bb..cce7839f36c2 100644 --- a/b2g/config/emulator-kk/sources.xml +++ b/b2g/config/emulator-kk/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/emulator/sources.xml b/b2g/config/emulator/sources.xml index bf6e6b2572ab..23804b308d0e 100644 --- a/b2g/config/emulator/sources.xml +++ b/b2g/config/emulator/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/gaia.json b/b2g/config/gaia.json index 4309070c3883..9aa5b58445a2 100644 --- a/b2g/config/gaia.json +++ b/b2g/config/gaia.json @@ -4,6 +4,6 @@ "branch": "", "revision": "" }, - "revision": "4926fae1778461d93ff10b0fe4f8430246373e03", + "revision": "4dff379346b266bd93f48291a64cfc90af5d7daa", "repo_path": "/integration/gaia-central" } diff --git a/b2g/config/hamachi/sources.xml b/b2g/config/hamachi/sources.xml index b1e91ec9c464..ce457b7ec8a5 100644 --- a/b2g/config/hamachi/sources.xml +++ b/b2g/config/hamachi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/helix/sources.xml b/b2g/config/helix/sources.xml index a040c6953f6b..8adbf6f2ae4f 100644 --- a/b2g/config/helix/sources.xml +++ b/b2g/config/helix/sources.xml @@ -15,7 +15,7 @@ - + diff --git a/b2g/config/inari/sources.xml b/b2g/config/inari/sources.xml index b95824f5b1b8..e74c486856fe 100644 --- a/b2g/config/inari/sources.xml +++ b/b2g/config/inari/sources.xml @@ -19,7 +19,7 @@ - + diff --git a/b2g/config/leo/sources.xml b/b2g/config/leo/sources.xml index 26c6acef2769..434806c43128 100644 --- a/b2g/config/leo/sources.xml +++ b/b2g/config/leo/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/mako/sources.xml b/b2g/config/mako/sources.xml index 381594d8a009..5ad0c5ee0864 100644 --- a/b2g/config/mako/sources.xml +++ b/b2g/config/mako/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/b2g/config/wasabi/sources.xml b/b2g/config/wasabi/sources.xml index 0ee445a1ceb9..53658498a03e 100644 --- a/b2g/config/wasabi/sources.xml +++ b/b2g/config/wasabi/sources.xml @@ -17,7 +17,7 @@ - + diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 234950c17108..39ab5cce1874 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -6875,12 +6875,18 @@ let gRemoteTabsUI = { * @return True if an existing tab was found, false otherwise */ function switchToTabHavingURI(aURI, aOpenNew, aOpenParams) { + // Certain URLs can be switched to irrespective of the source or destination + // window being in private browsing mode: + const kPrivateBrowsingWhitelist = new Set([ + "about:customizing", + ]); // This will switch to the tab in aWindow having aURI, if present. function switchIfURIInWindow(aWindow) { - // Only switch to the tab if neither the source and desination window are - // private and they are not in permanent private borwsing mode - if ((PrivateBrowsingUtils.isWindowPrivate(window) || - PrivateBrowsingUtils.isWindowPrivate(aWindow)) && + // Only switch to the tab if neither the source nor the destination window + // are private and they are not in permanent private browsing mode + if (!kPrivateBrowsingWhitelist.has(aURI.spec) && + (PrivateBrowsingUtils.isWindowPrivate(window) || + PrivateBrowsingUtils.isWindowPrivate(aWindow)) && !PrivateBrowsingUtils.permanentPrivateBrowsing) { return false; } diff --git a/browser/components/customizableui/src/CustomizableWidgets.jsm b/browser/components/customizableui/src/CustomizableWidgets.jsm index 21d5ed7d6736..9e8baa00a126 100644 --- a/browser/components/customizableui/src/CustomizableWidgets.jsm +++ b/browser/components/customizableui/src/CustomizableWidgets.jsm @@ -770,7 +770,6 @@ const CustomizableWidgets = [{ elem.section = aSection; elem.value = item.value; elem.setAttribute("class", "subviewbutton"); - addShortcut(item, doc, elem); containerElem.appendChild(elem); } }, diff --git a/browser/components/nsBrowserGlue.js b/browser/components/nsBrowserGlue.js index a15451a5b52b..04150cc9e604 100644 --- a/browser/components/nsBrowserGlue.js +++ b/browser/components/nsBrowserGlue.js @@ -12,7 +12,6 @@ const XULNS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/Services.jsm"); -Cu.import("resource:///modules/SignInToWebsite.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "AboutHome", "resource:///modules/AboutHome.jsm"); @@ -88,6 +87,11 @@ XPCOMUtils.defineLazyModuleGetter(this, "BrowserUITelemetry", XPCOMUtils.defineLazyModuleGetter(this, "AsyncShutdown", "resource://gre/modules/AsyncShutdown.jsm"); +#ifdef NIGHTLY_BUILD +XPCOMUtils.defineLazyModuleGetter(this, "SignInToWebsiteUX", + "resource:///modules/SignInToWebsite.jsm"); +#endif + const PREF_PLUGINS_NOTIFYUSER = "plugins.update.notifyUser"; const PREF_PLUGINS_UPDATEURL = "plugins.update.url"; @@ -472,7 +476,11 @@ BrowserGlue.prototype = { PageThumbs.init(); NewTabUtils.init(); BrowserNewTabPreloader.init(); - SignInToWebsiteUX.init(); +#ifdef NIGHTLY_BUILD + if (Services.prefs.getBoolPref("dom.identity.enabled")) { + SignInToWebsiteUX.init(); + } +#endif PdfJs.init(); #ifdef NIGHTLY_BUILD ShumwayUtils.init(); @@ -655,7 +663,11 @@ BrowserGlue.prototype = { BrowserNewTabPreloader.uninit(); CustomizationTabPreloader.uninit(); WebappManager.uninit(); - SignInToWebsiteUX.uninit(); +#ifdef NIGHTLY_BUILD + if (Services.prefs.getBoolPref("dom.identity.enabled")) { + SignInToWebsiteUX.uninit(); + } +#endif webrtcUI.uninit(); }, diff --git a/browser/components/preferences/sync.xul b/browser/components/preferences/sync.xul index 9f28aa596e71..0c96b695960e 100644 --- a/browser/components/preferences/sync.xul +++ b/browser/components/preferences/sync.xul @@ -186,7 +186,7 @@ -