W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18611] Blob should support Transferable

From: <bugzilla@jessica.w3.org>
Date: Mon, 20 Aug 2012 16:18:43 +0000
Message-Id: <E1T3Ugd-00044a-EU@jessica.w3.org>
To: public-webapps-bugzilla@w3.org

--- Comment #6 from Glenn Maynard <glenn@zewt.org> 2012-08-20 16:18:43 UTC ---
>From the perspective of scripts, "transferable" has nothing to do with objects
being transferred.  (The mechanics of that are invisible.)  All it means is
that the object is able to be neutered when told to, either via postMessage or
close().  The underlying optimizations this permits are different for different
objects--Blobs to quickly free resources, ArrayBuffers both to free resources
and avoid copies--but that's an implementation detail.  The visible
side-effects are identical.

It seems like a clear simplification to have a uniform API for things that look
identical to scripts.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 20 August 2012 16:18:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:26 UTC