зеркало из https://github.com/mozilla/gecko-dev.git
revised prefpane and workflows to get us to a more public test of sync
This commit is contained in:
Родитель
7b2ef9a45b
Коммит
1fa4216f9b
|
@ -1482,7 +1482,7 @@ DAVCollection.prototype = {
|
||||||
// fixme: make a request and get the realm
|
// fixme: make a request and get the realm
|
||||||
let lm = Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
|
let lm = Cc["@mozilla.org/login-manager;1"].getService(Ci.nsILoginManager);
|
||||||
let logins = lm.findLogins({}, URI.hostPort, null,
|
let logins = lm.findLogins({}, URI.hostPort, null,
|
||||||
'Use your ldap username/password - dotmoz');
|
'services.mozilla.com');
|
||||||
|
|
||||||
for (let i = 0; i < logins.length; i++) {
|
for (let i = 0; i < logins.length; i++) {
|
||||||
if (logins[i].username == username) {
|
if (logins[i].username == username) {
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
pref("browser.places.sync.serverURL", "https://services.mozilla.com/user/");
|
pref("browser.places.sync.serverURL", "https://services.mozilla.com/user/");
|
||||||
pref("browser.places.sync.username", "nobody@mozilla.com");
|
pref("browser.places.sync.username", "nobody@mozilla.com");
|
||||||
pref("browser.places.sync.autoconnect", false);
|
pref("browser.places.sync.rememberpassword", true);
|
||||||
|
pref("browser.places.sync.autoconnect", true);
|
||||||
|
pref("browser.places.sync.enabled", true);
|
||||||
|
pref("browser.places.sync.bookmarks", true);
|
||||||
|
pref("browser.places.sync.schedule", 1)
|
||||||
pref("browser.places.sync.lastsync", "0");
|
pref("browser.places.sync.lastsync", "0");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче