Back out bug 940305 (too spammy)
authorBill McCloskey <wmccloskey@mozilla.com>
Sat, 08 Mar 2014 13:04:11 -0800
changeset 190878 7fec954d58b650fedc8c39c5db83f754d65821b6
parent 190877 64b582140fc17d23373ed81dd506d362f4349401
child 190879 f656d2fd42644436d984504570af35e6d57bc5ec
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs940305
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Back out bug 940305 (too spammy)
js/xpconnect/src/XPCJSContextStack.cpp
--- a/js/xpconnect/src/XPCJSContextStack.cpp
+++ b/js/xpconnect/src/XPCJSContextStack.cpp
@@ -171,19 +171,16 @@ XPCJSContextStack::InitSafeJSContext()
     if (!rt)
         MOZ_CRASH();
 
     mSafeJSContext = JS_NewContext(rt, 8192);
     if (!mSafeJSContext)
         MOZ_CRASH();
     JSAutoRequest req(mSafeJSContext);
     ContextOptionsRef(mSafeJSContext).setNoDefaultCompartmentObject(true);
-#ifdef DEBUG
-    ContextOptionsRef(mSafeJSContext).setExtraWarnings(true);
-#endif
 
     JS_SetErrorReporter(mSafeJSContext, xpc::SystemErrorReporter);
 
     JS::CompartmentOptions options;
     options.setZone(JS::SystemZone);
     mSafeJSContextGlobal = CreateGlobalObject(mSafeJSContext,
                                               &SafeJSContextGlobalClass,
                                               principal, options);