-
ap@webkit.org authored
REGRESSION (r42446?): UA Profiler in http://stevesouders.com/ua/ stalls The problem was that Document::removeAllEventListeners() was called for a wrong document when a CachedFrame was destroyed. Cannot be tested automatically, because DRT doesn't have a b/f cache. * dom/Document.cpp: (WebCore::Document::domWindow): Make sure that this doesn't return an unrelated window even if document's m_frame pointer is stale. * history/CachedFrame.cpp: (WebCore::CachedFrame::clear): Added a FIXME about strange behavior. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
142736a7