Re: Unclear behavior of dictionary member default values

On Sat, Jun 9, 2012 at 6:57 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Sat, Jun 9, 2012 at 12:32 AM, Jonas Sicking <jonas@sicking.cc> wrote:
>> On Fri, Jun 8, 2012 at 1:31 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
>>> Yeah maybe. That would not work for the event interfaces that can be
>>> instantiated with document.createEvent().
>>
>> Why not?
>
> How would you see that working?

Sorry, I was being too short. Events created using createEvent doesn't
use dictionaries at all since they are initialized using the old

var myevent = document.createEvent("...");
myevent.initXEvent(...);

where initXEvent doesn't take any dictionary members. Or am I missing something?

/ Jonas

Received on Saturday, 9 June 2012 15:04:55 UTC