W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: Non-constructible constructors and Arrays

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 9 Sep 2011 10:16:24 -0700
Message-ID: <CA+c2ei-1NNyEqPgCsvgCwBWDcx_6+Fz+edpFUh6xLefFYwZTtw@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Cameron McCormack <cam@mcc.id.au>, Alex Russell <slightlyoff@google.com>, public-script-coord@w3.org, Brendan Eich <brendan@mozilla.com>
On Fri, Sep 9, 2011 at 2:00 AM, Anne van Kesteren <annevk@opera.com> wrote:
>> Not sure why that's a bad thing. Yes, HTML DOM can (and should!) do
>> something smarter, but this is clearly a step in the right direction.
> Why don't you make proposals for how existing specifications ought to
> change?
> As I said before, just saying everything can be constructed will just lead
> to a messy situation.

Somehow we also need to avoid the mistake of browsers releasing
unprefixed APIs which don't use constructors as they should. The touch
events spec is filled with silly document.createX functions that
should use constructors because Apple implemented it that way and
without a prefix. :(

/ Jonas
Received on Friday, 9 September 2011 17:17:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:04 UTC