Fix bug 657: Report warnings as error when strictVars app property is set to true.

This commit is contained in:
hns 2009-02-18 09:24:33 +00:00
parent 829d4ead3c
commit f83909c67d

View file

@ -1146,6 +1146,7 @@ public final class RhinoCore implements ScopeProvider {
return true;
case Context.FEATURE_STRICT_VARS:
case Context.FEATURE_WARNING_AS_ERROR:
return strictVars;
default: