pub fn reflect_dom_object_with_proto<D, T, U>( cx: &mut JSContext, obj: Box<T>, global: &U, proto: Option<Handle<'_, *mut JSObject>>, ) -> Root<Dom<T>>where D: DomTypes, T: DomObject + DomObjectWrap<D>, U: DerivedFrom<<D as DomTypes>::GlobalScope>,