void NetworkResourceLoader::didCompleteWithError(const WebCore::ResourceError& error) { if (error.isNull()) sharedDidFinishLoading(WTF::monotonicallyIncreasingTime()); else sharedDidFail(error); }
void FrameLoaderClientQt::dispatchDidFailLoad(const WebCore::ResourceError& error) { if (dumpFrameLoaderCallbacks) printf("%s - didFailLoadWithError\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame))); m_loadError = error; if (!error.isNull() && !error.isCancellation()) callErrorPageExtension(error); }
void NetworkResourceLoader::sharedDidFail(const WebCore::ResourceError& error) { ASSERT(!error.isNull()); #if ENABLE(NETWORK_CACHE) m_cacheEntryForValidation = nullptr; #endif if (isSynchronous()) { m_synchronousLoadData->error = error; sendReplyToSynchronousRequest(*m_synchronousLoadData, nullptr); } else send(Messages::WebResourceLoader::DidFailResourceLoad(error)); cleanup(); }