This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
If Firefox process failed to start, FirefoxDriver enters the endless loop waiting for it to start #7609
Open
Description
Originally reported on Google Code with ID 7609
I have noticed the following:
* Supposing firefox binary when launched, crashes immediately (e.g. missing symbols).
* FirefoxDriver calls stopClient(), which after few intermediate functions, calls CommandLine.destroy(),
which calls UnixProcess.destroy() which in first place calls watchdog.waitForProcessStarted().
And that causes looping forever waiting for process to start, while it has already
finished.
I think correct code for CommandLine.destroy() should be:
public int destroy() {
if (isRunning()) {
return process.destroy();
}
}
Reported by Dmitry.Katsubo
on 2014-07-15 15:24:09