On Thu, Apr 5, 2012 at 11:42 PM, Kinuko Yasuda <kinuko at chromium.org> wrote: > Does this actually need to be async? The only information you need to > create the Entry are the filename and the file type (file or directory), > which the browser can load before performing the drop, so no file I/O is > needed here. > > I wanted to make it synchronous, but determining the file type (file or > directory) usually requires blocking file I/O operation, which could spoil > the async nature of this proposal if we perform the blocking stat operation > on every drag-enter event. > This can be done before exposing the drop event to the page in the first place, though, which means it can still happen asynchronously. The same can be done for <input> file pickers. -- Glenn MaynardReceived on Friday, 6 April 2012 06:37:49 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT