[Webkit-unassigned] [Bug 51364] Web Inspector: Remote Web Inspector - Cross Platform InspectorServer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 16:04:39 PST 2011


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





--- Comment #41 from Joseph Pecoraro <joepeck at webkit.org>  2011-01-26 16:04:38 PST ---
Created an attachment (id=80254)
 --> (https://bugs.webkit.org/attachment.cgi?id=80254&action=review)
[PATCH] New Part 5 - Add InspectorServer logic to handle connections.

This is the last of the WebCore work for a remote inspector server. The rest is up to clients.
To get an idea what a webkit client needs to do see the next patch (Mac Part 1). Namely:

  - Implement the InspectorServerClient.h interface in your WebKit/platform
    - provide a listing page (html)
    - serve inspector resources
    - hook up your server client to inspectorServer()->setInspectorClient(...) [such as at startup]
    - call inspectorServer()->listen(port) when you want to start listening, and close() when you want to stop

  - Implement the InspectorClient additions, and use the remote connection when needed
    - setupRemoteConnection
    - teardownRemoteConnectionFromRemoteSide
    - call inspectorServer()->closeConnection(remoteConnectionId()) when closing
    - call inspectorServer()->sendMessageOverConnection(remoteConnectionId(), message) when
      sendMessageToFrontend is called and there is a remote connection.

-- 
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