Bug 1272639 - Remove debug logging; r?jgriffin
MozReview-Commit-ID: 95bQjH6FNnD
--- 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