That's correct.

In objects.cc, function
JSObject::SetPropertyWithCallback(...)

    if (call_fun == NULL) return value;


On Wed, Nov 5, 2008 at 7:51 AM, Anthony Shipman <[EMAIL PROTECTED]> wrote:
>
> If I define a property in an object (template) and specify a getter but no
> setter shouldn't V8 assume that the property is read-only?
>
> At the moment it seems that an attempt to set the property is silently
> ignored.
> --
> Anthony Shipman                    Mamas don't let your babies
> [EMAIL PROTECTED]                   grow up to be outsourced.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to