B2G/gecko/toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
/**
 * Adds a disabled host to the login manager.
 *
 * @param aHost
 *        The host to add to the list of disabled hosts.
 */
Adds a disabled host to the login manager.
@param aHost
The host to add to the list of disabled hosts.
Adds a disabled host to the login manager . @param aHost The host to add to the list of disabled hosts .
function add_disabled_host(aHost)
{
  check_disabled_host(aHost, false);
  let lm = Cc["@mozilla.org/login-manager;1"].
           getService(Ci.nsILoginManager);
  lm.setLoginSavingEnabled(aHost, false);
  check_disabled_host(aHost, true);
}
function add_disabled_host ( aHost ) { check_disabled_host ( aHost , false ) ; let lm = Cc [ "@mozilla.org/login-manager;1" ] . getService ( Ci . nsILoginManager ) ; lm . setLoginSavingEnabled ( aHost , false ) ; check_disabled_host ( aHost , true ) ; }
Adds a disabled host to the login manager.
Adds a disabled host to the login manager .