Skip to content
Snippets Groups Projects
Commit cc61b06f authored by nirnimesh@chromium.org's avatar nirnimesh@chromium.org
Browse files

Make sure private data does not inadverently get printed out

Review URL: http://codereview.chromium.org/5921001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69318 0039d316-1c4b-4281-b951-d872f2087c98
parent 9ed91ed6
No related merge requests found
......@@ -87,7 +87,9 @@ def VerifyGoogleAccountCredsFilled(test, username, password, tab_index=0,
passwd_value = test.GetDOMValue('document.getElementById("Passwd").value',
windex, tab_index)
test.assertEqual(email_value, username)
test.assertEqual(passwd_value, password)
# Not using assertEqual because if it fails it would end up dumping the
# password (which is supposed to be private)
test.assertTrue(passwd_value == password)
def ClearPasswords(test):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment