Partially disentangle FxA from Weave so Pale Moon Sync can work.

This commit is contained in:
wolfbeast 2018-06-08 17:12:45 +02:00 • committed by Roy Tam
commit 8d899f957c
6 changed files with 149 additions and 4 deletions

View file

@ -1067,6 +1067,7 @@ Sync11Service.prototype = {
// Note: returns false if we failed for a reason other than the server not yet
// supporting the api.
_fetchServerConfiguration() {
#if 0 // FSyncMS doesn't support this and it will break auth if left enabled!
// This is similar to _fetchInfo, but with different error handling.
let infoURL = this.userBaseURL + "info/configuration";
@ -1092,6 +1093,7 @@ Sync11Service.prototype = {
this.serverConfiguration = configResponse.obj;
}
this._log.trace("info/configuration for this server", this.serverConfiguration);
#endif
return true;
},