Add an ASSERT to better demonstrate the cause of the crash in
https://bugs.webkit.org/show_bug.cgi?id=23736
* loader/DocLoader.cpp:
(WebCore::DocLoader::~DocLoader):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41435
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-03-04 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Adam Roben.
+
+ Add an ASSERT to better demonstrate the cause of the crash in
+ https://bugs.webkit.org/show_bug.cgi?id=23736
+
+ * loader/DocLoader.cpp:
+ (WebCore::DocLoader::~DocLoader):
+
2009-03-04 David Levin <levin@chromium.org>
Reviewed by Alexey Proskuryakov.
for (DocumentResourceMap::iterator it = m_documentResources.begin(); it != end; ++it)
it->second->setDocLoader(0);
m_cache->removeDocLoader(this);
+
+ // Make sure no requests still point to this DocLoader
+ ASSERT(m_requestCount == 0);
}
Frame* DocLoader::frame() const