| Deprecated Methods | 
| org.mozilla.javascript.Context.compileReader(Scriptable, Reader, String, int, Object) The method implementation simply calls
 Context.compileReader(Reader in, String sourceName, int lineno, Object securityDomain)ignoring scope argument. | 
| org.mozilla.javascript.FunctionObject.convertArg(Context, Scriptable, Object, Class) Use
 FunctionObject.getTypeTag(Class)andFunctionObject.convertArg(Context, Scriptable, Object, int)for type convertion. | 
| org.mozilla.javascript.SecurityController.execWithDomain(Context, Scriptable, Script, Object) The application should not override this method and instead
 override
 SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args). | 
| org.mozilla.javascript.ScriptableObject.getAttributes(int, Scriptable) Use
 ScriptableObject.getAttributes(int index). The engine always
 ignored the start argument. | 
| org.mozilla.javascript.ScriptableObject.getAttributes(String, Scriptable) Use
 ScriptableObject.getAttributes(String name). The engine always
 ignored the start argument. | 
| org.mozilla.javascript.EcmaError.getErrorObject() Always returns result of
 Context.getUndefinedValue(). | 
| org.mozilla.javascript.Context.getWrapHandler() As of Rhino 1.5 Release 4, use
 WrapFactoryandContext.getWrapFactory() | 
| org.mozilla.javascript.ScriptableObject.setAttributes(int, Scriptable, int) Use
 ScriptableObject.setAttributes(int index, int attributes).
 The engine always ignored the start argument. | 
| org.mozilla.javascript.ScriptableObject.setAttributes(String, Scriptable, int) Use
 ScriptableObject.setAttributes(String name, int attributes).
 The engine always ignored the start argument. | 
| org.mozilla.javascript.Context.setCachingEnabled(boolean) To enable/disable caching for a particular top scope,
 use
 ClassCache.get(Scriptable)andClassCache.setCachingEnabled(boolean).
 The function is kept only for compatibility and does nothing. | 
| org.mozilla.javascript.Context.setWrapHandler(WrapHandler) As of Rhino 1.5 Release 4, use
 WrapFactoryandContext.setWrapFactory(WrapFactory) | 
| org.mozilla.javascript.Context.toObject(Object, Scriptable, Class) Use
 Context.toObject(Object, Scriptable)instead. | 
| org.mozilla.javascript.WrappedException.unwrap() Use
 WrappedException.getWrappedException()instead. |