- From: Glenn Maynard <glenn@zewt.org>
- Date: Sat, 12 Mar 2011 18:02:39 -0500
- To: Olli@pettay.fi
- Cc: Olli Pettay <Olli.Pettay@helsinki.fi>, Jacob Rossi <jrossi@microsoft.com>, Anne van Kesteren <annevk@opera.com>, "www-dom@w3.org" <www-dom@w3.org>
On Sat, Mar 12, 2011 at 5:23 PM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote: > In Gecko the event is dispatched just normally in that case. > But because the event isn't initialized to "", or null, or anything else, no > listener for it can be called. Gecko seems unique in having this state, where accessing event.type before initEvent throws an exception. I'd suggest it should be set to "" initially, as other browsers do. For example, this causes "for(x in ev) console.log(ev[x])" to fail in cases that work in other browsers. -- Glenn Maynard
Received on Saturday, 12 March 2011 23:03:12 UTC