Bug 940316 - Move werror to RuntimeOptions. r=jandem

This commit is contained in:
Bobby Holley
2014-07-11 08:30:47 -07:00
parent 318c988682
commit 24b8c2f6d2
10 changed files with 34 additions and 32 deletions

View File

@@ -4625,7 +4625,7 @@ GetPropertyHelperInline(JSContext *cx,
/*
* Don't warn in self-hosted code (where the further presence of
* JS::ContextOptions::werror() would result in impossible-to-avoid
* JS::RuntimeOptions::werror() would result in impossible-to-avoid
* errors to entirely-innocent client code).
*/
if (script->selfHosted())