ChromeDevTools / debugger-protocol-viewer

DevTools Protocol API docs—its domains, methods, and events
https://chromedevtools.github.io/devtools-protocol/
Other
862 stars 172 forks source link

Data types missing #12

Closed kdzwinel closed 9 years ago

kdzwinel commented 9 years ago

We miss type information in the viewer. This makes it almost impossible to figure out how to use some methods e.g. DOM.higlightNode requires higlightConfig that has a very specific format (check it out here).

Type information is available in the protocol.json, we are just not displaying it ATM.

paulirish commented 9 years ago

Nice. :)

I just added type stuff in https://github.com/ChromeDevTools/debugger-protocol-viewer/commit/33d571845731c5af518616ce094d72c47216bce1 but i'd rather you do it your way because I feel pretty unsatisfied with my implementation.

I'm going to back out my types commit. You take this one.