Subj : Question on js_LookupPropertyWithFlags To : netscape.public.mozilla.jseng From : Alfred Date : Wed Sep 21 2005 08:24 am I feel confused about the flag of JSCLASS_NEW_RESOLVE_GETS_START. In file "jspubtd.h", there is a comment for JSNewResolveOp which is: "Setting JSCLASS_NEW_RESOLVE and JSCLASS_NEW_RESOLVE_GETS_START further extends this hook by passing in the starting object on the prototype chain via *objp." So when there is a call to lookupproperty and the flag of JSCLASS_NEW_RESOLVE_GETS_START has been set, the lookup operation should start from *objp. But when I turned to the function js_LookupPropertyWithFlags in "jsobj.c", it seems that the parameter *objp isn't used for that purpose. Maybe I don't fully understand the code. Or maybe you can give me some help. Thanks. Alfred .