Changeset 24299 in webkit
- Timestamp:
- Jul 15, 2007, 6:44:46 PM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r24298 r24299 1 2007-07-15 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Removed incorrect error log, seen while running layout tests. 6 7 Perhaps at some point FrameLoadTypeInteral had a specific meaning 8 that prevented it from being used in non-child frame, non-redirect 9 situations. However, that meaning has been lost and nobody remembers 10 how to get it back. 11 12 We currently use FrameLoadTypeInternal for any load that is not 13 initiated by a user gesture, so it's trivial to produce this error 14 log, even though nothing has gone wrong. 15 16 * loader/FrameLoader.cpp: 17 (WebCore::FrameLoader::updateHistoryForInternalLoad): 18 1 19 2007-07-15 Oliver Hunt <oliver@apple.com> 2 20 -
trunk/WebCore/loader/FrameLoader.cpp
r24289 r24299 4139 4139 // Add an item to the item tree for this frame 4140 4140 Frame* parentFrame = m_frame->tree()->parent(); 4141 // The only case where parentItem is NULL should be when a parent frame loaded an 4142 // empty URL, which doesn't set up a current item in that parent. 4143 if (parentFrame) { 4144 if (parentFrame->loader()->m_currentHistoryItem) 4145 parentFrame->loader()->m_currentHistoryItem->addChildItem(createHistoryItem(true)); 4146 } else { 4147 // See 3556159. It's not clear if it's valid to be in FrameLoadTypeOnLoadEvent 4148 // for a top-level frame, but that was a likely explanation for those crashes, 4149 // so let's guard against it. 4150 // ...and all FrameLoadTypeOnLoadEvent uses were folded to WebFrameLoadTypeInternal 4151 LOG_ERROR("No parent frame in transitionToCommitted:, FrameLoadTypeInternal"); 4152 } 4141 if (parentFrame && parentFrame->loader()->m_currentHistoryItem) 4142 parentFrame->loader()->m_currentHistoryItem->addChildItem(createHistoryItem(true)); 4153 4143 } 4154 4144 }
Note:
See TracChangeset
for help on using the changeset viewer.