[Webkit-unassigned] [Bug 200967] [GTK] Make PSON optional

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 03:21:14 PDT 2019


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
            Summary|WebProcess ProcessSwapping  |[GTK] Make PSON optional
                   |problems                    |

--- Comment #17 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I've realized that we don't really need new API for the cases when page created is not emitted, but we need to handle it in the applications. Since it's not really possible to enable PSON without breaking backwards compatibility, I've decided to make it optional, so that only apps that are ready can enable it. For this particular case, the application needs to keep a map of web process connections to web views, using the page created signal the same way, but leaving connections in the map until they are closed. This way, when a previous process is reused we already have the connection in the map. Once patch in bug #201642 lands, we can monitor the page id changes to create the proxy for the current web process. You can see how I implemented this approach in the unit tests. I'm going to use this bug to add the new API to enable PSON. Note that this property will be removed once we bump the API version.

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/20191001/3c48176b/attachment.html>

More information about the webkit-unassigned mailing list