Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: tools/telemetry/telemetry/form_based_credentials_backend_unittest_base.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import os 4 import os
5 import unittest 5 import unittest
6 6
7 from telemetry import browser_finder 7 from telemetry import browser_finder
8 from telemetry import simple_mock 8 from telemetry import simple_mock
9 from telemetry import options_for_unittests 9 from telemetry import options_for_unittests
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyPw) 104 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyPw)
105 105
106 def VerifySubmit(js): 106 def VerifySubmit(js):
107 assert '.submit' in js 107 assert '.submit' in js
108 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifySubmit) 108 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifySubmit)
109 109
110 # Checking for form still up. 110 # Checking for form still up.
111 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False) 111 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False)
112 112
113 backend.LoginNeeded(tab, config) 113 backend.LoginNeeded(tab, config)
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/form_based_credentials_backend.py ('k') | tools/telemetry/telemetry/google_credentials_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698