NS_ERROR("bad cookie index");
COOKIE_Enumerate (PRInt32 count, nsACString &name, nsACString &value, PRBool &isDomain,                  nsACString &host, nsACString &path, PRBool &isSecure, PRUint64 &expires,                  nsCookieStatus &status, nsCookiePolicy &policy){  if (count > COOKIE_Count()) {    return NS_ERROR_FAILURE;  }  cookie_CookieStruct *cookie;  NS_ASSERTION(count >= 0 && count < cookie_list->Count(), "bad cookie index");  if (count < 0 || count >= cookie_list->Count()) {    return NS_ERROR_UNEXPECTED;  }  cookie = NS_STATIC_CAST(cookie_CookieStruct*, cookie_list->ElementAt(count));  NS_ASSERTION(cookie, "corrupt cookie list");  cookie_FixQuoted(cookie->name, name);  cookie_FixQuoted(cookie->cookie, value);  cookie_FixQuoted(cookie->host, host);  cookie_FixQuoted(cookie->path, path);  isDomain = cookie->isDomain;  isSecure = cookie->isSecure;  // *expires = cookie->expires; -- no good on mac, using next line instead  LL_UI2L(expires, cookie->expires);  status = cookie->status;  policy = cookie->policy;  return NS_OK;}