This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When writing unit tests, I'd like to be able to unregister a component, so that I can test various scenarios of the registration process. The spec doesn't deal at all with removal of custom elements. I'm writing code that actually performs element registration depending on backbone configurations, if that helps with context.
I think the solution is in being able to create/discard registries. See bug 24578.
Would using separate iframes be enough for testing?
(In reply to Olli Pettay from comment #2) > Would using separate iframes be enough for testing? Yes, existing test frameworks use iframes.
https://github.com/Polymer/web-component-tester
Moved to https://github.com/w3c/webcomponents/issues/152