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

Unified Diff: chrome/test/functional/doc_viewing.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/doc_viewing.py
diff --git a/chrome/test/functional/doc_viewing.py b/chrome/test/functional/doc_viewing.py
index 675162aa8cc4d6c0b2c0d070a23def8aab98396d..4316303c9cf5b06e8c40ad1217e99f05d7764b3e 100755
--- a/chrome/test/functional/doc_viewing.py
+++ b/chrome/test/functional/doc_viewing.py
@@ -59,7 +59,7 @@ class DocViewingTest(pyauto.PyUITest):
expect_retval=fname),
msg='"%s" does not open.' % fname)
# Close the document viewing tab after use.
- self.GetBrowserWindow(0).GetTab(1).Close(True)
+ self.CloseTab(1, 0)
if __name__ == '__main__':

Powered by Google App Engine
This is Rietveld 408576698