[Webkit-unassigned] [Bug 54112] Web Inspector: Add Start/Stop commands for (sub-)frontend lifetime agents.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 10:29:48 PST 2011


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





--- Comment #1 from Patrick Mueller <pmuellr at yahoo.com>  2011-02-09 10:29:48 PST ---
You're talking about Inspector.idl, right?

There's may be a semantic issue here, in that you will have multiple "start" and "stop" methods defined in the IDL.  I realize that the Inspector.idl isn't strictly WebIDL, but it clearly is very close.  Does WebIDL support this kind of "overloading" in interfaces?  (I hope not!)

Alternatives:

- split Inspector.idl into separate IDL files, each with their own interface

- keep everything in Inspector.idl, but put multiple interfaces in it, instead of the singular interface "Inspector" today.  Obviously, every domain becomes a new interface.

I should mention that I'm also a consumer of Inspector.idl for weinre.  Part of my build process is to build a JSON representation of the IDL, so that I can build proxies and verify methods exist in implementations.  So I'd be hit by either of these changes.  But I'd love to see either of these changes over the current state of Inspector.idl today - I don't think it's a big hit to change my JSON-builder (which parses the IDL).  I'd prefer the second approach, I think.

I should mention also that I can actually cope with the original suggested change (multiple "start" methods in the IDL), it just doesn't seem like the cleanest story.

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