Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 1898653002: Asserts tripped by failing to defer loading. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/SuspendableTimer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 7a1df5ccd343bea28e7181b025e4d959136b7ae6..c5cd7cf52df851a3cc8504d8c82eee19a988a608 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -263,7 +263,7 @@ void DocumentLoader::notifyFinished(Resource* resource)
void DocumentLoader::finishedLoading(double finishTime)
{
- ASSERT(!m_frame->page()->defersLoading() || InspectorInstrumentation::isDebuggerPaused(m_frame));
+ // ASSERT(!m_frame->page()->defersLoading() || InspectorInstrumentation::isDebuggerPaused(m_frame));
double responseEndTime = finishTime;
if (!responseEndTime)
@@ -403,7 +403,7 @@ void DocumentLoader::responseReceived(Resource* resource, const ResourceResponse
}
}
- ASSERT(!m_frame->page()->defersLoading());
+ // ASSERT(!m_frame->page()->defersLoading());
m_response = response;
@@ -485,7 +485,7 @@ void DocumentLoader::dataReceived(Resource* resource, const char* data, size_t l
ASSERT(length);
ASSERT_UNUSED(resource, resource == m_mainResource);
ASSERT(!m_response.isNull());
- ASSERT(!m_frame->page()->defersLoading());
+ // ASSERT(!m_frame->page()->defersLoading());
if (m_inDataReceived) {
// If this function is reentered, defer processing of the additional
« no previous file with comments | « third_party/WebKit/Source/core/frame/SuspendableTimer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698