|
|
|
[
Permlink
| « Hide
]
Jennifer Bevan - 09/Nov/07 05:11 PM
I don't have a good test to expose this yet, but I did need an issue ID number for tracking purposes.
I think this bug is a little bit more serious that suggested here. If the server is ended prematurely (using CTRL+C, which may be the only option for a failed test that isn't going to return data to the server), the Proxy settings have been overwritten and are not restored to their original state. Depending on your proxy restrictions, this could disable all other web browsing activities in all new Internet Explorer instances.
If the app fails or is ended, at least restore the original registry key for the proxy. The registry key in question here is described at: http://support.microsoft.com/kb/819961/ This is the preliminary patch that ensures that the environment is restored if browser launch fails. Note the similarity in the change. Moving the logic in launch() up to AbstractBrowserLauncher would be a good way to enforce this across all the other launchers.
This is the much larger patch with the refactoring done. Note that this only deals with BrowserLaunchers that extend AbstractBrowserLauncher: it does not therefore cover the HTABrowserLauncher.
The unit tests for the changed files pass, it builds, but I haven't run through the functional tests yet. I will start testing this on *chrome/linux, *iexplore/winxp, and *safari/macos; others will want to try this on other configurations (or our new continuous integration system :)) -Jen |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||