only call internal functions if they are actually defined
for the object we're calling them on.
This commit is contained in:
parent
d4072eed2b
commit
4a83d1390a
1 changed files with 3 additions and 1 deletions
|
@ -489,6 +489,8 @@ public class RequestEvaluator implements Runnable {
|
||||||
current = esu;
|
current = esu;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// call internal functions only if they're specified
|
||||||
|
if (current.getProperty (method, method.hashCode()) != ESUndefined.theUndefined)
|
||||||
esresult = current.doIndirectCall (evaluator, current, method, new ESValue[0]);
|
esresult = current.doIndirectCall (evaluator, current, method, new ESValue[0]);
|
||||||
commitTransaction ();
|
commitTransaction ();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue