Bug 1272639 - Remove debug logging; r=jgriffin a=test-only
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 13 May 2016 13:12:46 +0100
changeset 333241 fa7b938306444925723b7f53dae21608c3a7ae41
parent 333240 d9a268310116151364c10b7f2d91c3bef687ffe5
child 333242 35c64e20fc9a4cb80627abf9ca24dc0fe231273f
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin, test-only
bugs1272639
milestone48.0a2
Bug 1272639 - Remove debug logging; r=jgriffin a=test-only MozReview-Commit-ID: 95bQjH6FNnD
testing/marionette/browser.js
testing/marionette/driver.js
--- a/testing/marionette/browser.js
+++ b/testing/marionette/browser.js
@@ -28,17 +28,16 @@ const XUL_NS = "http://www.mozilla.org/k
  * @param {nsIDOMWindow} win
  *     The window whose browser needs to be accessed.
  * @param {GeckoDriver} driver
  *     Reference to the driver the browser is attached to.
  */
 browser.Context = class {
 
   constructor(win, driver) {
-    logger.info("Context ctor");
     this.browser = undefined;
     this.window = win;
     this.driver = driver;
     this.knownFrames = [];
     this.startPage = "about:blank";
     // used in B2G to identify the homescreen content page
     this.mainContentId = null;
     // used to set curFrameId upon new session
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -276,19 +276,17 @@ GeckoDriver.prototype.addFrameCloseListe
  *
  * @param {nsIDOMWindow} win
  *     Window for which we will create a browsing context.
  *
  * @return {string}
  *     Returns the unique server-assigned ID of the window.
  */
 GeckoDriver.prototype.addBrowser = function(win) {
-  logger.info("addBrowser");
   let bc = new browser.Context(win, this);
-  logger.info("bc=" + bc);
   let winId = win.QueryInterface(Ci.nsIInterfaceRequestor)
       .getInterface(Ci.nsIDOMWindowUtils).outerWindowID;
   winId = winId + ((this.appName == "B2G") ? "-b2g" : "");
   this.browsers[winId] = bc;
   this.curBrowser = this.browsers[winId];
   if (typeof this.curBrowser.elementManager.seenItems[winId] == "undefined") {
     // add this to seenItems so we can guarantee
     // the user will get winId as this window's id