Bug 1302707 - Set the default page loading- and script timeout; r?automatedtester
The WebDriver specification mandates that the page loading timeout must
be five minutes, and the script timeout 30 seconds.
MozReview-Commit-ID: E82jGXCb2ch
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -99,19 +99,19 @@ this.GeckoDriver = function(appName, sto
this.stopSignal_ = stopSignal;
this.sessionId = null;
this.wins = new browser.Windows();
this.browsers = {};
// points to current browser
this.curBrowser = null;
this.context = Context.CONTENT;
- this.scriptTimeout = null;
+ this.scriptTimeout = 30000; // 30 seconds
this.searchTimeout = null;
- this.pageTimeout = null;
+ 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;
this.mainContentFrameId = null;