[webkit-dev] JSObjectSetPropertyCallback not always called ?
Martijn Scheffer
martijn.s at gmail.com
Fri May 20 16:01:48 PDT 2011
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
More information about the webkit-dev
mailing list