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

Re: Why are dictionary-typed attributes not allowed?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 7 Jun 2012 07:19:51 +0200
Message-ID: <CADnb78hKiQHQ0Q1pmFn391LZNQkqjRmFjDnJmRDk6Zo4uuGzjQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-script-coord@w3.org
On Thu, Jun 7, 2012 at 6:35 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> WebIDL allows passing dictionaries to methods and returning dictionaries
> from methods.  Why are dictionary-typed attributes not allowed?

How would it be different from returning an object that implements an interface?


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/
Received on Thursday, 7 June 2012 05:20:23 UTC

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