зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f03a6d38fe
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче