• japhet's avatar
    Remove a HistoryNode's children when it navigates to a new document. · 9f3e29c9
    japhet authored
    When a reload occurs (or other inert commits), we leave the history tree alone. However, if iframes are dynamically created, we end up with both the old iframes and the new iframes in the history tree, and we never prune them. Instead, if a different-document inert commit occurs, remove the committing node's children, since the corresponding frames are no longer in the frame tree.
    
    BUG=485385
    
    Review URL: https://codereview.chromium.org/1139033002
    
    Cr-Commit-Position: refs/heads/master@{#329763}
    9f3e29c9
history_controller.cc 8.59 KB