Temporarily disable the Spidermonkey warnings for release

This was SVN commit r15127.
This commit is contained in:
sanderd17 2014-05-07 19:42:12 +00:00
parent 83b6175358
commit db0376fdc2

View File

@ -637,7 +637,8 @@ ScriptInterface_impl::ScriptInterface_impl(const char* nativeScopeName, const sh
JS_SetErrorReporter(m_cx, ErrorReporter);
u32 options = 0;
options |= JSOPTION_EXTRA_WARNINGS; // "warn on dubious practice"
// FIXME is temporarily disabled for release, but should be reenabled again
// options |= JSOPTION_EXTRA_WARNINGS; // "warn on dubious practice"
// We use strict mode to encourage better coding practices and
//to get code that can be optimized better by Spidermonkey's JIT compiler.
options |= JSOPTION_STRICT_MODE;