Backout 40b7a74be389 due to wrong bug number in commit message
authorMark Hammond <mhammond@skippinet.com.au>
Fri, 09 Jan 2015 09:56:25 +1100
changeset 248725 61caab4a0f6aa1f02481942a8513277d172035ca
parent 248724 26575d4adb94dbc4f78400f6db1484b8611f34b8
child 248726 dec611deed2a0c27c0d23fdd8382b6ad1f43484f
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone37.0a1
backs out40b7a74be389962aa1618972f4266f8918bf3544
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
Backout 40b7a74be389 due to wrong bug number in commit message
testing/xpcshell/head.js
--- a/testing/xpcshell/head.js
+++ b/testing/xpcshell/head.js
@@ -106,40 +106,16 @@ try {
           .getService(Components.interfaces.nsICrashReporter)) {
       crashReporter.UpdateCrashEventsDir();
       crashReporter.minidumpPath = do_get_minidumpdir();
     }
   }
 }
 catch (e) { }
 
-// Configure a console listener so messages sent to it are logged as part
-// of the test.
-try {
-  let levelNames = {}
-  for (let level of ["debug", "info", "warn", "error"]) {
-    levelNames[Components.interfaces.nsIConsoleMessage[level]] = level;
-  }
-
-  let listener = {
-    QueryInterface : function(iid) {
-      if (!iid.equals(Components.interfaces.nsISupports) &&
-          !iid.equals(Components.interfaces.nsIConsoleListener)) {
-        throw Components.results.NS_NOINTERFACE;
-      }
-      return this;
-    },
-    observe : function (msg) {
-      do_print("CONSOLE_MESSAGE: (" + levelNames[msg.logLevel] + ") " + msg.toString());
-    }
-  };
-  Components.classes["@mozilla.org/consoleservice;1"]
-            .getService(Components.interfaces.nsIConsoleService)
-            .registerListener(listener);
-} catch (e) {}
 /**
  * Date.now() is not necessarily monotonically increasing (insert sob story
  * about times not being the right tool to use for measuring intervals of time,
  * robarnold can tell all), so be wary of error by erring by at least
  * _timerFuzz ms.
  */
 const _timerFuzz = 15;