Re: Conflicts between D3E and Web DOM Core

On Sat, Mar 12, 2011 at 9:00 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Fri, 11 Mar 2011 22:45:41 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> I agree that it seems very strange to allow uninitialized events to be
>> dispatched.
>
> What distinguishes an uninitialized event from an initialized event in your
> opinion?

One where the author has explicitly chosen a name for the event.

> A hidden "initEvent() invoked" flag? Or the WebKit model where
> Event.type must be non-empty before it can be dispatched? (I.e. it would be
> helpful if you replied to the email from Glenn Maynard.)

*shrug* that is less important to me. Events with an empty name seems
generally useless so that's fine to use as a flag. An internal flag
would also work.

/ Jonas

Received on Sunday, 13 March 2011 17:19:10 UTC