MCPcopy Create free account
hub / github.com/9miao/CrossApp / reportError

Method reportError

scripting/javascript/bindings/ScriptingCore.cpp:592–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void ScriptingCore::reportError(JSContext *cx, const char *message, JSErrorReport *report)
593{
594 js_log("%s:%u:%s\n",
595 report->filename ? report->filename : "<no filename=\"filename\">",
596 (unsigned int) report->lineno,
597 message);
598};
599
600
601JSBool ScriptingCore::log(JSContext* cx, uint32_t argc, jsval *vp)

Callers

nothing calls this directly

Calls 1

js_logFunction · 0.85

Tested by

no test coverage detected