From 66f5b8324c2258206732ba0dc8d93890371c7953 Mon Sep 17 00:00:00 2001 From: Dan Mills Date: Tue, 22 Jan 2008 22:46:07 -0800 Subject: [PATCH] Bug 411105: nsILoginInfo no longer accepts null values for usernameField/passwordField. Send empty strings instead --- services/sync/modules/identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sync/modules/identity.js b/services/sync/modules/identity.js index d309e0c882d..2cec498dd88 100644 --- a/services/sync/modules/identity.js +++ b/services/sync/modules/identity.js @@ -112,6 +112,6 @@ function setPassword(realm, username, password) { let nsLoginInfo = new Components.Constructor( "@mozilla.org/login-manager/loginInfo;1", Ci.nsILoginInfo, "init"); let login = new nsLoginInfo('chrome://sync', null, realm, - username, password, null, null); + username, password, "", ""); lm.addLogin(login); }