[Webkit-unassigned] [Bug 140713] New: [WK2] willDestroyGlobalObjectForDOMWindowExtension callback which registered in injectedBundle is not called while WebPage is being closed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 20 20:07:10 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140713

            Bug ID: 140713
           Summary: [WK2] willDestroyGlobalObjectForDOMWindowExtension
                    callback which registered in injectedBundle is not
                    called while WebPage is being closed.
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jh718.park at samsung.com

When using WKBundleDOMWindowExtension in InjectedBundle, willDestroyGlobalObjectForDOMWindowExtension is not called 
because InjectedBundlePageLoaderClient's initialization in WebPage::close() is called too early, namely, before setting the frame's m_view to 0;
So move initialize(0) calls to WebPage's m_*client group to the end of WebPage::close() function to correct such problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150121/dd7a1a81/attachment-0002.html>


More information about the webkit-unassigned mailing list