Bug 1059079 - Up mozrunner timeout and add watch for new homescreen name; r=ahal r=mdas

--HG--
extra : rebase_source : 1dc65791e0d66d91cd705df513f123c898bba7a1
This commit is contained in:
Kyle Machulis 2014-08-27 21:01:28 -07:00
Родитель 452147896e
Коммит f6a905c4af
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -208,11 +208,11 @@ waitFor(
log('waiting for mozbrowserloadend');
window.addEventListener('mozbrowserloadend', function loaded(aEvent) {
log('received mozbrowserloadend for ' + aEvent.target.src);
if (aEvent.target.src.indexOf('ftu') != -1 || aEvent.target.src.indexOf('homescreen') != -1) {
if (aEvent.target.src.indexOf('ftu') != -1 || aEvent.target.src.indexOf('homescreen') != -1 || aEvent.target.src.indexOf('verticalhome') != -1) {
window.removeEventListener('mozbrowserloadend', loaded);
marionetteScriptFinished();
}
});""", script_timeout=120000)
});""", script_timeout=300000)
print '...done'
def _get_telnet_response(self, command=None):