Re: Defining a constructor for Element and friends

Anne van Kesteren <[email protected]> Wed, 14 Jan 2015 12:56:05 +0100
Newsgroups gmane.comp.web.dom.general,gmane.org.w3c.webapps
Message-ID <CADnb78h8bFpFbTQVU+D2pzbS5RekP-XDi_d0kPaPteS+gQ_KkA@mail.gmail.com>
On Wed, Jan 14, 2015 at 5:26 AM, Domenic Denicola <[email protected]> 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/