Re: Conflicts between D3E and Web DOM Core

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