зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1277582 - Check if TabChild is still available before calling SendPHttpChannelConstructor. r=billm
MozReview-Commit-ID: 5XH3cYkbUd1
This commit is contained in:
Родитель
71ac49183e
Коммит
3d1c76ef59
|
@ -1447,7 +1447,7 @@ HttpChannelChild::ConnectParent(uint32_t registrarId)
|
|||
return NS_ERROR_ILLEGAL_VALUE;
|
||||
}
|
||||
|
||||
if (tabChild && tabChild->IsDestroyed()) {
|
||||
if (tabChild && !tabChild->IPCOpen()) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
@ -1969,7 +1969,7 @@ HttpChannelChild::ContinueAsyncOpen()
|
|||
mChannelId.ToProvidedString(chid);
|
||||
openArgs.channelId().AssignASCII(chid);
|
||||
|
||||
if (tabChild && tabChild->IsDestroyed()) {
|
||||
if (tabChild && !tabChild->IPCOpen()) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче