cross_origin_set

Function cross_origin_set 

Source
pub(crate) unsafe fn cross_origin_set<D: DomTypes>(
    cx: &mut CurrentRealm<'_>,
    proxy: HandleObject<'_>,
    id: HandleId<'_>,
    v: HandleValue,
    receiver: HandleValue<'_>,
    result: *mut ObjectOpResult,
) -> bool
Expand description

Implementation of CrossOriginSet.

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