Re: Transferable and structured clones, was: Re: [FileAPI] Deterministic release of Blob proposal

>> Separately defining blobs to be transferrable feels like an unneeded
>> complexity. A caller wishing to
>> neuter after sending can explicit call .close() rather than relying on
>> more obscure artifacts of having also put the 'blob' in a
>> 'transferrable' array.
>
>
> You can always call close() yourself, but Blob.close() should use the
> "neuter" mechanism already there, not make up a new one.

Blobs aren't transferable, there is no existing mechanism that applies
to them. Adding a blob.close() method is independent of making blob's
transferable, the former is not prerequisite on the latter.

Received on Tuesday, 6 March 2012 22:24:43 UTC