james.su at gmail.com
Fri Mar 6 07:49:27 PST 2009
On Thu, Mar 5, 2009 at 2:44 PM, Zhe Su <james.su at gmail.com> wrote:
> customized global object (by providing a special class when creating the
> context). My customized global object provides some built-in properties that
> object by using variable declaraction statement. For example, assuming the
> global object has a built-in property, named "foo", a "var foo;" statement
> "var foo;" statement, the built-in foo shall be able to get and set from
> HasProperty, GetProperty, SetProperty callbacks of a class definition) can't
> distinguish variable delcaration statement and variable assigment statement.
> I checked SpiderMonkey's API and found it can distinguish such things by
> providing a flag when calling ResolveProperty callback.
> Do you have any idea on this issue? How can I implement such behavior based
> on current API?
> James Su
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev