| Index: Source/WebCore/loader/HistoryController.cpp
|
| ===================================================================
|
| --- Source/WebCore/loader/HistoryController.cpp (revision 95471)
|
| +++ Source/WebCore/loader/HistoryController.cpp (working copy)
|
| @@ -524,6 +524,11 @@
|
| if (!m_provisionalItem)
|
| return;
|
|
|
| + // The provisional item may represent a different pending navigation.
|
| + // Don't commit it if it isn't a same document navigation.
|
| + if (m_currentItem && !m_currentItem->shouldDoSameDocumentNavigationTo(m_provisionalItem.get()))
|
| + return;
|
| +
|
| // Commit the provisional item.
|
| m_frameLoadComplete = false;
|
| m_previousItem = m_currentItem;
|
|
|