[webkit-qt] Webkit remote inspector in QtWebkit, does it work ?
scerveau at connected-labs.com
Tue Aug 21 07:10:22 PDT 2012
Thank you for your precious information.
It works fine now!
I applied your patch with some adjustement to fit the webkit's svn rev
Here is in attachment.
I can see this patch is really old, do you plan to submit it to the
webkit communauty ?
I had a look to webkit's bugzilla website but i havent been able to find
a bug related ...
On 08/21/2012 02:24 PM, Leo Franchi wrote:
> On Tuesday, August 21, 2012 12:16:09 PM Stephane Cerveau wrote:
>> Dear all,
>> I'm currently trying to use the webkit remote inspector using websocket.
>> I can see that an implementation is available in
>> Source/Webkit/qt/WebcoreSupport but i'm facing some problem to use it.
>> Here is my command line to launch the remote inspector
>> ./QtTestBrowser -remote-inspector-port 9222 http://www.google.fr
>> When i'm launching another browser such as Chrome, i start with white
>> page with www.google.fr and when i'm clicking on it, i'm getting a
>> websocket error.
>> And now the message received from the client is not handled correctly,
>> crashing in webSocketReadyRead on Q_ASSERT(!m_data);
>> So i'm wondering if anybody is using this functionnality or this is only
>> a beta code.
>> Any help would be appreciated :)
> The websocket protocol version in the Qt inspector server is a bit old, I
> believe it's using the Hixie76 protocol instead of the newer Hybi or RFC
> drafts. If you want to connect to the inspector server with a modern Webkit
> browser, you'll need to update the server, or you can use an older client.
> To use an older client, try using the QtTestBrowser as your inspector client.
> To use modern webkit versions, try applying this patch:
> though you might also want one or two of the later commits here:
> Hope this helps!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11863 bytes
Desc: not available
More information about the webkit-qt