W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: Unclear behavior of dictionary member default values

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 9 Jun 2012 16:03:07 +0100
Message-ID: <CA+c2ei9+gC0fD2ZnCHqsTrNtV3m+x_O2_zh8+BpD2v4wzYdshw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC