There is no code that would destroy WebFrameProxies earlier than the page they were created in goes away. <rdar://problem/8359858>
Created attachment 65633 [details] proposed patch
Comment on attachment 65633 [details] proposed patch Nice. I was kind of assuming we were going to use the detachFromParent FrameLoaderClient functions, but I like this approach. Are we going to need/want a way to signal that a Frame has changed Pages in the WebKit2 API? r=me
> Are we going to need/want a way to signal that a Frame has changed Pages in the WebKit2 API? I don't know, but there is a special FrameLoaderClient call for changing documents, which we need to implement anyway - didTransferChildFrameToNewDocument().
Committed <http://trac.webkit.org/changeset/66146>.