[Webkit-unassigned] [Bug 204596] New: [GTK] Can't share a WebProcess if related WebKitWebView is destroyed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 25 18:34:27 PST 2019


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

            Bug ID: 204596
           Summary: [GTK] Can't share a WebProcess if related
                    WebKitWebView is destroyed
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mike at vee.net
                CC: bugs-noreply at webkitgtk.org

I'm currently implementing sharing WebProcesses in Geary using WebKitWebView::related-view at construction time. While this seems to be successful ensuring the same WebProcess is re-used when creating multiple WebKitWebViews at the same time, if a related view is destroyed it then can't be used successfully as a related process and a new WebProcess will be launched.

It is not convenient to prevent one of the old WebViews from being destroyed since they are far removed from the code that handles conversation loading, so it would be useful to have some other means of sharing WebProcesses between temporally isolated views. Bring back 1 WebContext == 1 WebProcess perhaps? It seems intuitive and would require jumping through less hoops than using webkit_web_view_new_with_related_view().

-- 
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/20191126/83dd2163/attachment.htm>


More information about the webkit-unassigned mailing list