mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 625191 - Root Bindings used in JS_CompileUCFunctionForPrincipals. rs=gwagner
--HG-- extra : rebase_source : af09c008781d39de0e756422e0ac56e5f88c71c6
This commit is contained in:
parent
354e7a64db
commit
27bd32aa27
@ -4736,6 +4736,7 @@ JS_CompileUCFunctionForPrincipals(JSContext *cx, JSObject *obj,
|
||||
MUST_FLOW_THROUGH("out");
|
||||
|
||||
Bindings bindings(cx);
|
||||
AutoBindingsRooter root(cx, bindings);
|
||||
for (i = 0; i < nargs; i++) {
|
||||
argAtom = js_Atomize(cx, argnames[i], strlen(argnames[i]), 0);
|
||||
if (!argAtom) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user