-
andersca authored
Reviewed by Darin. http://bugzilla.opendarwin.org/show_bug.cgi?id=9031 REGRESSION: Crash when closing tabs on newegg.com * page/Frame.cpp: (WebCore::Frame::pageDestroyed): * page/Frame.h: Add new method which is invoked when the frame's page has been destroyed. Currently this function disassociates the JS Window object with the frame, stopping any running JS timers. * page/Page.cpp: (WebCore::Page::~Page): Call pageDestroyed on all frames. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5dc61eae