Re: Defining a constructor for Element and friends

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:28 UTC