| Index: Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
|
| index 9e9ef2c2d739d4c0c6afd1eff3942971b7f96bda..57d55d54c290cd031307eb37970ae7d6470dd4bc 100644
|
| --- a/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/Source/core/loader/FrameFetchContext.cpp
|
| @@ -183,14 +183,15 @@ void FrameFetchContext::dispatchDidFinishLoading(DocumentLoader* loader, unsigne
|
| InspectorInstrumentation::didFinishLoading(m_frame, identifier, ensureLoader(loader), finishTime, encodedDataLength);
|
| }
|
|
|
| -void FrameFetchContext::dispatchDidFail(DocumentLoader* loader, unsigned long identifier, const ResourceError& error)
|
| +void FrameFetchContext::dispatchDidFail(DocumentLoader* loader, unsigned long identifier, const ResourceError& error, bool isInternalRequest)
|
| {
|
| m_frame->loader().progress().completeProgress(identifier);
|
| TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "ResourceFinish", "data", InspectorResourceFinishEvent::data(identifier, 0, true));
|
| // FIXME(361045): remove InspectorInstrumentation calls once DevTools Timeline migrates to tracing.
|
| InspectorInstrumentation::didFailLoading(m_frame, identifier, error);
|
| // Notification to FrameConsole should come AFTER InspectorInstrumentation call, DevTools front-end relies on this.
|
| - m_frame->console().didFailLoading(identifier, error);
|
| + if (!isInternalRequest)
|
| + m_frame->console().didFailLoading(identifier, error);
|
| }
|
|
|
| void FrameFetchContext::sendRemainingDelegateMessages(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, int dataLength)
|
|
|