There has some changes to the way a custom element becomes :defined. Namely, when a custom element constructor throws an exception, the element is no longer considered as defined. Furthermore, we should not try to upgrade such an element when it's inserted back into a document. Update our implementation of custom elements per these spec changes.
Created attachment 287885 [details] Patch
Comment on attachment 287885 [details] Patch Thanks for the review.
Comment on attachment 287885 [details] Patch Clearing flags on attachment: 287885 Committed r205416: <http://trac.webkit.org/changeset/205416>
All reviewed patches have been landed. Closing bug.