aCookieList.Append(cookie->xxx ? Yes : No);
aCookieList.Append(cookie->secure ? Yes : No);
COOKIE_GetCookieListForViewer(nsString& aCookieList) {  int cookieNum = 0;  cookie_CookieStruct * cookie;  /* Get rid of any expired cookies now so user doesn't   * think/see that we're keeping cookies in memory.   */  cookie_RemoveExpiredCookies();  /* generate the list of cookies in alphabetical order */  cookie = NULL;  while ((cookie = NextCookieAfter(cookie, &cookieNum))) {    char *fixed_name = cookie_FixQuoted(cookie->name);    char *fixed_value = cookie_FixQuoted(cookie->cookie);    char *fixed_domain_or_host = cookie_FixQuoted(cookie->host);    char *fixed_path = cookie_FixQuoted(cookie->path);    PRUnichar * Domain = cookie_Localize("Domain");    PRUnichar * Host = cookie_Localize("Host");    PRUnichar * Yes = cookie_Localize("Yes");    PRUnichar * No = cookie_Localize("No");    PRUnichar * AtEnd = cookie_Localize("AtEndOfSession");    aCookieList.AppendWithConversion(BREAK);    aCookieList.AppendInt(cookieNum);    aCookieList.AppendWithConversion(BREAK);    aCookieList.AppendWithConversion(fixed_name);    aCookieList.AppendWithConversion(BREAK);    aCookieList.AppendWithConversion(fixed_value);    aCookieList.AppendWithConversion(BREAK);    aCookieList.Append(cookie->isDomain ? Domain : Host);    aCookieList.AppendWithConversion(BREAK);    aCookieList.AppendWithConversion(fixed_domain_or_host);    aCookieList.AppendWithConversion(BREAK);    aCookieList.AppendWithConversion(fixed_path);    aCookieList.AppendWithConversion(BREAK);    aCookieList.Append(cookie->xxx ? Yes : No);    aCookieList.AppendWithConversion(BREAK);    if (cookie->expires) {      /*       * Cookie expiration times on mac will not be decoded correctly because       * they were based on get_current_time() instead of time(NULL) -- see comments in       * get_current_time.  So we need to adjust for that now in order for the       * display of the expiration time to be correct       */      time_t expires;      expires = cookie->expires + (time(NULL) - get_current_time());      nsString expireString; expireString.AssignWithConversion(ctime(&(expires)));      aCookieList.Append(expireString);    } else {      aCookieList.Append(AtEnd);    }    PR_FREEIF(fixed_name);    PR_FREEIF(fixed_value);    PR_FREEIF(fixed_domain_or_host);    PR_FREEIF(fixed_path);    Recycle(Domain);    Recycle(Host);    Recycle(Yes);    Recycle(No);    Recycle(AtEnd);  }}