Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-07-21 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Darin Adler. Crash in Notification::disconnectFrame() triggered by Frame::lifeSupportTimerFired() https://bugs.webkit.org/show_bug.cgi?id=42534 Call NotificationsCenter::disconnectFrame() when the frame is disconnected from the page. Calling it from the destructor of Frame is too late and sometimes causes access violation. I was not able to reproduce this crash, so did not add new tests. This patch is based on the error reported in http://code.google.com/p/chromium/issues/detail?id=49323. * page/DOMWindow.cpp: (WebCore::DOMWindow::pageDestroyed): * page/DOMWindow.h: * page/Frame.cpp: (WebCore::Frame::pageDestroyed): Canonical link: https://commits.webkit.org/54684@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
40 additions
and 0 deletions.
- +19 −0 WebCore/ChangeLog
- +5 −0 WebCore/notifications/NotificationCenter.cpp
- +11 −0 WebCore/page/DOMWindow.cpp
- +2 −0 WebCore/page/DOMWindow.h
- +3 −0 WebCore/page/Frame.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -228,6 +228,8 @@ namespace WebCore { | ||
NotificationCenter* webkitNotifications() const; | ||
#endif | ||
|
||
void pageDestroyed(); | ||
|
||
#if ENABLE(INDEXED_DATABASE) | ||
IndexedDatabaseRequest* indexedDB() const; | ||
#endif | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters