зеркало из https://github.com/mozilla/gecko-dev.git
Fix name of function in error message
This commit is contained in:
Родитель
ed25d08c21
Коммит
2eb21c32b3
|
@ -1544,7 +1544,7 @@ public abstract class ScriptableObject implements Scriptable, Serializable {
|
||||||
try {
|
try {
|
||||||
Object fun = getProperty(obj, methodName);
|
Object fun = getProperty(obj, methodName);
|
||||||
if (fun == NOT_FOUND)
|
if (fun == NOT_FOUND)
|
||||||
fun = Undefined.instance;
|
fun = methodName;
|
||||||
return ScriptRuntime.call(cx, fun, obj, args, getTopLevelScope(obj));
|
return ScriptRuntime.call(cx, fun, obj, args, getTopLevelScope(obj));
|
||||||
} finally {
|
} finally {
|
||||||
Context.exit();
|
Context.exit();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче