[Webkit-unassigned] [Bug 123553] New: [RFE] Communication channel between extension and browser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 30 20:36:58 PDT 2013


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

           Summary: [RFE] Communication channel between extension and
                    browser
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mathstuf at gmail.com


I'm having an issue with making an extension part of uzbl. There's no way to ask WebKitGtk to set up a communication channel between the extension and the main process. I could set one up, but I'm not sure how best to due so (environment variables + abstract UNIX sockets seem to be the best way that I can think of; there's DBus, but that would still rely on environment variables). It'd be nice if there were an API that an extension could call similar to:

    GIOChannel *webkit_extension_connect (WebKitWebExtension *extension, const gchar *name);

where there is a "extension-connected" signal on WebKitWebView:

    gboolean extension_connected_cb (WebKitWebView *view, GIOChannel *chan, const gchar *name, gpointer data);

where TRUE would imply that the connection should be kept and FALSE means that the connection should be torn down (and that the main process has not held onto the GIOChannel itself).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list