RESOLVED INVALID 25886
No way to store File objects locally
https://bugs.webkit.org/show_bug.cgi?id=25886
Summary No way to store File objects locally
Eric Seidel (no email)
Reported 2009-05-20 00:41:14 PDT
No way to store File objects locally If you try using Database, it will just store the string "[File Object]". At least that's what I've been told (and looks like what it will do in JSSQLTransactionCustom.cpp: http://trac.webkit.org/browser/trunk/WebCore/bindings/js/JSSQLTransactionCustom.cpp#L77 This is a blocking bug for applications like Gmail to move off gears (which they would like to do!). They need a way to store files that someone attaches to an email during offline mode, so they can upload them to the server when you come back online.
Attachments
Eric Seidel (no email)
Comment 1 2009-05-20 00:44:15 PDT
Alexey suggests that it also makes sense to be able to fetch files out of a Database as some sort of data: url. So you can store images in the Database and display them later. I think that's most easily answered by adding some sort of File::toDataURL() function (which probably should take an encoding). I'll file that as a separate bug.
Anne van Kesteren
Comment 2 2023-08-23 07:43:30 PDT
This bug has clearly been overtaken by events.
Note You need to log in before you can comment on or make changes to this bug.