[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
Fri Jan 23 11:52:42 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140713
Anders Carlsson <andersca at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #245048|review? |review-
Flags| |
--- Comment #4 from Anders Carlsson <andersca at apple.com> ---
Comment on attachment 245048
--> https://bugs.webkit.org/attachment.cgi?id=245048
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!
--
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/20150123/471d8fca/attachment-0002.html>
More information about the webkit-unassigned
mailing list