FileReader

8 views
Skip to first unread message

adnix

unread,
Mar 24, 2010, 2:16:48 PM3/24/10
to Chromium HTML5
Hello,

I'm trying to implement HTML5 drag-and-drop to accept files dragged
from the OS and process their data.

In the 'drop' event, I inspect the dataTransfer.files array. I then
try to create a new FileReader, as in:

var reader = new FileReader();

This does not work, I guess because Chrome doesn't yet implement the
File API. Is that right?

In that case, how can I get at the file's binary data in Chrome?

Many thanks.

Eric Bidelman

unread,
Mar 25, 2010, 2:35:56 PM3/25/10
to Chromium HTML5, adnix
Looks like it's not quite ready yet:
http://code.google.com/p/chromium/issues/detail?id=37785

Cheers,
Eric

Reply all
Reply to author
Forward
0 new messages