This article needs a technical review. How you can help.
This article covers features introduced in SpiderMonkey 31
Retrieve a pointer to the parent
JSRuntime * JS_GetParentRuntime(JSContext *cx);
||The context to query.|
JS_GetParentRuntime retrieves a pointer to the parent
JSRuntime of the runtime for a specified
JSContext. If the
cx's runtime has no parent runtime,
cx's runtime itself.