if (!strippedRealm.IsEmpty()) { si_RememberSignonData(dialog, strippedRealm.get(), signonData, window);
if (!realm.IsEmpty()) { si_RememberSignonData(dialog, realm.get(), signonData, window);
SINGSIGN_RememberSignonData     (nsIPrompt* dialog, nsIURI* passwordRealm, nsVoidArray * signonData,     nsIDOMWindowInternal* window){  if (!passwordRealm)    return;        nsCAutoString strippedRealm;  /* Hacky security check: If address is of a scheme that   * doesn't support hostnames, we have no host to get the signon data from,   * so we must not attempt to restore the signon data (bug 159484) */  nsresult rv = passwordRealm->GetHost(strippedRealm);  if (NS_FAILED(rv))    return;  if (!strippedRealm.IsEmpty()) {    si_RememberSignonData(dialog, strippedRealm.get(), signonData, window);  }}