History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-502
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Andras Hatvani
Reporter: Marcelo Farias
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

-Dhttp.proxyHost generates invalid proxy.pac file

Created: 22/Jul/08 07:44 AM   Updated: 18/Nov/08 03:32 PM
Component/s: Launcher - Firefox
Affects Version/s: None
Fix Version/s: None

Original Estimate: 0.08h Remaining Estimate: 0.08h Time Spent: Unknown
Environment: Running through CubicTest, inside Eclipse Europa.


 Description  « Hide
The algorithm in LaucherUtils.makeProxyPAC method generates invalid proxy.pac files when the -Dhttp.proxyHost property is setted. The generated file is as follows:

----
function FindProxyForURL(url, host) {
        return 'PROXY localhost:1042; PROXY wwwproxy:80';
    } else {
        return 'PROXY wwwproxy:80';
}
----

The 'else' block is generated even if there is no preceding 'if' clause.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.