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

--HG--
extra : rebase_source : e1015cbf1cb01b7b48948592be9a022b87670118
This commit is contained in:
Andreas Tolfsen 2016-09-28 17:32:36 +01:00
Родитель b2605976f0
Коммит b4bfad9e93
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -104,9 +104,9 @@ this.GeckoDriver = function(appName, stopSignal) {
// 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();