Bug 977597 - Use FxA production server URI. r=jedp

This commit is contained in:
Fernando Jiménez committed 2014-02-27 19:41:46 +01:00
1 parent 90eccc9847
commit 1714810bf4
4 files changed
+4 -11

No files matched your search

-3
View File
@@ -862,9 +862,6 @@ pref("dom.downloads.max_retention_days", 7);
// Inactivity time in milliseconds after which we shut down the OS.File worker.
pref("osfile.reset_worker_delay", 5000);
// The URL of the Firefox Accounts auth server backend
pref("identity.fxaccounts.auth.uri", "https://api-accounts.dev.lcip.org/v1");
// APZC preferences.
//
// Gaia relies heavily on scroll events for now, so lets fire them
-3
View File
@@ -1386,9 +1386,6 @@ pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com/sign
// "identity.fxaccounts.remote.uri" pref.
pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com/settings");
// The URL of the Firefox Accounts auth server backend
pref("identity.fxaccounts.auth.uri", "https://api.accounts.firefox.com/v1");
// On GTK, we now default to showing the menubar only when alt is pressed:
#ifdef MOZ_WIDGET_GTK
pref("ui.key.menuAccessKeyFocuses", true);
+3
View File
@@ -4323,3 +4323,6 @@ pref("snav.enabled", false);
// Wakelock is disabled by default.
pref("dom.wakelock.enabled", false);
// The URL of the Firefox Accounts auth server backend
pref("identity.fxaccounts.auth.uri", "https://api.accounts.firefox.com/v1");
+1 -5
View File
@@ -15,12 +15,8 @@ Cu.import("resource://services-crypto/utils.js");
Cu.import("resource://gre/modules/FxAccountsCommon.js");
Cu.import("resource://gre/modules/Credentials.jsm");
let _host = "https://api.accounts.firefox.com/v1"
try {
_host = Services.prefs.getCharPref("identity.fxaccounts.auth.uri");
} catch(keepDefault) {}
const HOST = Services.prefs.getCharPref("identity.fxaccounts.auth.uri");
const HOST = _host;
this.FxAccountsClient = function(host = HOST) {
this.host = host;