pub(crate) fn reflect_dom_object_with_proto_and_cx<D, T, U>(
obj: Box<T>,
global: &U,
proto: Option<HandleObject<'_>>,
cx: &mut JSContext,
) -> DomRoot<T>Expand description
Create the reflector for a new DOM object and yield ownership to the reflector.