[Webkit-unassigned] [Bug 280247] IPC communication with web processes when PSON enabled broken in 4.1 API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 24 08:39:09 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280247
Michael Catanzaro <mcatanzaro at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at redhat.com
--- Comment #2 from Michael Catanzaro <mcatanzaro at redhat.com> ---
With PSON enabled, you probably don't want to use your own IPC channel anymore. But if you do so, then your code needs to be aware of process swaps.
> "when "process-swap-on-cross-site-navigation-enabled" is turned
> on messages sent by
> webkit_web_page_send_message_to_view messages are not delivered at all
> from the "page-created" callback to the WebView.
How exactly does it fail? The function call completes successfully (webkit_web_page_send_message_to_view_finish() does not return any error)?
page-created is probably just too soon. Maybe the page is not associated with a web view yet? But you should at least receive an error.
> webkit_web_extension_send_message_to_context is delivered to the
> WebContext in the UI process but the WeBPage page_id is not yet
> initialized, and there is no reliable way to assciate the WebProcess
> with the WebPage on the page-created signal"
WebKitUserMessage doesn't convey page_id. Where exactly are you noticing an uninitialized page_id?
--
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/20240924/3c1ed94d/attachment.htm>
More information about the webkit-unassigned
mailing list