Bug 151203

Summary: [GTK] Start a new web process when calling webkit_web_view_load functions?
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2015-11-12 11:02:45 PST
Safari starts a new web process when the user enters a new URI in the address bar. The point of this is to reduce memory usage in the event of memory leaks. We should probably consider doing this too. (Of course, the WKView/WebKitWebView stays the same.)
Attachments
Michael Catanzaro
Comment 1 2016-01-02 18:48:03 PST
In http://stackoverflow.com/questions/33990687/webkitgtk-about-webkit-web-view-load-uri/34572803 I offer terrible workarounds to a user who's suffering from memory leaks in his application. If webkit_web_view_load_* were to start a new web process, this would not be an issue. IIRC this approach was suggested to me by Dan Bates, Alex Christensen, and Ryosuke at the Contributors Meeting. One issue is we would have to figure out how this would interact with webkit_web_view_new_with_related_view. I think that once you load a second URI, it's logical that the view would simply cease to be related and use a new web process.
Michael Catanzaro
Comment 2 2019-06-23 10:52:00 PDT
Obsoleted by PSON.
Note You need to log in before you can comment on or make changes to this bug.