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

Function ReportException

scripting/javascript/bindings/ScriptingCore.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82std::map<std::string, js::RootedObject*> globals;
83
84static void ReportException(JSContext *cx)
85{
86 if (JS_IsExceptionPending(cx)) {
87 if (!JS_ReportPendingException(cx)) {
88 JS_ClearPendingException(cx);
89 }
90 }
91}
92
93static void executeJSFunctionFromReservedSpot(JSContext *cx, JSObject *obj,
94 jsval &dataVal, jsval &retval) {

Callers 1

runScriptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected