Index: Source/core/xml/XMLHttpRequest.cpp |
diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp |
index c987d908e2189fbaf0e5e293b4366077ea4f6e9c..acbbd7a94394a850fd1fb068f3f5703982335376 100644 |
--- a/Source/core/xml/XMLHttpRequest.cpp |
+++ b/Source/core/xml/XMLHttpRequest.cpp |
@@ -1026,6 +1026,9 @@ void XMLHttpRequest::dispatchProgressEvent(const AtomicString& type, long long r |
unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; |
m_progressEventThrottle.dispatchProgressEvent(type, lengthComputable, loaded, total); |
+ |
+ if (type == EventTypeNames::loadend) |
+ InspectorInstrumentation::didDispatchXHRLoadendEvent(executionContext(), this); |
} |
void XMLHttpRequest::dispatchProgressEventFromSnapshot(const AtomicString& type) |