mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 509301 - Value chosen for callee in args_resolve is nonsense. Fixes a debug browser assertion. r=Waldo.
This commit is contained in:
parent
114f8d3c01
commit
d60a115007
@ -623,7 +623,8 @@ args_resolve(JSContext *cx, JSObject *obj, jsval idval, uintN flags,
|
||||
if (str == ATOM_TO_STRING(atom)) {
|
||||
if (TEST_OVERRIDE_BIT(fp, ARGS_CALLEE))
|
||||
return true;
|
||||
v = INT_TO_JSVAL(reinterpret_cast<jsint>(fp->callee));
|
||||
JS_ASSERT(fp);
|
||||
v = JSVAL_NULL;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user