Bug 47679 - FileReader.readAsDataURL should take Blob object
Summary: FileReader.readAsDataURL should take Blob object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Jian Li
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 11:33 PDT by Jian Li
Modified: 2010-10-15 15:38 PDT (History)
3 users (show)

See Also:


Attachments
Proposed Patch (7.52 KB, patch)
2010-10-14 12:05 PDT, Jian Li
dimich: review+
jianli: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jian Li 2010-10-14 11:33:24 PDT
FileReader.readAsDataURL should take Blob object, instead of File object, per latest spec.
  http://dev.w3.org/2006/webapi/FileAPI/#dfn-readAsDataURL
Comment 1 Jian Li 2010-10-14 12:05:01 PDT
Created attachment 70764 [details]
Proposed Patch
Comment 2 Dmitry Titov 2010-10-15 14:16:47 PDT
Comment on attachment 70764 [details]
Proposed Patch

r=me
Comment 3 Jian Li 2010-10-15 14:48:21 PDT
Committed as http://trac.webkit.org/changeset/69883.
Comment 4 Simon Fraser (smfr) 2010-10-15 15:37:41 PDT
Please use the changelog entry as the commit message in future.
Comment 5 Jian Li 2010-10-15 15:38:43 PDT
(In reply to comment #4)
> Please use the changelog entry as the commit message in future.

Will do. Thanks.