[Webkit-unassigned] [Bug 116595] REGRESSION(r150491): WebKit2.DOMWindowExtensionNoCache fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 25 10:48:00 PDT 2013


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





--- Comment #7 from Sam Weinig <sam at webkit.org>  2013-05-25 10:46:30 PST ---
(In reply to comment #6)
> I'd like some advice on what to do here.
> 
> Now that WebPageProxy::close() may disconnect from the web process, we've removed the ability for an injected bundle to reliably communicate with the UI process in its willDestroyPage() callback.
> 
> Is this functionality important?
> 
> I suggested to Anders that we could switch the test to using WKPageTryClose() instead of WKPageClose(), and then let WebPage::tryClose() call out to the injected bundle's willDestroyPage() if it plans to indeed kill the page. Anders was not impressed.

It seems valuable to preserve the ability for willDestroyPage() to always run, but I can also see arguments against it, since being able to shoot a process in the head when closing its last page could certainly be more efficient.  Perhaps we need new SPI to allow choosing which behavior is desirable, or maybe we can piggyback on existing sudden termination API.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list