Yes please. :)


On Mon, Mar 24, 2014 at 11:04 AM, Zeno Rocha <notifications@github.com>wrote:

> In test/js/customElements.js:
>
> > @@ -36,6 +36,15 @@
> >      assert.ok(false, 'document.registerElement failed to throw when given no arguments');
> >    });
> >
> > +  test('document.registerElement requires name argument to not conflict with an existing element', function() {
> > +    try {
> > +      document.registerElement('font-face', {prototype: Object.create(HTMLElement.prototype)});
> > +    } catch(x) {
> > +      return;
> > +    }
> > +    assert.ok(false, 'document.registerElement failed to throw when given no arguments');
>
> Done.
>
> I tested other functions in the browser like document.registerElement();and the error message is different. Should I send a PR updating those
> messages?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Polymer/CustomElements/pull/106/files#r10897318>
> .
>