Registering new internal components is not checking that component domain is not taken
Description
Registering external components checks that the requested domain is not taken. But the same checking is not done when registering internal components. Therefore, it is possible to register a new internal component and specify a domain that was already being used by another component. The consequence of this is that the previousl y registered component is unregisterd.
Registering external components checks that the requested domain is not taken. But the same checking is not done when registering internal components. Therefore, it is possible to register a new internal component and specify a domain that was already being used by another component. The consequence of this is that the previousl y registered component is unregisterd.