Changeset 206224 in webkit
- Timestamp:
- Sep 21, 2016 11:41:07 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206223 r206224 1 2016-09-21 Keith Rollin <krollin@apple.com> 2 3 New DocumentLoader logging causes crashes 4 https://bugs.webkit.org/show_bug.cgi?id=162348 5 <rdar://problem/28404744> 6 7 Reviewed by Chris Dumez 8 9 Check for NULL m_frame before using it. 10 11 No new tests -- no tests for logging, though this issue was found by 12 contentfiltering/block-after-will-send-request-then-allow-unblock.html 13 14 * loader/DocumentLoader.cpp: 15 (WebCore::DocumentLoader::startLoadingMainResource): 16 1 17 2016-09-21 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Source/WebCore/loader/DocumentLoader.cpp
r206203 r206224 1475 1475 1476 1476 if (maybeLoadEmpty()) { 1477 RELEASE_LOG_IF_ALLOWED("startLoadingMainResource: Returning empty document (frame = %p, main = %d)", m_frame, m_frame ->isMainFrame());1477 RELEASE_LOG_IF_ALLOWED("startLoadingMainResource: Returning empty document (frame = %p, main = %d)", m_frame, m_frame ? m_frame->isMainFrame() : false); 1478 1478 return; 1479 1479 } … … 1497 1497 // willSendRequest() may lead to our Frame being detached or cancelling the load via nulling the ResourceRequest. 1498 1498 if (!m_frame || m_request.isNull()) { 1499 RELEASE_LOG_IF_ALLOWED("startLoadingMainResource: Load canceled after willSendRequest (frame = %p, main = %d)", m_frame, m_frame ->isMainFrame());1499 RELEASE_LOG_IF_ALLOWED("startLoadingMainResource: Load canceled after willSendRequest (frame = %p, main = %d)", m_frame, m_frame ? m_frame->isMainFrame() : false); 1500 1500 return; 1501 1501 }
Note: See TracChangeset
for help on using the changeset viewer.