1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-24 07:13:31 +01:00

Death to for each.

This commit is contained in:
Kris Maglione
2014-02-24 19:03:49 -08:00
parent 78a6de9c3a
commit 5b38465a1c
20 changed files with 48 additions and 46 deletions

View File

@@ -155,7 +155,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
}
// "Never remember passwords" ...
for each (let domain in services.loginManager.getAllDisabledHosts())
for (let domain of services.loginManager.getAllDisabledHosts())
if (!host || util.isSubdomain(domain, host))
services.loginManager.setLoginSavingEnabled(host, true);
},