Bug 87233, r=javi,sr=mscott,a=chofman

This commit is contained in:
ddrinan%netscape.com 2001-07-02 23:25:00 +00:00
parent 66629cf529
commit 23853aa80c

View File

@ -325,6 +325,11 @@ nsSecureBrowserUIImpl::OnStateChange(nsIWebProgress* aWebProgress,
nsCOMPtr<nsIURI> aURI;
channel->GetURI(getter_AddRefs(aURI));
// Sometimes URI is null, so ignore.
if (aURI == nsnull) {
return NS_OK;
}
nsXPIDLCString temp;
aURI->GetSpec(getter_Copies(temp));