AssertArgumentsAreSane

Function AssertArgumentsAreSane 

Source
pub unsafe extern "C" fn AssertArgumentsAreSane(
    cx: *mut JSContext,
    v: Handle<Value>,
)
Expand description

Assert that we’re not doing GC on cx, that we’re in a request as needed, and that the compartments for cx and v are correct. Also check that GC would be safe at this point.