nsAutoString uStr; rv = textToSubURI->UnEscapeURIForUI(charset, spec, uStr);  if (NS_SUCCEEDED(rv)) rv = browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_LINK, uStr.get());
if (browserChrome) browserChrome->SetOverLink(aURLSpec);
nsWebShell::OnOverLink(nsIContent* aContent,                       nsIURI* aURI,                       const PRUnichar* aTargetSpec){  nsCOMPtr<nsIWebBrowserChrome> browserChrome(do_GetInterface(mTreeOwner));  nsresult rv = NS_ERROR_FAILURE;  if (browserChrome)  {    nsCOMPtr<nsITextToSubURI> textToSubURI = do_GetService(NS_ITEXTTOSUBURI_CONTRACTID, &rv);    if (NS_FAILED(rv)) return rv;    // use url origin charset to unescape the URL    nsCAutoString charset;    rv = aURI->GetOriginCharset(charset);    NS_ENSURE_SUCCESS(rv, rv);    nsCAutoString spec;    rv = aURI->GetSpec(spec);    NS_ENSURE_SUCCESS(rv, rv);    nsAutoString uStr;    rv = textToSubURI->UnEscapeURIForUI(charset, spec, uStr);        if (NS_SUCCEEDED(rv))      rv = browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_LINK, uStr.get());  }  return rv;}