mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Follow-up for bug 568966. js_Call is never called with JSFRAME_CONSTRUCT.
This commit is contained in:
parent
3026562007
commit
336333df60
@ -5632,7 +5632,7 @@ js_Call(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
return ok;
|
||||
}
|
||||
#endif
|
||||
js_ReportIsNotFunction(cx, &argv[-2], js_GetTopStackFrame(cx)->flags);
|
||||
js_ReportIsNotFunction(cx, &argv[-2], 0);
|
||||
return JS_FALSE;
|
||||
}
|
||||
return clasp->call(cx, obj, argc, argv, rval);
|
||||
|
Loading…
Reference in New Issue
Block a user