[Webkit-unassigned] [Bug 233436] [GTK] Running webkit programs are unstable after version upgrades
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 23 06:01:14 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233436
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at gnome.org
--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
We could emit a signal on WebKitWebContext. The application would then have the opportunity to display UI suggesting that the user restart.
> Detecting the version mismatch and respawning the affected process may mitigate the problem but it probably won't cover all cases and it's maybe not worth the added complexity.
Patrick's right: you'd have to restart the UI process as well, which is impossible, not just the child processes. Another impossible alternative would be to never start new child processes. I would expect WebKit to continue working fine so long as no new processes are started.
Here's something that might actually work: we could copy the subprocess binaries into a private location under /run when the UI process starts, before launching anything. If each UI process had its own separate copies of its subprocess binaries, as they existed at the time the UI process was launched, then WebKit would be robust to system upgrades. I don't think that's worth the effort, but it *should* work.
--
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/20211123/1a77cda4/attachment.htm>
More information about the webkit-unassigned
mailing list