[Webkit-unassigned] [Bug 222366] [WPE][GTK] Reconsider moving network session APIs to WebKitWebsiteDataManager
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 12 10:11:46 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=222366
--- Comment #5 from Michael Catanzaro <mcatanzaro at gnome.org> ---
(In reply to Carlos Garcia Campos from comment #4)
> 1.- Only support one network process: I don't see any reason to use more
> than one, you can just have different sessions in the same process. With
> current API you can end up with two network processes accessing the same
> cookies database, for example, even if that's actually a programmer error.
So you want to have one network process per UI process, matching Apple's process model? I think that would be fine. We would then want to switch to one NetworkSession per WebKitWebContext/WebProcessPool instead of using the default NetworkSession; otherwise, separate instances of WebKit could clash with each other.
Sounds much better than the status quo.
> 2.- Make it possible to use a different session on every web view: in our
> current API we can only decide whether to use the web context network
> session or an ephemeral one. The API would be similar to the settings
> property, you can share the same settings or use a different object, but it
> doesn't depend on the web context.
I like this proposal. It makes more sense than what we have now.
I think we can keep WebKitWebView:is-ephemeral and just make it read-only.
--
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/20230112/9701ce90/attachment.htm>
More information about the webkit-unassigned
mailing list