[Webkit-unassigned] [Bug 193806] [PlayStaton] Upstream playstation's remote inspector server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 1 18:01:40 PST 2019


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

Christopher Reid <chris.reid at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #360074|0                           |1
        is obsolete|                            |

--- Comment #5 from Christopher Reid <chris.reid at sony.com> ---
Created attachment 360938

  --> https://bugs.webkit.org/attachment.cgi?id=360938&action=review

[WIP] Inspector Server

There's still quite a few items that need sorting out. I'm putting this WIP patch looking for feedback/suggestions and to see if these changes are going in the right direction.

These changes implement a Remote Inspector that runs over TCP. It uses a JSON RPC protocol, the first 4 bytes of the tcp message will contain the JSON message size and the following bytes are the JSON message.

I was able to use this server on WebKitGTK using a rough proof of concept patch. I can inspect a simple page but quickly run into bugs that still need sorting out. I'll attach that patch below.

Note: A item we plan on changing is the connectionID key in the JSON protocol. It currently corresponds to an index in the m_connections Vector. I would like to change that m_connections Vector to a HashMap and use some sort of random uid as the key. Doing that also allows us to remove the m_connection client limit.

-- 
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/20190202/93f71756/attachment.html>


More information about the webkit-unassigned mailing list