Chromium Code Reviews| Index: chrome/test/pyautolib/pyauto.py |
| =================================================================== |
| --- chrome/test/pyautolib/pyauto.py (revision 106059) |
| +++ chrome/test/pyautolib/pyauto.py (working copy) |
| @@ -3659,7 +3659,7 @@ |
| pyauto_errors.JSONInterfaceError if the automation call returns an error. |
| """ |
| cmd_dict = { 'command': 'GetProxySettings' } |
| - return self._GetResultFromJSONRequest(cmd_dict, windex=-1) |
| + return self._GetResultFromJSONRequest(cmd_dict, windex=0) |
| def SetProxySettingsOnChromeOS(self, key, value): |
|
dtu
2011/10/18 18:07:00
Same as above. It should take an optional windex=0
kuan
2011/10/18 20:32:47
same here: added windex=0, and changed below to wi
|
| """Set a proxy setting on Chrome OS. |
| @@ -3713,7 +3713,7 @@ |
| 'key': key, |
| 'value': value, |
| } |
| - return self._GetResultFromJSONRequest(cmd_dict, windex=-1) |
| + return self._GetResultFromJSONRequest(cmd_dict, windex=0) |
| def ForgetWifiNetwork(self, service_path): |
| """Forget a remembered network by its service path. |