>>>>> "JB" == John Bandhauer <[EMAIL PROTECTED]> writes:

JB> I am working on an extention to xpconnect that does what we call
JB> 'flattening'. The idea is that xpconnect will automatically
JB> flatten the view of the interfaces of an object. So, JS code for
JB> your example above would see an object containing all of the
JB> methods of each of the interfaces on the object.

This is great!  I think it will tremendously improve the usability of
XPCOM components in JavaScript.  Those of us that have exported large,
pre-existing OO APIs to XPCOM will NOT miss having to use five
different object variables to give targets to common messages in
common idioms...  Down with QI!

JB> There will be a ton of changes in xpconnect to land when the time
JB> comes. Yes, I expect this to be part of Mozilla 1.0.

Any speculation of when it might show up in CVS?  I'm eager to try it out!

Reply via email to