Back out bug 940305 (too spammy)
authorBill McCloskey <wmccloskey@mozilla.com>
Sat, 08 Mar 2014 13:04:11 -0800
changeset 172649 7fec954d58b650fedc8c39c5db83f754d65821b6
parent 172648 64b582140fc17d23373ed81dd506d362f4349401
child 172650 f656d2fd42644436d984504570af35e6d57bc5ec
push id40795
push userwmccloskey@mozilla.com
push dateSat, 08 Mar 2014 21:04:54 +0000
treeherdermozilla-inbound@7fec954d58b6 [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);