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

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

John
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to