Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances.

This commit is contained in:
Robert Sayre
2010-08-01 09:58:03 -07:00
parent f452efe4b5
commit e6fed7ef3e
28 changed files with 590 additions and 154 deletions

View File

@@ -1778,8 +1778,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;