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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 24 10:31:03 PST 2011


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





--- Comment #34 from Joseph Pecoraro <joepeck at webkit.org>  2011-01-24 10:31:00 PST ---
Created an attachment (id=79936)
 --> (https://bugs.webkit.org/attachment.cgi?id=79936&action=review)
[PATCH] New Part 1 - Generic Server Socket to be used for a WebSocket Server

I call these "New Part" etc. The part 1 and 2 above reviewed by Yurys would also need to land.

Steps that would be needed for a new platform to use this:

  1. Add platform/network/ServerSocket* files to their build system.
      (NOTE: Should I do this?)
  2. Implement a platform specific ServerSocket, which should just be:
    - platformListen, platformClose
    - calling client callbacks, at least didReceiveConnection (takes a SocketStreamHandle)
  3. Probably a new way to create a platform specific SocketStreamHandle

This uses LOG(Network, ...) for Server Socket logs. To enable this in Safari, you
can look up the key for "Network" in Source/WebCore/platform/Logging.cpp,
and it is "0x00100000". So write out the default like so:

  shell> defaults write com.apple.safari WebCoreLogLevel 0x00100000

Next up is abstracting + refactoring HTTPRequest from WebSocketRequest
into a generic, reusable, class.

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