[Webkit-unassigned] [Bug 22396] New: [Gtk] Creation of Inspector WebView is unusable in Python

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 21 00:11:41 PST 2008


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

           Summary: [Gtk] Creation of Inspector WebView is unusable in
                    Python
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jmalonzo at gmail.com


Currently we rely on ::inspect-web-view event to have the inspector WebView and
the inspector window created by the client application. The problem is that the
client then needs to pass the WebView back to WebKit through the signal
handler's return value. This is not going to work, and let alone intuitive, in
python.

I propose (patch coming up) to redesign ::inspect-web-view. Instead of allowing
the client application to create the WebView, WebKit will just create it and
send a ::prepare-window event to get the application to prepare the container
of the Inspector WebView.

My rationale for this changes are:

1. So the python webkit/gtk bindings project can have a usable WebInspector
API.

2. Allowing the client application to create a WebView then pass it back is, in
my opinion, an extra unnecessary step. The client can still get to the
Inspector WebView through webkit_web_inspector_get_view anyway. 

3. ::prepare-window is more inline with the rest of the events (::show-window,
attach-window, etc..)

Thanks,


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



More information about the webkit-unassigned mailing list