js/src/xpconnect/idl/nsIDispatchSupport.idl
Not scriptablensISupports
Last changed in Gecko 1.7 void COMVariant2JSVal(in COMVARIANTPtr comvar, out jsval val); |
unsigned long getHostingFlags(in string aContext); |
boolean isClassMarkedSafeForScripting(in nsCIDRef cid, out boolean classExists); |
boolean isClassSafeToHost(in JSContextPtr cx, in nsCIDRef cid, in boolean capsCheck, out boolean classExists); |
boolean isObjectSafeForScripting(in voidPtr theObject, in nsIIDRef id); |
void JSVal2COMVariant(in jsval var, out COMVARIANT comvar); |
Converts a COM Variant to a jsval.
void COMVariant2JSVal( in COMVARIANTPtr comvar, out jsval val );
comvar
val
Return the ActiveX security and hosting flags. See nsIActiveXSecurityPolicy
for list of flags.
unsigned long getHostingFlags( in string aContext );
aContext
Test if the specified class is marked safe for scripting.
boolean isClassMarkedSafeForScripting( in nsCIDRef cid, out boolean classExists );
cid
nsID
representation of the CLSID to test.classExists
Test if the class is safe to host.
boolean isClassSafeToHost( in JSContextPtr cx, in nsCIDRef cid, in boolean capsCheck, out boolean classExists );
cx
cid
capsCheck
classExists
Test if the instantiated object is safe for scripting on the specified interface.
boolean isObjectSafeForScripting( in voidPtr theObject, in nsIIDRef id );
theObject
id
Converts a jsval to a COM Variant.
void JSVal2COMVariant( in jsval var, out COMVARIANT comvar );
var
comvar