[w3c/webcomponents] HTML element constructors need to Get(newTarget, "Prototype") (#560)

The [current spec says](https://html.spec.whatwg.org/#html-element-constructors) HTMLElement constructor needs to use the [prototype](https://html.spec.whatwg.org/#concept-custom-element-definition-prototype) stored by `customElements.define`.

This is not the way regular constructor works in a `super()` call.  Furthermore, this semantics is really cumbersome to implement in WebKit / JSC due to the way our engine's abstractions are designed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/560

Received on Wednesday, 31 August 2016 07:31:25 UTC