Bug 428803 – In <pageinfo/security.js> (Line: 315), "Warning: reference to undefined property Components.classes['@mozilla.org/login-manager;1']"

patch by Serge Gautherie <sgautherie.bz@free.fr>, r=db48x, sr=neil


git-svn-id: svn://10.0.0.236/trunk@251582 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
db48x%yahoo.com 2008-05-13 19:40:11 +00:00
parent ea79e7661f
commit bd0b711e66

View File

@ -321,6 +321,8 @@ function hostHasCookies(hostName) {
* saved passwords
*/
function realmHasPasswords(location) {
return false;
/* XXX: use code below (instead of above line) once we are using toolkit's login manager
if (!location)
return false;
@ -335,6 +337,7 @@ function realmHasPasswords(location) {
// XXX untested
return passwords.some(function (login) { return (login.hostname == realm); });
*/
}
#ifdef MOZ_PLACES