script::dom::bindings::proxyhandler

Function maybe_cross_origin_get_prototype

source
pub(crate) unsafe fn maybe_cross_origin_get_prototype(
    cx: JSContext,
    proxy: HandleObject,
    get_proto_object: unsafe fn(cx: JSContext, global: HandleObject<'_>, rval: MutableHandleObject<'_>),
    proto: MutableHandleObject,
) -> bool
Expand description

Implementation of [[GetPrototypeOf]] for Location.