mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug #34769 (this change is actually dougt's). Don't allow the chrome cache channel to stomp on it's original
uri if it's already been set. r=waterson,mscott a=leaf
This commit is contained in:
parent
f03a6d38fe
commit
70b70cf844
@ -183,8 +183,11 @@ nsCachedChromeChannel::GetOriginalURI(nsIURI* *aOriginalURI)
|
||||
NS_IMETHODIMP
|
||||
nsCachedChromeChannel::SetOriginalURI(nsIURI* aOriginalURI)
|
||||
{
|
||||
// don't stp on a uri if we already have one there...this is a work around fix
|
||||
// for Bug #34769.
|
||||
if (!mURI)
|
||||
mURI = aOriginalURI;
|
||||
return NS_OK;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -183,8 +183,11 @@ nsCachedChromeChannel::GetOriginalURI(nsIURI* *aOriginalURI)
|
||||
NS_IMETHODIMP
|
||||
nsCachedChromeChannel::SetOriginalURI(nsIURI* aOriginalURI)
|
||||
{
|
||||
// don't stp on a uri if we already have one there...this is a work around fix
|
||||
// for Bug #34769.
|
||||
if (!mURI)
|
||||
mURI = aOriginalURI;
|
||||
return NS_OK;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user