New nsIScriptable interface: Difference between revisions

added Mozilla specific considerations
m (invoke method returned nsIVariant but also listed it as an [out] param)
(added Mozilla specific considerations)
Line 180: Line 180:
initial invoke for 'ondialogaccept' may be done as a method call, assuming
initial invoke for 'ondialogaccept' may be done as a method call, assuming
the language is capable of detecting that situation.
the language is capable of detecting that situation.
== Mozilla specific considerations ==
=== nsIClassInfo ===
A new bit will be added to nsIClassInfo to indicate that the object is likely to work with nsIScriptable.  This is a (possibly premature) optimization that predits the implementation will prefer to check this bit than perform a QI.)
=== Naming ===
[http://lxr.mozilla.org/seamonkey/source/js/src/xpconnect/idl/nsIXPCScriptable.idl nsIXPCScriptable ] already exists but has quite different semantics.  Is this a problem?
32

edits