Function js::jsapi::GetCodeCoverageSummary [] [src]

pub unsafe extern "C" fn GetCodeCoverageSummary(
    cx: *mut JSContext,
    length: *mut usize
) -> *mut c_char

Generate lcov trace file content for the current compartment, and allocate a new buffer and return the content in it, the size of the newly allocated content within the buffer would be set to the length out-param.

In case of out-of-memory, this function returns nullptr and does not set any value to the length out-param.