Index: Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index 96ea78b4e3e0c2ca4ac03481d0a72744b14d4b7f..2ab107d8c0458ca57164a5fb0ad873ccf1216586 100644 |
--- a/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -531,6 +531,7 @@ void XMLHttpRequest::dispatchReadyStateChangeEvent() |
InspectorInstrumentation::didDispatchXHRReadyStateChangeEvent(cookie); |
if (m_state == DONE && !m_error) { |
+ fprintf(stderr, "%s:%d\n", __FILE__, __LINE__); |
TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "XHRLoad", "data", InspectorXhrLoadEvent::data(executionContext(), this)); |
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "CallStack", "stack", InspectorCallStackEvent::currentCallStack()); |
InspectorInstrumentationCookie cookie = InspectorInstrumentation::willDispatchXHRLoadEvent(executionContext(), this); |
@@ -1062,6 +1063,7 @@ void XMLHttpRequest::dispatchProgressEvent(const AtomicString& type, long long r |
void XMLHttpRequest::dispatchProgressEventFromSnapshot(const AtomicString& type) |
{ |
+ fprintf(stderr, "%s (type = %s)\n", __PRETTY_FUNCTION__, type.utf8().data()); |
dispatchProgressEvent(type, m_receivedLength, m_response.expectedContentLength()); |
} |