| |||||||||||||||||||||||||||
SummaryCompiles and executes a security-enabled script. | |||||||||||||||||||||||||||
SyntaxJSBool JS_EvaluateScriptForPrincipals(JSContext *cx, JSObject *obj, JSPrincipals *principals, const char *bytes, uintN length, const char *filename, uintN lineno, jsval *rval);
| |||||||||||||||||||||||||||
DescriptionJS_EvaluateScriptForPrincipals compiles and executes a script associated with a JS object, obj . On successful completion, rval is a pointer to a variable that holds the value from the last executed expression statement processed in the script.
If a secure script compiles and executes successfully,
| |||||||||||||||||||||||||||
See Also
|