Function script::dom::bindings::import::module::jsapi::EvaluateUtf8Path

source ยท
pub unsafe extern "C" fn EvaluateUtf8Path(
    cx: *mut JSContext,
    options: *const ReadOnlyCompileOptions,
    filename: *const i8,
    rval: MutableHandle<Value>,
) -> bool
Expand description

Evaluate the UTF-8 contents of the file at the given path, and return the completion value in |rval|. (The path itself is UTF-8 encoded, too.) If the contents contain any malformed UTF-8, an error is reported.