зеркало из https://github.com/mozilla/pjs.git
Bug 634986. Don't act like we're redirecting if we don't have a channel. r=jst, a=blocker
This commit is contained in:
Родитель
65b8dbe33c
Коммит
098e774a8e
|
@ -1030,8 +1030,9 @@ nsObjectLoadingContent::AsyncOnChannelRedirect(nsIChannel *aOldChannel,
|
|||
PRUint32 aFlags,
|
||||
nsIAsyncVerifyRedirectCallback *cb)
|
||||
{
|
||||
// If we're already busy with a new load, cancel the redirect
|
||||
if (aOldChannel != mChannel) {
|
||||
// If we're already busy with a new load, or have no load at all,
|
||||
// cancel the redirect.
|
||||
if (!mChannel || aOldChannel != mChannel) {
|
||||
return NS_BINDING_ABORTED;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче