[Webkit-unassigned] [Bug 56294] Web Inspector: migrate from Inspector.idl to InspectorAPI.json for protocol schema definition meta bug.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 08:01:32 PDT 2011


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





--- Comment #2 from Patrick Mueller <pmuellr at yahoo.com>  2011-03-14 08:01:32 PST ---
One additional note; I found that using my IDL->JSON version of the Web Inspector APIs to be perfectly acceptable in practice, but they were really much larger than what I really needed.

As described here, the InspectorAPI.json file that includes documentation will be bigger than it needs to be - the runtime doesn't need the documentation, for example.  

What I ended up doing was generating two JSON files - one that is used to generate documentation, the other is used at runtime.  In my case, the JSON went from something like 200K to 30K.  The numbers are a bit inflated as I was adding white space to the 200K version as well, which I removed from the 30K version.

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