hi, my apologies in advance if this has already been noted. i recently was introduced to http://dev.w3.org/2006/webapi/FileAPI/ and noticed that the first example appears to have the following race condition: in getAsText, reader.readAsText occurs before any event callbacks are set, so if the completion occurs after read.readAsText(...) and reader.onprogress = ..., .onload = ... etc, then no callbacks will ever get called. or am i misunderstanding the way the callbacks are supposed to work -- i.e., they're level triggered and not edge triggered? (i'd imagine onprogress shouldn't be level triggered.) -bsy -- bennet s yee i usually don't capitalize due to mild tendonitisReceived on Thursday, 5 November 2009 16:09:57 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:22 GMT