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

Key: SRC-364
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Dan Fabulich
Votes: 0
Watchers: 0
Operations

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

Can't disable proxy PAC on Safari/Mac

Created: 10/Oct/07 05:42 PM   Updated: 12/Aug/08 05:37 PM
Component/s: Launcher - Safari
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
On Safari, the only non-root tool we can use to configure the network settings is "networksetup", which lives in /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support.

That tool allows you to set a hard-coded web proxy, but it has no effect if the user has configured their network service to use a PAC file; the PAC file overrides any settings specified by networksetup. "networksetup" provides no way to turn the PAC file off or change the configured PAC file, so if you're using one, we're screwed.

 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 11/Oct/07 06:32 PM
Actually, networksetup apparently can SOMETIMES handle PAC files; some versions of networksetup have commands to "-getautoproxyurl" "-setautoproxyurl" and "-setautoproxystate", whereas other versions of networksetup don't have this feature. (In particular, on the Intel 10.4.10 iMac I've got here at work, it does NOT have that feature.)

We should attempt to detect that feature if it's available, and use it where we can.

We should also do SRC-368 so we'll be able to use ncutil if it's available.

Finally, we should use scutil to detect if a PAC file is enabled; if ncutil isn't available and networksetup doesn't support configuring PAC files, we should fail with an error linking to a web page explaining our situation, like the one we've already got for Windows reg.exe issues: http://wiki.openqa.org/display/SRC/Windows+Registry+Support