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

Unified Diff: chrome/test/functional/notifications.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/notifications.py
diff --git a/chrome/test/functional/notifications.py b/chrome/test/functional/notifications.py
index 762deb45b8e099f86fe805b35480f8bbf14019c4..11a426c1f11ae27717bf5c13aa831f6f21be3bc1 100755
--- a/chrome/test/functional/notifications.py
+++ b/chrome/test/functional/notifications.py
@@ -480,7 +480,7 @@ class NotificationsTest(pyauto.PyUITest):
self.NavigateToURL(self.TEST_PAGE_URL)
self._RequestPermission()
self.assertTrue(self.WaitForInfobarCount(1))
- self.GetBrowserWindow(0).GetTab(0).Close(True)
+ self.CloseTab()
def testNavigateAwayWithPermissionInfobar(self):
"""Test navigating away when an infobar is present, then trying to create a

Powered by Google App Engine
This is Rietveld 408576698