Comment #2 on issue 694 by nickgsuperstar: __defineSetter__ is ignored,
__lookupSetter__ throws exception on global scope/object
http://code.google.com/p/v8/issues/detail?id=694
Cancel this, on the official V8 shell, this works.
this.__defineSetter__("foo", function(x) { print("oink"); });
foo = "fdfs"
oink
fdfs
this.__lookupSetter__("foo")
function (x) { print("oink"); }
so it looks like the embedding has a problem (pyv8)
thanks all.
--nickg
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev