A JSObjectSetPropertyCallback should be called every time.
Geoff
On May 20, 2011, at 4:01 PM, Martijn Scheffer wrote:
> Hi,
>
> I wrote a simple loop in javascript:
>
> for(var index = 0; index < 1000; index++) {
> if(myobject.color == 'red') {
> myobject.color = 'blue'
> } else {
> myobject.color = 'red'
> }
> }
>
> after 4 or 5 iterations i noticed that my JSObjectSetPropertyCallback
> is not called anymore, but the JSObjectGetPropertyCallback still is.
>
> is this the result of some kind of optimization ?
> or am i just too tired ? :)
>
> i really need my setters and getters to be called every time.
>
> Martin
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev