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

Unified Diff: chrome/test/functional/nacl_sdk.py

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: chrome/test/functional/nacl_sdk.py
diff --git a/chrome/test/functional/nacl_sdk.py b/chrome/test/functional/nacl_sdk.py
index 9a569c44de0b99124a40baa22667a4caf5892f75..3922edac94c8d6caa2e78a6adc7955a524a036b1 100755
--- a/chrome/test/functional/nacl_sdk.py
+++ b/chrome/test/functional/nacl_sdk.py
@@ -263,7 +263,7 @@ class NaClSDKTest(pyauto.PyUITest):
# Close each tab and check for crashes.
tab_count = self.GetTabCount()
for index in xrange(tab_count - 1, 0, -1):
- self.GetBrowserWindow(0).GetTab(index).Close(True)
+ self.CloseTab(index, 0)
self._CheckForCrashes()
def _VerifyAnExample(self, name, url, verify_func):

Powered by Google App Engine
This is Rietveld 408576698