This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Description
I saw today that custom elements created with webcomponents.js have a constructor property of HTMLUnknownElementConstructor in Safari and HTMLUnknownElement in IE.
Is this an unavoidable side-effect of the polyfill? I would expect it to be the same constructor returned by document.registerElement.
Test code:
var ATag = document.registerElement('a-tag', { prototype: HTMLElement });
var aTag = new ATag();
aTag instanceof ATag // true in Safari, Chrome, etc
aTag.constructor === ATag // false in Safari and IE, but true in Firefox, Chrome