DescriptionIDL: Add [FlexibleArrayBufferView] and use for bufferSubData
The [FlexibleArrayBufferView] extended attribute, when used on a method
argument of type ArrayBufferView, causes the value to be processed and
passed to the implementation as the new C++ type FlexibleArrayBufferView
instead of as DOMArrayBufferView*.
A FlexibleArrayBufferView object will either contain a pointer to a
DOMArrayBufferView, or, if the array was small (without a materialized
buffer), a stack allocated buffer containing the contents of the array.
BUG=v8:3996
Patch Set 1 #Patch Set 2 : make FlexibleArrayBufferView non-copyable #Patch Set 3 : add warning about the storage's life-time #Messages
Total messages: 13 (1 generated)
|