Obsolete since JSAPI 18
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
This article covers features introduced in SpiderMonkey 1.8.1
Leave a the compartment, returning to the compartment active before the corresponding JS_EnterCrossCompartmentCall.
void JS_LeaveCrossCompartmentCall(JSCrossCompartmentCall *call);
||Value returned by previous call to JS_EnterCrossCompartmentCall.|
JSContexthas a current compartment. Any access to an object in a different compartment must be bracketed by call