revised prefpane and workflows to get us to a more public test of sync

This commit is contained in:
cbeard@h-135.office.mozilla.org 2007-10-15 18:26:39 -07:00
Родитель 7b2ef9a45b
Коммит 1fa4216f9b
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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");