Bug 44726

Summary: WebFrameProxies aren't destroyed until a page is destroyed
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, aroben
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed patch sam: review+

Alexey Proskuryakov
Reported 2010-08-26 15:35:12 PDT
There is no code that would destroy WebFrameProxies earlier than the page they were created in goes away. <rdar://problem/8359858>
Attachments
proposed patch (24.50 KB, patch)
2010-08-26 15:41 PDT, Alexey Proskuryakov
sam: review+
Alexey Proskuryakov
Comment 1 2010-08-26 15:41:39 PDT
Created attachment 65633 [details] proposed patch
Sam Weinig
Comment 2 2010-08-26 15:52:51 PDT
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
Alexey Proskuryakov
Comment 3 2010-08-26 16:02:00 PDT
> 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().
Alexey Proskuryakov
Comment 4 2010-08-26 16:04:04 PDT
Note You need to log in before you can comment on or make changes to this bug.