Don't pin object atoms, since those can entrain all sorts of other stuff. Bug
294893 some more, r=brendan, sr=jst, a=brendan git-svn-id: svn://10.0.0.236/trunk@173784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b1e5e2156d
commit
3413d8b3ce
@ -7462,7 +7462,7 @@ js_GetFunctionNamespace(JSContext *cx, jsval *vp)
|
||||
if (!obj)
|
||||
return JS_FALSE;
|
||||
|
||||
atom = js_AtomizeObject(cx, obj, ATOM_PINNED);
|
||||
atom = js_AtomizeObject(cx, obj, 0);
|
||||
if (!atom)
|
||||
return JS_FALSE;
|
||||
rt->atomState.lazy.functionNamespaceAtom = atom;
|
||||
@ -7650,7 +7650,7 @@ js_GetAnyName(JSContext *cx, jsval *vp)
|
||||
METER(xml_stats.qnameobj);
|
||||
METER(xml_stats.liveqnameobj);
|
||||
|
||||
atom = js_AtomizeObject(cx, obj, ATOM_PINNED);
|
||||
atom = js_AtomizeObject(cx, obj, 0);
|
||||
if (!atom)
|
||||
return JS_FALSE;
|
||||
rt->atomState.lazy.anynameAtom = atom;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user