Changeset 179958 in webkit
- Timestamp:
- Feb 11, 2015 2:15:31 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r179956 r179958 1 2015-02-11 Chris Dumez <cdumez@apple.com> 2 3 Turn recent assertions into release assertions to help track down crash in DocumentLoader::stopLoadingForPolicyChange() 4 https://bugs.webkit.org/show_bug.cgi?id=141484 5 <rdar://problem/13811738> 6 7 Reviewed by Andy Estes. 8 9 Turn recent assertions into release assertions to help track down crash in 10 DocumentLoader::stopLoadingForPolicyChange(). This should increase the 11 likelyhood of tripping them so that we better understand why this happens. 12 13 * loader/DocumentLoader.cpp: 14 (WebCore::DocumentLoader::~DocumentLoader): 15 (WebCore::DocumentLoader::detachFromFrame): 16 1 17 2015-02-11 Jer Noble <jer.noble@apple.com> 2 18 -
trunk/Source/WebCore/loader/DocumentLoader.cpp
r179895 r179958 162 162 { 163 163 ASSERT(!m_frame || frameLoader()->activeDocumentLoader() != this || !isLoading()); 164 ASSERT(!m_waitingForContentPolicy);164 RELEASE_ASSERT_WITH_MESSAGE(!m_waitingForContentPolicy, "The content policy callback should never outlive its DocumentLoader."); 165 165 if (m_iconLoadDecisionCallback) 166 166 m_iconLoadDecisionCallback->invalidate(); … … 676 676 void DocumentLoader::continueAfterContentPolicy(PolicyAction policy) 677 677 { 678 ASSERT(m_waitingForContentPolicy);678 RELEASE_ASSERT(m_waitingForContentPolicy); 679 679 m_waitingForContentPolicy = false; 680 680 if (isStopping()) … … 953 953 m_frame = nullptr; 954 954 // The call to stopLoading() above should have canceled any pending content policy check. 955 ASSERT_WITH_MESSAGE(!m_waitingForContentPolicy, "The content policy callback needs a valid frame.");955 RELEASE_ASSERT_WITH_MESSAGE(!m_waitingForContentPolicy, "The content policy callback needs a valid frame."); 956 956 } 957 957
Note: See TracChangeset
for help on using the changeset viewer.