[Webkit-unassigned] [Bug 251426] New: [GTK][WPE] Clarify the concept of a related web view
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 31 01:34:21 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251426
Bug ID: 251426
Summary: [GTK][WPE] Clarify the concept of a related web view
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org
Blocks: 210100
The related web view was initially thought as a way to ensure a web view is created in the same web process of another web view. That's what the WebKitWebView:related-view documentation says. That's implies that both web views should use the same web context. In webkitWebViewConstructed() we ensure that in case of related web view we always use the same web context, ignoring the web-context passed as construction if any. But we do the same for network-session/is-ephemeral and is-controlled-by-automation. Then we have the constructor webkit_web_view_new_with_related_view() that in addition also passes the same settings, user-content-manager and website-policies. This is confusing, I think webkit_web_view_new_with_related_view() should only pass related-view to g_object_new(). Or maybe we should just remove webkit_web_view_new_with_related_view(), since it seems it's not actually used. Then clarify in the documentation that a related web view always shares the web-context, network-session/is-ephemeral and is-controlled-by-automation, and passing any of these together with related-view has no effect.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=210100
[Bug 210100] [META][GTK][GTK4] Support GTK4
--
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/20230131/57435f09/attachment-0001.htm>
More information about the webkit-unassigned
mailing list