Define 10.6.1 says to rethrow exceptions from converting observedAttributes to sequence<DOMString> |
|||||
Issue descriptionWebKit tests indicate Chrome canary doesn't do this correctly.
,
Oct 12 2016
,
Oct 25 2016
I don't see this failure in our imported tests. Closing.
,
Oct 25 2016
Reopening this, failure example at: http://codepen.io/anon/pen/WGmObZ This should throw an exception from define, but it does not. 'use strict'; let attrs = {}; attrs[Symbol.iterator] = function*() { throw 'bar'; } class X extends HTMLElement { static get observedAttributes() { console.log('retrieving attrs'); return attrs; } attributeChangedCallback(name) { console.log(`${name} changed`) } } customElements.define('x-x', X);
,
Oct 26 2016
This should be fixed by bashi's patch 19f37fd06b24d3af5e84f019e561d18c125a29e9 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dominicc@chromium.org
, Sep 21 2016