Bug 151203 - [GTK] Start a new web process when calling webkit_web_view_load functions?
Summary: [GTK] Start a new web process when calling webkit_web_view_load functions?
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 11:02 PST by Michael Catanzaro
Modified: 2019-06-23 10:52 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 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.)
Comment 1 Michael Catanzaro 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.
Comment 2 Michael Catanzaro 2019-06-23 10:52:00 PDT
Obsoleted by PSON.