Changeset 29679 in webkit


Ignore:
Timestamp:
Jan 20, 2008 6:01:26 PM (16 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Darin Adler.

Assertion failure in FrameView::scheduleRelayout (!m_frame->document()
!m_frame->document()->inPageCache()) when going back from a page with a focused popup
  • dom/Document.cpp: (WebCore::Document::setFocusedNode): Bail out if the document is in the page cache. Documents in the back/forward cache are "frozen" and should not change state.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29678 r29679  
     12008-01-20  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=16951
     6          Assertion failure in FrameView::scheduleRelayout (!m_frame->document() || !m_frame->document()->inPageCache()) when going back from a page with a focused popup
     7
     8        * dom/Document.cpp:
     9        (WebCore::Document::setFocusedNode): Bail out if the document is in the
     10        page cache. Documents in the back/forward cache are "frozen" and should
     11        not change state.
     12
    1132008-01-20  Collin Jackson  <webkit@collinjackson.com>
    214
  • trunk/WebCore/dom/Document.cpp

    r29566 r29679  
    22632263    if (m_focusedNode == newFocusedNode)
    22642264        return true;
    2265        
     2265
     2266    if (m_inPageCache)
     2267        return false;
     2268
    22662269    bool focusChangeBlocked = false;
    22672270    RefPtr<Node> oldFocusedNode = m_focusedNode;
Note: See TracChangeset for help on using the changeset viewer.