Bug 1316622 - Make implicit wait timeout default to 0; r?automatedtester
The WebDriver specification mandates that the implicit wait timeout should
default to 0 (off), which in Marionette has the same effect as null.
MozReview-Commit-ID: Ca3RxO7gHv8
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -105,17 +105,17 @@ this.GeckoDriver = function(appName, ser
this.sessionId = null;
this.wins = new browser.Windows();
this.browsers = {};
// points to current browser
this.curBrowser = null;
this.context = Context.CONTENT;
this.scriptTimeout = 30000; // 30 seconds
- this.searchTimeout = null;
+ this.searchTimeout = 0;
this.pageTimeout = 300000; // five minutes
this.timer = null;
this.inactivityTimer = null;
this.marionetteLog = new logging.ContentLogger();
// topmost chrome frame
this.mainFrame = null;
// chrome iframe that currently has focus
this.curFrame = null;