[Webkit-unassigned] [Bug 57957] New: Web Inspector: migrate Inspector protocol messages format to JSON-RPC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 09:43:32 PDT 2011


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

           Summary: Web Inspector: migrate Inspector protocol messages
                    format to JSON-RPC
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://groups.google.com/group/json-rpc/web/json-rpc-2
                    -0
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Created an attachment (id=88449)
 --> (https://bugs.webkit.org/attachment.cgi?id=88449&action=review)
errors sample

There is not a significant difference between  inspector messages spec and and JSON-RPC 2.0 messages spec.
Also JSON-RPC has a pretty clear specification for error descriptions which we haven't.
It was decided that we will use it.

the list of renames:

1) type-> /dev/null
2) domain + '.' + event => method // for events
3) domain + '.' + command => method // for requests
4) requestId => id // for responses

5) arguments => params // for requests
6) data => params // for events 
7) body => result // for responses

protocolErrors and error properties will be converted to JSON-RPC error format.
The order of properties in messages also will be adjusted.
The only thing that looks unnecessary is jsonrpc property.

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