nsCStringKey key(aURL); *aResult = NS_STATIC_CAST(nsIStreamListener*, mLoadingDocTable->Get(&key));
mLoadingDocTable.Get(aURL, aResult);
nsBindingManager::GetLoadingDocListener(const nsCString& aURL, nsIStreamListener** aResult){  *aResult = nsnull;  if (!mLoadingDocTable)    return NS_OK;  nsCStringKey key(aURL);  *aResult = NS_STATIC_CAST(nsIStreamListener*, mLoadingDocTable->Get(&key)); // Addref happens here.  return NS_OK;}