Windows

  
[uuid(38df70e9-12f8-4732-af91-df36c38dc6f6)]
interface nsIDispatchSupport : nsISupports

Methods

 Converts a COM Variant to a jsval.
 @param comvar The COM Variant to be converted.
 @param val The jsval to receive the converted value.
void COMVariant2JSVal(in COMVARIANTPtr comvar, out JSVal val)
 Return the ActiveX security and hosting flags. See nsIActiveXSecurityPolicy
 for list of flags.
 @param context The context for which flags are requested. At present the
                only valid value is nsnull.
unsigned long getHostingFlags(in string aContext)
 Test if the specified class is marked safe for scripting.
 @param cid The nsID representation of the CLSID to test.
 @param classExists Returns containing PR_FALSE if the class is not
                    registered.
boolean isClassMarkedSafeForScripting(in nsCIDRef cid, out boolean classExists)
 Test if the class is safe to host.
 @param clsid The nsID representation of the CLSID to test.
 @param classExists Returns containing PR_FALSE if the class is
                    not registered.
boolean isClassSafeToHost(in JSContextPtr cx, in nsCIDRef cid, in boolean capsCheck, out boolean classExists)
 Test if the instantiated object is safe for scripting on the specified
 interface.
 @param theObject The object to test (an IUnknown cast into a void *).
 @param iid The interface to test if it is safe for scripting on.
boolean isObjectSafeForScripting(in voidPtr theObject, in nsIIDRef id)
 Converts a jsval to a COM Variant
 @param var The jsval to be converted.
 @param comvar The COM Variant to receive the converted value
void JSVal2COMVariant(in JSVal var, out COMVARIANT comvar)