pub unsafe extern "C" fn GetNonCCWObjectGlobal(
    obj: *mut JSObject
) -> *mut JSObject
Expand description

Get the global object associated with an object’s realm. The object must not be a cross-compartment wrapper (because CCWs are shared by all realms in the compartment).