mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Merge backout.
This commit is contained in:
commit
0a45f9cb94
@ -1042,9 +1042,7 @@ proxy_Construct(JSContext *cx, uintN argc, Value *vp)
|
||||
static JSType
|
||||
proxy_TypeOf_fun(JSContext *cx, JSObject *obj)
|
||||
{
|
||||
return obj->unwrap()->isRegExp()
|
||||
? JSTYPE_OBJECT
|
||||
: JSTYPE_FUNCTION;
|
||||
return JSTYPE_FUNCTION;
|
||||
}
|
||||
|
||||
JS_FRIEND_API(Class) FunctionProxyClass = {
|
||||
|
Loading…
Reference in New Issue
Block a user