[Webkit-unassigned] [Bug 140713] [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
Sat Feb 28 00:03:59 PST 2015


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

--- Comment #7 from Joonghun Park <jh718.park at samsung.com> ---
(In reply to comment #4)
> Comment on attachment 245048 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=245048&action=review
> 
> > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1024
> > +    // The WebPage can be destroyed by this call.
> > +    WebProcess::shared().removeWebPage(m_pageID);
> 
> This can't be moved here - this call will destroy the WebPage object whose
> members are accessed later!

Could you please review the change which I revised?

-- 
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/20150228/1499c63b/attachment-0002.html>


More information about the webkit-unassigned mailing list