This is a somewhat special interface. It is available from the global
 nsIXPConnect object when native methods have been called. It is only relevant
 to the currently called native method on the given JSContext/thread. Holding
 a reference past that time (or while other native methods are being called)
 will not assure access to this data.
[uuid(0fa68a60-8289-11d3-bb1a-00805f8a5dd7)]
interface nsIXPCNativeCallContext : nsISupports

Attributes


          
readonly attribute PRUint32 Argc

          
readonly attribute JSValPtr ArgvPtr

          
readonly attribute nsISupports Callee

          
readonly attribute nsIClassInfo CalleeClassInfo

          
readonly attribute nsIInterfaceInfo CalleeInterface

          
readonly attribute PRUint16 CalleeMethodIndex

          
readonly attribute nsIXPConnectWrappedNative CalleeWrapper
 Set this if JS_SetPendingException has been called. Return NS_OK or
 else this will be ignored and the native method's nsresult will be
 converted into an exception and thrown into JS as is the normal case.
attribute PRBool ExceptionWasThrown

          
readonly attribute JSContextPtr JSContext
 This may be NULL if the JS caller is ignoring the result of the call.
readonly attribute JSValPtr RetValPtr
 Set this to indicate that the callee has directly set the return value
 (using RetValPtr and the JSAPI). If set then xpconnect will not attempt
 to overwrite it with the converted retval from the C++ callee.
attribute PRBool ReturnValueWasSet