summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Filtered out ExtensionTest.InitFromValueInvalid from being executed underglider@chromium.org2010-03-221-0/+3
| | | | | | | | | | | ThreadSanitizer on Mac BUG=38889 TBR=timurrrr Review URL: http://codereview.chromium.org/1111009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42219 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Keyboard accessibility for the page and app menus."maruel@chromium.org2010-03-225-157/+0
| | | | | | | | | | This reverts commit 42217. TBR=dmzazzoni Review URL: http://codereview.chromium.org/1154003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42218 0039d316-1c4b-4281-b951-d872f2087c98
* Keyboard accessibility for the page and app menus.dmazzoni@chromium.org2010-03-225-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | Works on Windows, and on Linux with toolkit_views. The goal is to make Chrome behave more like a standard Windows application, for users who rely on the keyboard and expect standard keyboard accelerators to work. Pressing F10, or pressing and releasing Alt, will set focus to the Page menu, as if it was the first item in a menu bar. Pressing enter, space, up arrow, or down arrow will open the focused menu. Once a menu is opened, pressing left and right arrows will switch between the two menus. Pressing escape will return focus to the title of the previously open menu. A new UI test attempts to select something from the menus using only the keyboard. It works on Linux (with toolkit_views) and on Windows. BUG=none TEST=New keyboard accessibility ui test. Review URL: http://codereview.chromium.org/660323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42217 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Reduce number of automation methods ending with WithTimeout.phajdan.jr@chromium.org2010-03-2217-451/+141
| | | | | | | | | | | | | | | | | | | | | They are just too easy to misuse. People started inventing their own hardcoded timeouts all over the place. Also, the is_timeout return parameter was not checked consistently. Additionally, some calls actually had no timeout at all, making hangs possible. This change also removes useless DLOG statements. We should get the required info from the ASSERT/EXPECT macros in test code, which is quite well checked by WARN_UNUSED_RESULT. TEST=all ui-based BUG=none Review URL: http://codereview.chromium.org/1076005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42213 0039d316-1c4b-4281-b951-d872f2087c98
* Adds browser tests exercising multiple iframes for geolocation.bulach@chromium.org2010-03-222-2/+24
| | | | | | | | | | Adds a disabled test waiting for rolling https://bugs.webkit.org/show_bug.cgi?id=36315 TEST=geolocation_browsertest.cc Review URL: http://codereview.chromium.org/1134001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42212 0039d316-1c4b-4281-b951-d872f2087c98
* When testing, we don't want to know about 'component' or 'external'joi@chromium.org2010-03-201-1/+8
| | | | | | | | | | | | extensions, and if there are loaded extensions we probably loaded them explicitly (and got a notification thereof) so don't list them either. BUG=none TEST=none Review URL: http://codereview.chromium.org/1081008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42189 0039d316-1c4b-4281-b951-d872f2087c98
* Move RTL related functions from app/l10n_util to base/i18n/rtlben@chromium.org2010-03-201-2/+3
| | | | | | | | | | TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42182 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r42156, r42157, r42160. Allow dynamic switching in and out of ↵thestig@chromium.org2010-03-201-1/+0
| | | | | | | | | | | | sidetabs mode. Reliability bot and Linux CrOS browser_tests all had crashes in ~TabStrip. BUG=none TEST=none Review URL: http://codereview.chromium.org/1141005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42176 0039d316-1c4b-4281-b951-d872f2087c98
* Disable new WorkerTest.SharedWorkerInIframe test. It's failing in Valgrind.thestig@chromium.org2010-03-191-0/+1
| | | | | | | | BUG=38575 TEST=Valgrind Linux goes green. Review URL: http://codereview.chromium.org/1096007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42169 0039d316-1c4b-4281-b951-d872f2087c98
* Allow dynamic switching in and out of sidetabs mode.ben@chromium.org2010-03-191-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1001003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42156 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit 1025006: Refactor app-related manifest propertiesaa@chromium.org2010-03-1927-7/+213
| | | | | | | | so that they don't include the name 'app'. TBR=erikkay@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42146 0039d316-1c4b-4281-b951-d872f2087c98
* Improve the integration test harness by using the max_local_timestamptim@chromium.org2010-03-193-93/+66
| | | | | | | | | | | from the sync engine rather than waiting for "a couple syncs" to happen before declaring sync "done". BUG=37351 Review URL: http://codereview.chromium.org/1042008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42134 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42115 - Disable BrowserEncodingTest.TestEncodingAliasMapping as it's ↵jhawkins@chromium.org2010-03-191-3/+0
| | | | | | | | | | | | | | failing under Valgrind. TBR=thestig BUG=38657 TEST=none Review URL: http://codereview.chromium.org/1105005 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/1124004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42132 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BrowserEncodingTest.TestEncodingAliasMapping as it's failing under ↵jhawkins@chromium.org2010-03-191-0/+3
| | | | | | | | | | | Valgrind. TBR=thestig BUG=38657 TEST=none Review URL: http://codereview.chromium.org/1105005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42115 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BookmarkAllTabsControllerTest.BookmarkAllTabs under Valgrind, as it ↵jhawkins@chromium.org2010-03-191-0/+2
| | | | | | | | | | | is consistently failing. TBR=thestig BUG=38655 TEST=none Review URL: http://codereview.chromium.org/1147002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42114 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Make automation timeouts more sane.phajdan.jr@chromium.org2010-03-193-12/+8
| | | | | | | | | | | | | | | | | | Do not expose command execution timeout outside ui_test.cc. This way people have less timeouts to choose from, which leaves less space for confusion. The option to manipulate the command execution timeout is still available, because it's still used and makes sense. Also updated misleading comments and names in ui_test.cc. TEST=ui_tests BUG=none Review URL: http://codereview.chromium.org/1078003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42112 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42091 - Refactor apprelated manifest properties so that they don'tandybons@chromium.org2010-03-1926-211/+0
| | | | | | | | | | | | | | | include the name 'app'. I think these will be useful for normal extensions, too. Also extract an ExtensionExtent class out of Extension. I think this will be useful for passing by value to the IO thread. Review URL: http://codereview.chromium.org/1025006 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/1120005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42104 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor app-related manifest properties so that they don'taa@chromium.org2010-03-1926-0/+211
| | | | | | | | | | | | include the name 'app'. I think these will be useful for normal extensions, too. Also extract an ExtensionExtent class out of Extension. I think this will be useful for passing by value to the IO thread. Review URL: http://codereview.chromium.org/1025006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42091 0039d316-1c4b-4281-b951-d872f2087c98
* Mark selenium test as failing to get the bot green.tony@chromium.org2010-03-191-0/+1
| | | | | | | | | | BUG=38610 TBR=thestig Review URL: http://codereview.chromium.org/1151002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42086 0039d316-1c4b-4281-b951-d872f2087c98
* Add GeolocationContentSettingsMap, a geolocation-specific variant of ↵pkasting@chromium.org2010-03-191-0/+10
| | | | | | | | | | | | | HostContentSettingsMap. This was originally written by bulach and posted at http://codereview.chromium.org/1033004 ; modified and landed by me. BUG=37206 TEST=Tested by unittests TBR=bulach,joth Review URL: http://codereview.chromium.org/1084005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42064 0039d316-1c4b-4281-b951-d872f2087c98
* Re-disable the DB perf tests, because the Vista perf bot is choking on them.dumi@chromium.org2010-03-191-2/+2
| | | | | | | | | | TEST=none BUG=none TBR=chase Review URL: http://codereview.chromium.org/1141003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42063 0039d316-1c4b-4281-b951-d872f2087c98
* Combine similar code from sync unit tests and add additional unit tests for ↵zork@chromium.org2010-03-191-1/+1
| | | | | | | | | | | typed url syncing. BUG=none TEST=run unit tests Review URL: http://codereview.chromium.org/1124002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42048 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable all DB perf tests.dumi@chromium.org2010-03-191-2/+2
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1147001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42041 0039d316-1c4b-4281-b951-d872f2087c98
* Valgrind: Explicitly disable all worker tests until we figure things out.thestig@chromium.org2010-03-193-68/+58
| | | | | | | | BUG=38575 TEST=Valgrind Mac stops hanging. Review URL: http://codereview.chromium.org/1085005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42033 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for interacting with the DOM in browser_tests.kkania@chromium.org2010-03-1815-1/+1094
| | | | | | | | | BUG=none TEST=none Reivew url: http://codereview.chromium.org/660046 Review URL: http://codereview.chromium.org/1051005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42026 0039d316-1c4b-4281-b951-d872f2087c98
* Send session history offset and length parameters in the Navigate message todarin@chromium.org2010-03-181-0/+3
| | | | | | | | | | | | | keep the renderer's notion of those values properly synchronized with the NavigationController. R=brettw BUG=18062 TEST=see session_history_uitest.cc Review URL: http://codereview.chromium.org/1090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42022 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the TabContents in the AutoFillInfoBarDelegateTest. Fixes a few ↵jhawkins@chromium.org2010-03-182-17/+1
| | | | | | | | | | leaks. BUG=38481 TEST=none Review URL: http://codereview.chromium.org/1109005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41989 0039d316-1c4b-4281-b951-d872f2087c98
* Add a known crasher for the reliability bot.jhawkins@chromium.org2010-03-181-3/+3
| | | | | | | | | TBR=andybons BUG=38525 TEST=none Review URL: http://codereview.chromium.org/1128001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41964 0039d316-1c4b-4281-b951-d872f2087c98
* In release mode, trigger a SIGABRT rather than a SIGTRAP for fatal log ↵thestig@chromium.org2010-03-181-7/+11
| | | | | | | | | | errors, i.e. CHECK(false). Also enable tests to make sure we assert/crash as expected. BUG=none TEST=Chrome in release mode generates crash dumps when CHECK() fails. See UI tests: AssertionTest.*:CheckFalseTest.*:RendererCrashTest.* Review URL: http://codereview.chromium.org/830003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41912 0039d316-1c4b-4281-b951-d872f2087c98
* Update sync to support syncing of typed urlszork@chromium.org2010-03-181-0/+2
| | | | | | Review URL: http://codereview.chromium.org/896001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41901 0039d316-1c4b-4281-b951-d872f2087c98
* Make repost form warning tab-modal on Mac.bauerb@chromium.org2010-03-181-0/+8
| | | | | | | | | | | | | | Reloading a page for the second time dismisses the warning before showing it again. CLs for other platforms forthcoming. BUG=26271 TEST=RepostFormWarningTest.TestDoubleReload Manual test: Go to http://www.cs.unc.edu/~jbs/resources/perl/perl-cgi/programs/form1-POST.html, hit Submit, then reload. The warning sheet should be tab-modal, not window-modal. Hit reload again. The warning sheet should close and immediately reopen. Review URL: http://codereview.chromium.org/969003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41898 0039d316-1c4b-4281-b951-d872f2087c98
* Enable AutoFill when in incognito mode. The infobar will not be shown, but ↵jhawkins@chromium.org2010-03-172-1/+17
| | | | | | | | | | profiles can be manipulated in the AutoFill dialog, and the data from those profiles can be used to fill forms in an incognito window. BUG=38009 TEST=none Review URL: http://codereview.chromium.org/1064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41887 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto: Flags to forbid cleaning profile dirnirnimesh@chromium.org2010-03-175-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | Several tests require quitting/killing chromium to test features like restore. In addition, one might want to use pyauto on an existing profile. This CL lets pyauto work without cleaning the profile dir. Also lets specify the homepage to use. Example: Running this test with CHROME_UI_TESTS_USER_DATA_DIR pointing to a profile dir will run my script with the given dir as the user-data-dir without cleaning it up, and also specifies the homepage to use. class A(PyUITest): def __init__(self, methodName): PyUITest.__init__(self, methodName, clear_profile=False, homepage="http://www.cnn.com") def testA(self): pass BUG=None TEST=None Review URL: http://codereview.chromium.org/1007007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41878 0039d316-1c4b-4281-b951-d872f2087c98
* Committing for dcheng@brg@chromium.com2010-03-174-0/+88
| | | | | | | Original review: http://codereview.chromium.org/882003 Review URL: http://codereview.chromium.org/1042004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41874 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored NPAPITester to accomodate PepperTester. The functionality to ↵alokp@chromium.org2010-03-172-25/+81
| | | | | | | | load/unload npapi plugins has been moved to a base class NPAPITesterBase which does not have a hard-coded plugin name. Review URL: http://codereview.chromium.org/1052001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41863 0039d316-1c4b-4281-b951-d872f2087c98
* Move cert_test_util.{h,cc} and ssl_test_util.{h,cc} to thewtc@chromium.org2010-03-171-0/+1
| | | | | | | | | | | net_test_support build target. R=eroman BUG=none TEST=no build errors Review URL: http://codereview.chromium.org/1047003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41856 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Remove the internal timeout of extension browser tests.phajdan.jr@chromium.org2010-03-172-7/+3
| | | | | | | | | | | | | | | Now we have a global timeout for browser tests enforced by out of process test launcher. Having too many different timeouts all over the place makes debugging issues harder. TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/1046001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41823 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more files to toplevel gfx dir.ben@chromium.org2010-03-172-2/+2
| | | | | | | | | TBR=darin BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41812 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 41789 - Add support for DOM interaction in browser tests via C++.kkania@chromium.org2010-03-1715-1085/+1
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/660046 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/971004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41807 0039d316-1c4b-4281-b951-d872f2087c98
* Excluding WorkerTest.WorkerMapGcoshima@chromium.org2010-03-171-0/+1
| | | | | | | | | | | This is failing due to mmap error. BUG=28439 TEST=valgrind bots for linux/chromeos should cycle green Review URL: http://codereview.chromium.org/1043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41805 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for DOM interaction in browser tests via C++.kkania@chromium.org2010-03-1715-1/+1085
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/660046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41789 0039d316-1c4b-4281-b951-d872f2087c98
* Dom access checker test for Mac, Linuxnirnimesh@chromium.org2010-03-164-1/+41
| | | | | | | | | | BUG=35530 TEST=dom_checker should work and pass on mac & linux ui_tests --gtest_filter=DomCheckerTest.* --run-dom-checker-test Review URL: http://codereview.chromium.org/898002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41750 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Make automation framework more solid by making sure thatphajdan.jr@chromium.org2010-03-1622-225/+289
| | | | | | | | | | | | | | | | | | | important return values are not ignored. The macro used here, WARN_UNUSED_RESULT, takes effect only for GCC, but that's enough since we have bots for all platforms. Adding these warnings already detected some cases where a return value was ignored. In some of them the test was trying to get the information about success "some other way", in some it could sometimes confuse test failure with test success. TEST=ui_tests BUG=none Review URL: http://codereview.chromium.org/948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41696 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Add an always-working timeout for browser_tests.phajdan.jr@chromium.org2010-03-161-5/+12
| | | | | | | | | | | | | | | This one is implemented in the out-of-process launcher, so it's guaranteed to work. Not removing the MessageLoop delayed task sent inside the test because currently not all browser tests use the launcher (sync tests?). TEST=browser_tests BUG=38053 Review URL: http://codereview.chromium.org/949002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41694 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an automation message to retrieve the list of enabled extensions, and ↵joi@chromium.org2010-03-163-0/+14
| | | | | | | | | | | CF bindings for it. TEST=unit test to follow BUG=none Review URL: http://codereview.chromium.org/901002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41667 0039d316-1c4b-4281-b951-d872f2087c98
* Fix websocket_server.py pathukai@chromium.org2010-03-162-5/+53
| | | | | | | | | BUG=none TEST=pass WebSocket browser_test. Review URL: http://codereview.chromium.org/952001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41666 0039d316-1c4b-4281-b951-d872f2087c98
* Idle API for the extension systembrg@chromium.com2010-03-163-0/+46
| | | | | | | | Tests=ExtensionApiTest.Idle Bug=one Review URL: http://codereview.chromium.org/845005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41661 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ExtensionApiTest.Storage. openDatabase() always takes at least 4dumi@chromium.org2010-03-152-1/+7
| | | | | | | | | | | | parameters. BUG=22006 TEST=none Review URL: http://codereview.chromium.org/982003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41653 0039d316-1c4b-4281-b951-d872f2087c98
* Make it possible to see errors that happens in the stubs test in the stdout ↵rogerta@chromium.org2010-03-152-7/+19
| | | | | | | | | | | of browser_tests.exe, and provide a hint to the user about how to get more information for fixing the error. BUG=0 TEST=n/a Review URL: http://codereview.chromium.org/910004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41623 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled HttpBridgeTest (unit_tests) from running under ThreadSanitizer on Macglider@chromium.org2010-03-151-1/+1
| | | | | | | (due to workqueue thread problem) Review URL: http://codereview.chromium.org/981001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41592 0039d316-1c4b-4281-b951-d872f2087c98