зеркало из https://github.com/mozilla/pjs.git
Bug 726777, followup. r=sicking
This commit is contained in:
Родитель
d4c07c9035
Коммит
3571ea4470
|
@ -1280,8 +1280,10 @@ nsXMLHttpRequest::CloseRequestWithError(const nsAString& aType,
|
|||
mState |= aFlag;
|
||||
|
||||
// If we're in the destructor, don't risk dispatching an event.
|
||||
if (mState & XML_HTTP_REQUEST_DELETED)
|
||||
if (mState & XML_HTTP_REQUEST_DELETED) {
|
||||
mState &= ~XML_HTTP_REQUEST_SYNCLOOPING;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(mState & (XML_HTTP_REQUEST_UNSENT |
|
||||
XML_HTTP_REQUEST_OPENED |
|
||||
|
|
Загрузка…
Ссылка в новой задаче