Bug 870423 - Use the actual hasInstance proxy hook for function proxies. r=luke

This commit is contained in:
Bobby Holley 2013-05-28 10:29:37 -07:00
parent dfb5696db1
commit 97556fd572

View File

@ -3197,7 +3197,7 @@ JS_FRIEND_DATA(Class) js::FunctionProxyClass = {
proxy_Finalize, /* finalize */ proxy_Finalize, /* finalize */
NULL, /* checkAccess */ NULL, /* checkAccess */
proxy_Call, proxy_Call,
FunctionClass.hasInstance, proxy_HasInstance,
proxy_Construct, proxy_Construct,
proxy_TraceFunction, /* trace */ proxy_TraceFunction, /* trace */
PROXY_CLASS_EXT, PROXY_CLASS_EXT,