I can change it for the sake of the test, but won't affect the outcome of this bug.

> On May 18, 2014, at 11:22 PM, "Scott J. Miles" <notifications@github.com> wrote:
> 
> In test/js/upgrade.js:
> 
> > @@ -114,6 +114,20 @@ suite('upgradeElements', function() {
> >      });
> >    });
> >  
> > +  test('__proto__ property isnt leaked as enumerable', function() {
> > +    document.registerElement('x-button2', {
> > +      prototype: Object.create(HTMLElement.prototype),
> It's an application error to extend HTMLElement.prototype and then declare yourself an extension of button. To extend button, the correct base prototype must be HTMLButtonElement.prototype.
> 
> —
> Reply to this email directly or view it on GitHub.