W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Defining a constructor for Element and friends

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 14 Jan 2015 12:56:05 +0100
Message-ID: <CADnb78h8bFpFbTQVU+D2pzbS5RekP-XDi_d0kPaPteS+gQ_KkA@mail.gmail.com>
To: Domenic Denicola <d@domenic.me>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, WebApps WG <public-webapps@w3.org>, "www-dom@w3.org" <www-dom@w3.org>
On Wed, Jan 14, 2015 at 5:26 AM, Domenic Denicola <d@domenic.me> wrote:
> How do you propose having a private constructor API?

Same as how we explain Window, Navigator, and friends, no? By
requiring that UAs pass in a magic token web developers cannot get a
hold of.


> This is one of those "only makes sense to a C++ programmer" things.

I thought we got past that reasoning a while ago.


-- 
https://annevankesteren.nl/
Received on Wednesday, 14 January 2015 11:56:31 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC