On Nov 18, 2009, at 10:30 , Anne van Kesteren wrote:
On Wed, 18 Nov 2009 02:30:16 +0100, Arun Ranganathan <[email protected]> wrote:
>> I think that just as the names 'load*' were chosen for generic data transfer 
>> events (either networked or within a document), and are used within 
>> documents loaded in the DOM, XHR, and FileReader, we'll need reusable 
>> 'write*' events.  Without bikeshedding too much, I like your proposal above, 
>> but wonder whether we should use the name 'write*' or something else.  Since 
>> we already have document.write, 'write' is probably the most vetted string 
>> to use here :)
> 
> For what it's worth, for XMLHttpRequest "sending" events (which are arguably 
> somewhat like write) we still use loadstart/... and simply dispatch them on a 
> distinct object. I've no idea what the file writer API will look like, but I 
> can imagine we might be able to do the same there.

Yes, that's what I would expect too. We've been down this road of trying to 
change event names to reflect the reality of their triggering, and last time 
around we found that it was better to change the definition and keep the name 
rather than change the name. And since we're using consistency with XHR for 
File, we should use load events in the same manner.

--
Robin Berjon
  robineko — hired gun, higher standards
  http://robineko.com/





Reply via email to