Function mozjs_sys::jsapi::JS_MarkCrossZoneId
source ยท pub unsafe extern "C" fn JS_MarkCrossZoneId(
cx: *mut JSContext,
id: jsid,
)
Expand description
Mark a jsid after entering a new compartment. Different zones separately mark the ids in a runtime, and this must be used any time an id is obtained from one compartment and then used in another compartment, unless the two compartments are guaranteed to be in the same zone.