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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 8431014: Update LocalState pyauto calls to work without first browser window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/prefs.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyauto.py
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 8e396f60a0fd619ccaeb0d54f6e663bd8e70c2dc..31fbc5c3021cdc1a7c162dc2dbd960304110609c 100644
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -1070,7 +1070,7 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
'path': path,
'value': value,
}
- self._GetResultFromJSONRequest(cmd_dict)
+ self._GetResultFromJSONRequest(cmd_dict, windex=-1)
def GetPrefsInfo(self):
"""Return info about preferences.
@@ -1083,7 +1083,7 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
an instance of prefs_info.PrefsInfo
"""
return prefs_info.PrefsInfo(
- self._SendJSONRequest(0, json.dumps({'command': 'GetPrefsInfo'}),
+ self._SendJSONRequest(-1, json.dumps({'command': 'GetPrefsInfo'}),
self.action_max_timeout_ms()))
def SetPrefs(self, path, value):
« no previous file with comments | « chrome/test/functional/prefs.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698