[webkit-dev] How to enable Inspector in Webkit/GTK

Kalle Vahlman kalle.vahlman at gmail.com
Sun Nov 30 00:29:33 PST 2008


2008/11/30 ying lcs <yinglcs at gmail.com>:
> On Sat, Nov 29, 2008 at 3:29 AM, Kalle Vahlman <kalle.vahlman at gmail.com> wrote:
>> 2008/11/29 ying lcs <yinglcs at gmail.com>:
>>> >From this entry, it said Inspector is ported to  Webkit/GTK
>>> http://blog.kov.eti.br/?p=25
>>>
>>> Can you please tell me how can I enable it?
>>
>> There's a patch attached to the original bug that enables the
>> inspector for the GtkLauncher test program:
>>
>>  https://bugs.webkit.org/show_bug.cgi?id=19392
>>
>> That should give an idea what needs to be done in a client application
>> to enable the inspector.
>>
>> On a related note, I just submitted a patch for an API to enable
>> client applications to start the inspector (eg. from a keyboard
>> shortcut):
>>
>>  https://bugs.webkit.org/show_bug.cgi?id=22551
>>
>> --
>> Kalle Vahlman, zuh at iki.fi
>> Powered by http://movial.fi
>> Interesting stuff at http://sandbox.movial.com
>> See also http://syslog.movial.fi
>>
> Thank you , Kalle,
>
> So should I apply this patch :
> https://bugs.webkit.org/attachment.cgi?id=24756 from the 1st bug that
> you mentioned?

No, that's already included in the WebKit code, the one I meant is

  https://bugs.webkit.org/attachment.cgi?id=22365

which only adds the support to GtkLauncher.

> And then https://bugs.webkit.org/attachment.cgi?id=25590 from the 2nd
> bug that you mentioned?

No, you don't need this one. You will get the context menu item with
the patch mentioned above, this one only adds a button to launch the
inspector from the client toolbar (and it depends on the other patch
in that bug).

Sorry for the confusion :)

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://sandbox.movial.com
See also http://syslog.movial.fi


More information about the webkit-dev mailing list