[Webkit-unassigned] [Bug 204839] New: [GTK] webkit_user_content_manager_register_script_message_handler failing with shared process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 3 23:25:33 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=204839

            Bug ID: 204839
           Summary: [GTK]
                    webkit_user_content_manager_register_script_message_ha
                    ndler failing with shared process
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Blocker
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mike at vee.net
                CC: bugs-noreply at webkitgtk.org

Since WebKitGTK 2.26 has deprecated WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS, I have migrated Geary to construct web views using WebKitWebView::related-view and a shared WebKitUserContentManager instance.

However when calling webkit_user_content_manager_register_script_message_handler() on the shared WebKitUserContentManager instance, second and subsequent invocations with the same message name fail (i.e. the call return false) and no messages with that name are received from the ::script-message-received handler. I need to register it multiple times, once for each WebKitWebView instance because the messages are sent that are view-specific.

Nothing is logged when WEBKIT_DEBUG=all I'm not sure how to get more debug information about it.

This is a blocker for Geary dropping use of the WEBKIT_USE_SINGLE_WEB_PROCESS workaround.

Tested with WebKitGTK 2.26.2.

-- 
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/20191204/5ac7d500/attachment.htm>


More information about the webkit-unassigned mailing list