fn get_callback(
    cx: JSContext,
    prototype: HandleObject<'_>,
    name: &[u8]
) -> Result<Option<Rc<Function>>, Error>
Expand description

https://html.spec.whatwg.org/multipage/#dom-customelementregistry-define Step 14.4: Get callbackValue for all callbackName in lifecycleCallbacks.