summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoralyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 00:13:29 +0000
committeralyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 00:13:29 +0000
commit0e181ca63e2dad0ffa9b74ffca5cc9426112f73f (patch)
tree991c8b50141d5af258b9c26eb683be3da8105306 /chrome
parent65855a8b32e87e6800685fa5b89e8286a2598320 (diff)
downloadchromium_src-0e181ca63e2dad0ffa9b74ffca5cc9426112f73f.zip
chromium_src-0e181ca63e2dad0ffa9b74ffca5cc9426112f73f.tar.gz
chromium_src-0e181ca63e2dad0ffa9b74ffca5cc9426112f73f.tar.bz2
Missing argument in pyauto.py. Added in the missing argument.
Review URL: http://codereview.chromium.org/3007014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/pyautolib/pyauto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 4cd634f..c499efa 100644
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -1021,12 +1021,13 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
return self._GetResultFromJSONRequest(
cmd_dict, windex=window_index)['password_added']
- def RemoveSavedPassword(self, password_dict):
+ def RemoveSavedPassword(self, password_dict, window_index=0):
"""Removes the password matching the provided password dictionary.
Args:
password_dict: A dictionary that represents a password.
For an example, see the dictionary in AddSavedPassword.
+ window_index: The window index, default is 0.
"""
cmd_dict = { # Prepare command for the json interface
'command': 'RemoveSavedPassword',