mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 21:43:24 +00:00
Give the psuedo frame a scopeChain. bug 361571, r=brendan a=dveditz
This commit is contained in:
parent
c0599e7b23
commit
43c0e6cd3f
@ -424,6 +424,7 @@ js_watch_set(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
|
||||
frame.fun = fun;
|
||||
frame.argv = argv + 2;
|
||||
frame.down = cx->fp;
|
||||
frame.scopeChain = OBJ_GET_PARENT(cx, closure);
|
||||
|
||||
cx->fp = &frame;
|
||||
ok = !wp->setter ||
|
||||
|
Loading…
Reference in New Issue
Block a user