Function mozjs_sys::jsapi::JS::SetBrittleMode
source ยท pub unsafe extern "C" fn SetBrittleMode(
cx: *mut JSContext,
setting: bool,
) -> bool
Expand description
Transition the cx to a mode where failures that would normally cause a false return value will instead crash with a diagnostic assertion.
Return value: the former brittle mode setting.