Bug 87585 - [FileAPI] FileReader should fire progress event when blob has been completely read into memory
Summary: [FileAPI] FileReader should fire progress event when blob has been completely...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-26 20:58 PDT by Li Yin
Modified: 2012-05-27 00:34 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.42 KB, patch)
2012-05-26 22:14 PDT, Li Yin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Li Yin 2012-05-26 20:58:14 PDT
From spec: http://www.w3.org/TR/FileAPI/#dfn-progress-event
One progress event will fire when blob has been completely read into memory.

Firefox, Opera and IE follows the spec.
Webkit based browser doesn't do that, it only fires progress event at interval of 50ms.
WebKit should add the behavior to make the conformance with the spec.
Comment 1 Li Yin 2012-05-26 22:14:14 PDT
Created attachment 144217 [details]
Patch
Comment 2 Kentaro Hara 2012-05-26 23:40:46 PDT
Comment on attachment 144217 [details]
Patch

Looks OK. Thanks for improving the conformance with the spec.
Comment 3 WebKit Review Bot 2012-05-27 00:34:18 PDT
Comment on attachment 144217 [details]
Patch

Clearing flags on attachment: 144217

Committed r118622: <http://trac.webkit.org/changeset/118622>
Comment 4 WebKit Review Bot 2012-05-27 00:34:23 PDT
All reviewed patches have been landed.  Closing bug.