- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Tue, 27 Apr 2010 00:58:05 +0300
- To: Jian Li <jianli@chromium.org>
- CC: Web Applications Working Group WG <public-webapps@w3.org>
On 4/21/10 1:51 AM, Jian Li wrote: > According to the spec, we will dispatch a progress event for a read > method. But per the "Progress Events 1.0" spec, the attributes "loaded" > and "total" are defined as "unsigned long". > interface ProgressEvent : events::Event { > ... > readonly attribute unsigned long loaded; > readonly attribute unsigned long total; > ... > > The type "unsigned long" is not enough to represent the file size. Do we > want to update the Progress Event spec to use "unsigned long long"? Or > we could limit the FileReader to only read from the file with size less > than MAX_UINT. > > > Jian > > > http://dev.w3.org/2006/webapi/progress/Progress.html loaded is long long and so is total too. -Olli
Received on Monday, 26 April 2010 22:12:14 UTC