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

Re: Unclear behavior of dictionary member default values

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 10 Jun 2012 08:57:40 +0200
Message-ID: <CADnb78iKKZ8CFnJWUEMZDzqkoPmiKO8JZ8b-bJrFspa=E=ye4A@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org
On Sat, Jun 9, 2012 at 5:03 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> 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?

Right, meaning you cannot use dictionaries to define the default
attribute values of those interfaces.


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/
Received on Sunday, 10 June 2012 06:58:09 UTC

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