зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
452147896e
Коммит
f6a905c4af
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче