fn run_upgrade_constructor( constructor: &Rc<CustomElementConstructor>, element: &Element, can_gc: CanGc, ) -> Result<(), Error>
https://html.spec.whatwg.org/multipage/#concept-upgrade-an-element Steps 8.1-8.3