[webkit-dev] pageDestroyed and disconnectFrame

John Knottenbelt jknotten at chromium.org
Thu Feb 3 03:59:29 PST 2011

Can anybody explain the differences between Frame::pageDestroyed() and

It seems that these notifications can be called in either order (e.g.
pageDestroyed() from FrameLoader and ~Page, and disconnectFrame from
~Frame). Is there a method that is guaranteed to be called before both
pageDestroyed() and disconnectFrame()?

In my bug fix, https://bugs.webkit.org/show_bug.cgi?id=52877 , I am hooking
into both notifications to perform the same disconnect logic, but I wonder
if there is a simpler way to do things?

Many thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110203/a349bc58/attachment.html>

More information about the webkit-dev mailing list