- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 29 Sep 2017 23:55:51 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 29 September 2017 23:56:13 UTC
No, `customElements.whenDefined(tp.content.lastChild).catch(console.error);` would never resolve or reject or throw because `af-ter` is a valid custom element for which its definition might come in later asynchronously. I'm suggesting that if you passing a div element, an element without `-`, etc... that can't possibly a custom element, we would return a rejected promise. -- 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/671#issuecomment-333264761
Received on Friday, 29 September 2017 23:56:13 UTC