Disallow non-canonical jsids, bug 751331. r=luke
This commit is contained in:
@@ -67,7 +67,7 @@ DefineGlobals(JSContext *cx, GlobalScope &globalScope, JSScript* script)
|
||||
if (!def.atom)
|
||||
continue;
|
||||
|
||||
jsid id = ATOM_TO_JSID(def.atom);
|
||||
jsid id = AtomToId(def.atom);
|
||||
Value rval;
|
||||
|
||||
if (def.funbox) {
|
||||
|
||||
Reference in New Issue
Block a user