script_bindings::proxyhandler

Function cross_origin_get

Source
pub(crate) fn cross_origin_get<D: DomTypes>(
    cx: JSContext,
    proxy: HandleObject,
    receiver: HandleValue,
    id: HandleId,
    vp: MutableHandleValue,
) -> bool
Expand description

Implementation of CrossOriginGet.

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