Fix bug 657: Report warnings as error when strictVars app property is set to true.
This commit is contained in:
parent
829d4ead3c
commit
f83909c67d
1 changed files with 1 additions and 0 deletions
|
@ -1146,6 +1146,7 @@ public final class RhinoCore implements ScopeProvider {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case Context.FEATURE_STRICT_VARS:
|
case Context.FEATURE_STRICT_VARS:
|
||||||
|
case Context.FEATURE_WARNING_AS_ERROR:
|
||||||
return strictVars;
|
return strictVars;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue