Index: Source/core/xml/XMLHttpRequest.cpp |
diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp |
index 01089b1c9ea6213daa6eebc8e317fc3c5b82fa69..49e1ed05731fac2baa7915b673e840346b50bcd2 100644 |
--- a/Source/core/xml/XMLHttpRequest.cpp |
+++ b/Source/core/xml/XMLHttpRequest.cpp |
@@ -856,24 +856,24 @@ void XMLHttpRequest::genericError() |
void XMLHttpRequest::networkError() |
{ |
genericError(); |
- m_progressEventThrottle.dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().errorEvent)); |
if (!m_uploadComplete) { |
m_uploadComplete = true; |
if (m_upload && m_uploadEventsAllowed) |
m_upload->dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().errorEvent)); |
} |
+ m_progressEventThrottle.dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().errorEvent)); |
internalAbort(); |
} |
void XMLHttpRequest::abortError() |
{ |
genericError(); |
- m_progressEventThrottle.dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().abortEvent)); |
if (!m_uploadComplete) { |
m_uploadComplete = true; |
if (m_upload && m_uploadEventsAllowed) |
m_upload->dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().abortEvent)); |
} |
+ m_progressEventThrottle.dispatchEventAndLoadEnd(XMLHttpRequestProgressEvent::create(eventNames().abortEvent)); |
} |
void XMLHttpRequest::dropProtectionSoon() |