[Bug 24687] DataCue: clarify that .data should be a clone of data argument and not a pointer

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24687

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
Why do you need to structured clone?  If the argument is an arraybuffer, you
can just explicitly make a copy of its data (basically by calling the canonical
ArrayBuffer.prototype.slice on it, with 0 as argument).

Unless you're _trying_ to preserve the at-the-time-of-call expandos as well?  I
would argue that's not worth it, and is in fact undesirable.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 5 March 2014 13:39:03 UTC