Index: Source/core/inspector/InspectorDebuggerAgent.cpp |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp |
index 367ee470d56351c9fa08006a28934814eca24a1a..6a3fd54bb86e4a79c68918541c4135ec40dfab27 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -794,6 +794,12 @@ void InspectorDebuggerAgent::willLoadXHR(XMLHttpRequest* xhr, ThreadableLoaderCl |
m_asyncCallStackTracker.willLoadXHR(xhr, scriptDebugServer().currentCallFramesForAsyncStack()); |
} |
+void InspectorDebuggerAgent::didDispatchXHRLoadendEvent(XMLHttpRequest* xhr) |
+{ |
+ if (m_asyncCallStackTracker.isEnabled()) |
+ m_asyncCallStackTracker.didLoadXHR(xhr); |
+} |
+ |
void InspectorDebuggerAgent::didEnqueueMutationRecord(ExecutionContext* context, MutationObserver* observer) |
{ |
if (m_asyncCallStackTracker.isEnabled() && !m_asyncCallStackTracker.hasEnqueuedMutationRecord(context, observer)) |