nsWebShell::GetURL(PRInt32 aHistoryIndex, const PRUnichar** aURLResult)
nsWebShell::GetURL(PRInt32 aIndex, const PRUnichar** aURLResult)
nsWebShell::GetURL(PRInt32 aHistoryIndex, const PRUnichar** aURLResult){  nsresult rv = NS_ERROR_ILLEGAL_VALUE;  if ((aHistoryIndex >= 0) &&      (aHistoryIndex <= mHistory.Count() - 1)) {    nsString* s = (nsString*) mHistory.ElementAt(aHistoryIndex);    if (nsnull != s) {      *aURLResult = *s;    }    rv = NS_OK;  }  return rv;}