I was wondering if it is possible to intercept get/set of indexed 
properties for the various types of ArrayBuffer views.

My goal is to have the backing store of an ArrayBuffer lazily loaded from a 
remote location on-demand hence the need to intercept these operations and 
populate the backing store in such cases.

In case it is helpful the full use case is as follows:

   - Javascript code does XHR with response type of arraybuffer but this 
   XHR is postponed until actually accessed
   - Javascript may manipulate the array buffer via views - here the 
   interception of get/set is critical
   - Javascript appends the buffer to a media source 
   
<https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html> 
- 
   the media source is implemented on a remote device which can load the 
   buffer directly and apply the changes made in the previous step if any
   


-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to