diff options
author | frankf@google.com <frankf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 20:58:24 +0000 |
---|---|---|
committer | frankf@google.com <frankf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 20:58:24 +0000 |
commit | 2996d14979871a30c392955954ce5b7fdce37130 (patch) | |
tree | 61610f1e34955eb123067c369742f77883263882 /chrome/test/pyautolib | |
parent | 61e3009b9f5b3134fa3697befba4bc69c6be1e35 (diff) | |
download | chromium_src-2996d14979871a30c392955954ce5b7fdce37130.zip chromium_src-2996d14979871a30c392955954ce5b7fdce37130.tar.gz chromium_src-2996d14979871a30c392955954ce5b7fdce37130.tar.bz2 |
Revert "Add PyAuto tests for triggering browser/page action."
Dues to link issues on chromeos clang.
This reverts commit 2c6c8fc139bae1b64a184c13c979f408721316a3.
TBR=dennisjeffrey@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/8774053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/pyautolib')
-rwxr-xr-x | chrome/test/pyautolib/pyauto.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py index 3638e10..033d4b9 100755 --- a/chrome/test/pyautolib/pyauto.py +++ b/chrome/test/pyautolib/pyauto.py @@ -1488,9 +1488,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): u'incognito': False, u'profile_path': u'Default', u'fullscreen': False, - u'visible_page_actions': - [u'dgcoklnmbeljaehamekjpeidmbicddfj', - u'osfcklnfasdofpcldmalwpicslasdfgd'] u'selected_tab': 0, u'tabs': [ { u'index': 0, @@ -1840,38 +1837,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): } self._GetResultFromJSONRequest(cmd_dict) - def TriggerPageActionById(self, id, windex=0): - """Trigger page action asynchronously in the active tab. - - The page action icon must be displayed before invoking this function. - - Args: - id: The string id of the extension. - windex: Integer index of the browser window to use; defaults to 0 - (first window). - """ - cmd_dict = { # Prepare command for the json interface - 'command': 'TriggerPageActionById', - 'id': id, - 'windex': windex, - } - self._GetResultFromJSONRequest(cmd_dict, windex=windex) - - def TriggerBrowserActionById(self, id, windex=0): - """Trigger browser action asynchronously in the active tab. - - Args: - id: The string id of the extension. - windex: Integer index of the browser window to use; defaults to 0 - (first window). - """ - cmd_dict = { # Prepare command for the json interface - 'command': 'TriggerBrowserActionById', - 'id': id, - 'windex': windex, - } - self._GetResultFromJSONRequest(cmd_dict, windex=windex) - def UpdateExtensionsNow(self): """Auto-updates installed extensions. @@ -1902,8 +1867,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): extension_id: (optional) ID of the extension. url: (optional) URL of the extension view. view_type: (optional) Type of the extension view. - ['EXTENSION_BACKGROUND_PAGE'|'EXTENSION_POPUP'|'EXTENSION_INFOBAR'| - 'EXTENSION_DIALOG'] Returns: The 'view' property of the extension view. |