pub unsafe fn cross_origin_set<D>(
cx: &mut CurrentRealm<'_>,
proxy: Handle<'_, *mut JSObject>,
id: Handle<'_, PropertyKey>,
v: Handle<Value>,
receiver: Handle<'_, Value>,
result: *mut ObjectOpResult,
) -> boolwhere
D: DomTypes,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.
ยงSafety
result must point to a valid, non-null ObjectObResult.