Index: Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp |
index 91ced1aa1d2f016de97703f174bb8d4d86bd6437..bb32112f8c161fe5f8c8b8ff92e178b591e4610e 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -398,6 +398,13 @@ void InspectorResourceAgent::didFinishLoading(unsigned long identifier, Document |
m_frontend->loadingFinished(requestId, finishTime); |
} |
+void InspectorResourceAgent::didReceiveCORSRedirectResponse(unsigned long identifier, DocumentLoader* loader, const ResourceResponse& response, ResourceLoader* resourceLoader) |
+{ |
+ // Update the response and finish loading |
+ didReceiveResourceResponse(identifier, loader, response, resourceLoader); |
+ didFinishLoading(identifier, loader, 0); |
+} |
+ |
void InspectorResourceAgent::didFailLoading(unsigned long identifier, DocumentLoader* loader, const ResourceError& error) |
{ |
String requestId = IdentifiersFactory::requestId(identifier); |