Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Obsolete since JSAPI 12
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.

Lock the JS run-time environment.

Syntax

void JS_Lock(JSRuntime *rt);
Name Type Description
rt JSRuntime * Pointer to the runtime to lock.

Description

JS_Lock is a deprecated API; don't use it.

See also

Document Tags and Contributors

 Contributors to this page: fscholz, ethertank, tschneidereit, Jorend, Dria, MMondor, Nickolay, Tservo
 Last updated by: fscholz,