- From: <bugzilla@jessica.w3.org>
- Date: Wed, 15 Apr 2015 23:28:02 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28496 --- Comment #2 from Andrew Sutherland <bugmail@asutherland.org> --- (In reply to Domenic Denicola from comment #1) > Out of curiosity why do you want the data to be in blob form if you already > have it in typed array form? For storage and resource consumption purposes: - Firefox OS's (nonstandard) API to write to the sdcard, DeviceStorage, takes a Blob (https://developer.mozilla.org/en-US/docs/Web/API/DeviceStorage/addNamed). - Gecko's IndexedDB implementation currently stores Blobs on the filesystem but TypedArrays directly inside the SQLite database. (Noting that this will change so that when the structure clone payload is large, it will be stored on the filesystem too: https://bugzil.la/964561) - The attachments are effectively opaque blobs of data to the email app anyways, if we've stored the attachment in IndexedDB, when we load the record for a mail body, it's a lot nicer to have a Blob handle than the entire contents of the TypedArray loaded directly into memory. (Obviously one could use a separate key/value for that, but a handle is still more useful because...) - For display purposes, etc., Blobs/Files are sent to other apps (using non-standard https://developer.mozilla.org/en-US/docs/Web/API/Web_Activities). -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 15 April 2015 23:28:04 UTC