- From: Rob Brackett <notifications@github.com>
- Date: Fri, 12 Aug 2016 13:43:16 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 12 August 2016 20:43:46 UTC
Seeing the above example, it also occurs to me that: a) any given custom element is likely to be used more than once on a page and b) its definition will often be loaded asynchronously, so when @domenic's case (1) occurs, it'll probably occur *many* times. That is, if an author passes an invalid constructor to `customElements.define()`, they might suddenly see 10 or 20 error events on `window` show up at once. That doesn’t seem so great. -- 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/541#issuecomment-239554922
Received on Friday, 12 August 2016 20:43:46 UTC