[Webkit-unassigned] [Bug 8516] New: frame load delegate method webView:willCloseFrame: is called at the wrong times

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Apr 21 07:52:56 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8516

           Summary: frame load delegate method webView:willCloseFrame: is
                    called at the wrong times
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: speth at end.com


the webView:willCloseFrame: delegate method is invoked at the wrong times.  it
is currently only called when a page is transitioning to having new contents. 
it is not invoked when a window containing a webview is closed, and isn't
triggered by deallocating the frame.

this patch adds a _willCloseFrame method to WebFrame which handles the delegate
call and KVO notifications.  the routine that had those functions now calls
_willCloseFrame, and a new call to it is added to _detachFromParent: so that it
is invoked when the frame is closed.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list