Skip to main content

cross_origin_property_fallback

Function cross_origin_property_fallback 

Source
pub fn cross_origin_property_fallback<D>(
    cx: &mut CurrentRealm<'_>,
    _proxy: Handle<'_, *mut JSObject>,
    id: Handle<'_, PropertyKey>,
    desc: MutableHandle<'_, PropertyDescriptor>,
    is_none: &mut bool,
) -> bool
where D: DomTypes,
Expand description

Implementation of CrossOriginPropertyFallback.

cx and proxy are expected to be different-Realm here. proxy is a proxy for a maybe-cross-origin object.