arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden).

This commit is contained in:
Brendan Eich
2010-07-10 11:48:00 -07:00
parent 9a3b695cd0
commit 64c4665836
27 changed files with 680 additions and 133 deletions

View File

@@ -1774,8 +1774,8 @@ sort_compare_strings(void *arg, const void *a, const void *b, int *result)
return JS_TRUE;
}
static JSBool
array_sort(JSContext *cx, uintN argc, Value *vp)
JSBool
js::array_sort(JSContext *cx, uintN argc, Value *vp)
{
jsuint len, newlen, i, undefs;
size_t elemsize;