bug 527027 - fixing date_makeDate regression. r=brendan

This commit is contained in:
Igor Bukanov
2009-11-08 21:44:53 +01:00
parent f829b23d45
commit 7e02bec65d

View File

@@ -1691,7 +1691,7 @@ date_makeDate(JSContext *cx, uintN maxargs, JSBool local, uintN argc, jsval *vp)
/* see complaint about ECMA in date_MakeTime */
if (argc == 0) {
SetDateToNaN(cx, obj);
SetDateToNaN(cx, obj, vp);
return true;
}
if (argc > maxargs)