Ok thanks. I guess I'll have to make copies of the data before passing it to the script.
My only thought was using the Security tokens system to block access, but I don't know much about that. thanks again On Monday, April 23, 2012 3:31:06 PM UTC+8, Vyacheslav Egorov wrote: > > V8 does not support read only external arrays. > > -- > Vyacheslav Egorov > > On Mon, Apr 23, 2012 at 7:49 AM, Paul Harris <[email protected]> wrote: > > Any more information on this? > > > > I would like make TypeArray access read-only too. > > > > > > On Tuesday, May 10, 2011 8:04:17 AM UTC+8, Henrik Lindqvist wrote: > >> > >> In the spec for ArrayBuffer there is a proposal for an option to make > >> the content read-only. > >> > >> http://www.khronos.org/registry/typedarray/specs/latest/ > >> > >> For fast element access I'am using > >> SetIndexedPropertiesToExternalArrayData to implement TypedArray access > >> to ArrayBuffer data. Is there a way to prohibit element assignment, > >> making it read-only? > > > > -- > > v8-users mailing list > > [email protected] > > http://groups.google.com/group/v8-users > > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
