summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Added BackgroundContentsService to manage lifecycle of BackgroundContents.atwilson@chromium.org2010-06-212-2/+12
| | | | | | | | | | | | | | | | If --restore-background-contents flag is passed, stores the URLs of running BackgroundContents in preferences so they can be re-launched when the browser restarts. Moved logic to shutdown background contents into BackgroundContentsService so we can use this to coordinate when to keep the browser process running. BUG=43382 TEST=new tests Review URL: http://codereview.chromium.org/2104018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50329 0039d316-1c4b-4281-b951-d872f2087c98
* Re-apply r50278.aa@chromium.org2010-06-1937-128/+206
| | | | | | | BUG=46632 TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50314 0039d316-1c4b-4281-b951-d872f2087c98
* Updated PPAPI revision to 60 and added new test.sanjeevr@chromium.org2010-06-181-0/+5
| | | | | | | | | BUG=None TEST=Buildbots Review URL: http://codereview.chromium.org/2831018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50298 0039d316-1c4b-4281-b951-d872f2087c98
* Move multiple tabs tests to new graph and use reference build.pathorn@chromium.org2010-06-181-10/+42
| | | | | | | | | | | Added new startup tests that use the reference build to compare against. Also, I changed the graph name for FewTabs and SeveralTabs so that that they both appear in a separate graphs. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2862014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50297 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r50278.aa@chromium.org2010-06-1833-177/+107
| | | | | | TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50284 0039d316-1c4b-4281-b951-d872f2087c98
* Some app-related manifest cleanup:aa@chromium.org2010-06-1833-107/+177
| | | | | | | | | | | | | | | | | | 1) Group app-related keys under a new "app" key, and change the implementation of IsApp() to just check that. 2) Rename IsApp() and IsTheme() -> is_app(), is_theme() to match style guide. 3) Remove web_content.enabled. That was a stupid idea. 4) Make some kind of launch URL required for apps. BUG=46632 Review URL: http://codereview.chromium.org/2836012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50278 0039d316-1c4b-4281-b951-d872f2087c98
* Improve toolbar keyboard accessibility.dmazzoni@chromium.org2010-06-181-0/+3
| | | | | | | | | | | | Design doc: https://docs.google.com/a/google.com/Doc?docid=0ATICCjR-gNReY2djdjkyNnNfNzl4ZnpiODQ2Mg&hl=en BUG=40745 BUG=36728 BUG=36222 TEST=New test added to focus_manager_unittest.cc Review URL: http://codereview.chromium.org/2737010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50234 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ShutdownTest flakiness by opening tabs one at a time.pathorn@chromium.org2010-06-171-25/+28
| | | | | | | | | BUG=46609 TEST=startup_tests should no longer flake out as much Review URL: http://codereview.chromium.org/2809017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50174 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto: fix extra flags passed to chromenirnimesh@chromium.org2010-06-171-3/+9
| | | | | | | | | | | | | | 1. Fix so that extra flags passed actually get passed on to chrome 2. Make it easier (get rid of --ui-test-flags option since it was cumbersome) Now, extra options can be passed like: python mytest.py --chrome-flags="--enable-crash-reporter" Still need a way for an individual TestCase to be able to add flags, without being provided from the command line. Review URL: http://codereview.chromium.org/2833015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50170 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ProfileManagerTest.CreateAndUseTwoProfiles in TSAN because of a ↵jhawkins@chromium.org2010-06-171-0/+3
| | | | | | | | | | | | | possible data race. BUG=46840 TEST=ProfileManagerTest.CreateAndUseTwoProfiles Patch by Xiaotian Chen <sargrass@google.com> Review URL: http://codereview.chromium.org/2805015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50165 0039d316-1c4b-4281-b951-d872f2087c98
* Add links to crbug issues for a few tests excluded recently:timurrrr@chromium.org2010-06-172-2/+2
| | | | | | | | | UploadTest*, SessionHistoryTest.FrameBackForward, IPCSyncChannelTest.Multiple TBR=glider BUG=46783,46782,46781 Review URL: http://codereview.chromium.org/2851008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50093 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude UnloadTests and one SessionHistoryTest under Valgrindtimurrrr@chromium.org2010-06-173-16/+6
| | | | | | | | | crbug is down right now so I can't file issues. Will file them once it is working again. BUG=22927,29587,45562,46211 TBR=glider Review URL: http://codereview.chromium.org/2809018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50089 0039d316-1c4b-4281-b951-d872f2087c98
* Make new startup test use GetInitialLoadTimes for more accurate times.pathorn@chromium.org2010-06-173-55/+201
| | | | | | | | | | | | | This change modifies RunStartupTest to call GetInitialLoadTimes, if applicable, to print out additional statistics for each tab computed on the browser. Additionally, changes |test_cold| and |important| parameters to be enums instead of booleans to make tests more readable. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2714015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50075 0039d316-1c4b-4281-b951-d872f2087c98
* Use FAILS_TabSwitch instead of DISABLED_TabSwitch.michaeln@chromium.org2010-06-171-1/+1
| | | | | | | | | | BUG=46751 TEST=n/a TBR=jhawkins Review URL: http://codereview.chromium.org/2802008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50065 0039d316-1c4b-4281-b951-d872f2087c98
* Allow themes to be localized. This doesn't show up anywhereaa@chromium.org2010-06-172-0/+19
| | | | | | | | | | in Chrome (yet), but it is used by the gallery. BUG=46379 Review URL: http://codereview.chromium.org/2845010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50062 0039d316-1c4b-4281-b951-d872f2087c98
* Disable TabSwitchingUITest TabSwitch on windows, started failing after a ↵michaeln@chromium.org2010-06-171-1/+8
| | | | | | | | | | | | webkit roll. BUG=46751 TEST=none TBR=bulach Review URL: http://codereview.chromium.org/2811012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50060 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure mocks are properly released by breaking retain cycles.jrg@chromium.org2010-06-171-3/+0
| | | | | | | | BUG=http://crbug.com/39282 Review URL: http://codereview.chromium.org/2842010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50058 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50050 - Revert r48693: This broke existing extensions that wanted to ↵aa@chromium.org2010-06-162-19/+0
| | | | | | | | | | | | | run script on XML pages. For more info, see: http://code.google.com/p/chromium/issues/detail?id=39845#c7 TBR=rafaelw@chromium.org TBR=aa@chromium.org Review URL: http://codereview.chromium.org/2812006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50051 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r48693: This broke existing extensions that wanted to run script on XMLaa@chromium.org2010-06-162-0/+19
| | | | | | | | pages. For more info, see: http://code.google.com/p/chromium/issues/detail?id=39845#c7 TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50050 0039d316-1c4b-4281-b951-d872f2087c98
* BookmarkAllTabsControllerTest.BookmarkAllTabs fails under valgrind;jrg@chromium.org2010-06-161-2/+0
| | | | | | | | | | | | | | | the test claims windows are left around. Things are fine when run normally. For this case, sheets don't always close in time if run under valgrind. Increase timeout to be a kinder, gentler unit test. Remove suppression. BUG=http://crbug.com/39282 Review URL: http://codereview.chromium.org/2814011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50047 0039d316-1c4b-4281-b951-d872f2087c98
* Mark StartupTests.Perf*SeveralTabs and ShutdownTests.*TwentyTabs* as flaky ↵pathorn@chromium.org2010-06-162-8/+30
| | | | | | | | | | | on mac. BUG=46609 TEST=startup_tests don't fail on mac Review URL: http://codereview.chromium.org/2850006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50018 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in bookmark bar view if profile changed. If the profilesky@chromium.org2010-06-161-1/+2
| | | | | | | | | | | | | | | | changed we didn't remove the old buttons, which meant when you clicked on a button it might be past the bounds of the model. I don't think we ever do this, but it's the only thing I could see that could cause the crash. Once I've nailed this down I'll nuke the CHECKs. BUG=44642 TEST=none Review URL: http://codereview.chromium.org/2822010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49959 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing test PepperTester.Pepper3D .skerner@chromium.org2010-06-161-1/+2
| | | | | | | | | | | | Looking at changes around the time the failure started (r49912), I see nothing related to this test. BUG=46662 TEST=none TBR=alokp Review URL: http://codereview.chromium.org/2865004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49934 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ErrorPageTest.DNSError_GoBack2Forward2 under Valgrind on Linuxglider@chromium.org2010-06-161-1/+3
| | | | | | | | | TBR=phajdan.jr BUG=46643 Review URL: http://codereview.chromium.org/2822012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49908 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude a few more UnloadTests from running under Valgrindtimurrrr@chromium.org2010-06-161-4/+8
| | | | | | | | BUG=29587,45562,46211 TBR=glider,estade,phajdan.jr Review URL: http://codereview.chromium.org/2839004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49907 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run AutomatedUITestBase.SelectTab under ThreadSanitizer on Mac OS.glider@chromium.org2010-06-161-0/+2
| | | | | | | | | TBR=timurrrr BUG=46639 Review URL: http://codereview.chromium.org/2852007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49905 0039d316-1c4b-4281-b951-d872f2087c98
* Re-disable FastShutdown.SlowTermination on Windowsstuartmorgan@chromium.org2010-06-151-1/+2
| | | | | | | | | | | TBR=jhawkins BUG=46616 TEST=Greener Windows bots Review URL: http://codereview.chromium.org/2816008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49861 0039d316-1c4b-4281-b951-d872f2087c98
* Mark SlowTermination as failing on Linux, and annotate it with a bugstuartmorgan@chromium.org2010-06-151-0/+3
| | | | | | | | | | | TBR=jhawkins BUG=46614 TEST=Greener Linux bots Review URL: http://codereview.chromium.org/2818007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49858 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable SlowTermination UI test on Windows and Linuxstuartmorgan@chromium.org2010-06-151-1/+8
| | | | | | | | | | | No explanation was given for what exactly was wrong when it was disabled, and it passes on the try bots. BUG=None TEST=SlowTermination should run and pass on Windows and Linux Review URL: http://codereview.chromium.org/2825004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49847 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an omnibox test to match realitynirnimesh@chromium.org2010-06-151-1/+1
| | | | | | | | Relax the check to ensure that we just do substring match for "google.com" when testing inline autocomplete in the omnibox. Review URL: http://codereview.chromium.org/2814002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49838 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace change for grd rebuild.skerner@chromium.org2010-06-151-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49832 0039d316-1c4b-4281-b951-d872f2087c98
* Excludes new views test on other platforms.sky@chromium.org2010-06-151-0/+2
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/2844003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49829 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at:sky@chromium.org2010-06-151-0/+2
| | | | | | | | | | | | | | | | Changes the tab close button to a dot, unless you're near the button or the tab is selected. The only difference between this and the first is that I missed a remove from the set if the view was deleted, which resulted in a crash. I've added an interactive test case that covers this. BUG=45743 TEST=none Review URL: http://codereview.chromium.org/2863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49828 0039d316-1c4b-4281-b951-d872f2087c98
* Test end-to-end startup performance of loading several tabs.pathorn@chromium.org2010-06-151-0/+68
| | | | | | | | | | | This test is similar to other startup tests, with the exception that it loads multible tabs at once, and it tests both with and without the session restore command line flag. In both cases, WaitForInitialLoads waits for all the tabs to finish loading before returning. BUG=44129 TEST=none Review URL: http://codereview.chromium.org/2753001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49827 0039d316-1c4b-4281-b951-d872f2087c98
* Flip a test from DISABLED_ to FAILS_ on the Mac, and add a bug annotationstuartmorgan@chromium.org2010-06-141-7/+6
| | | | | | | | | BUG=45892 TEST=AutomationProxyVisibleTest.WindowGetViewBounds should run on Mac Review URL: http://codereview.chromium.org/2698001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49735 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the Windows omnibox after the recent endcap removal. This fixes most ↵pkasting@chromium.org2010-06-141-0/+0
| | | | | | | | | | of the issues, but doesn't make the app launcher match the new style. BUG=45745 TEST=Omnibox has endcaps, insides are aligned and padded correctly, dropdown looks good Review URL: http://codereview.chromium.org/2721009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49727 0039d316-1c4b-4281-b951-d872f2087c98
* Revert changes accidentally checked in with my property changes.brettw@chromium.org2010-06-141-1/+1
| | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49708 0039d316-1c4b-4281-b951-d872f2087c98
* Add some Linux make and scons files to the svn:ignore properties.brettw@chromium.org2010-06-141-1/+1
| | | | | | | | TEST=none BUG=none R=thomasvl git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49704 0039d316-1c4b-4281-b951-d872f2087c98
* Add code to instantiate the ConfigurationPolicyPrefStore for the Windows ↵danno@chromium.org2010-06-141-1/+1
| | | | | | | | | | | | platform. BUG=46134 TEST=none Review URL: http://codereview.chromium.org/2321003 Patch from Markus Heintz <markusheintz@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49684 0039d316-1c4b-4281-b951-d872f2087c98
* Fix and re-enable RedirectTest.ClientCancelled.hans@chromium.org2010-06-141-12/+4
| | | | | | | | | | | | | | | The hack to create and dispatch an event after a timeout to fool the browser into thinking it is user initiated stopped working after WebKit r49827. Changing the test to navigate to a javascript: url instead, which qualifies as a user initiated location change. BUG=45053 TEST=ui_tests --gtest_filter=RedirectTest.ClientCancelled Review URL: http://codereview.chromium.org/2225007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49681 0039d316-1c4b-4281-b951-d872f2087c98
* Support WebSQLDatabases in incognito mode.dumi@chromium.org2010-06-131-1/+1
| | | | | | | | | BUG=43232 TEST=none Review URL: http://codereview.chromium.org/2746003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49644 0039d316-1c4b-4281-b951-d872f2087c98
* Added plumbing to transport the frame name between RenderViewHost and the ↵atwilson@chromium.org2010-06-121-4/+9
| | | | | | | | | | | | | Webkit layer. Extended ViewMsg_New and ViewHostMsg_CreateWindow to have a new frame_name parameter. This allows the RVH to know the initial name of the frame associated with its RenderView, and also to set the name of the frame when creating a new RenderView. Review URL: http://codereview.chromium.org/2775003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49622 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the testing interface command line switch to Chrome when running the ↵brettw@chromium.org2010-06-111-0/+5
| | | | | | | | | | PPAPI UI tests. TEST=this is a test BUG=none Review URL: http://codereview.chromium.org/2736007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49589 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanups of usage of process_util code.maruel@chromium.org2010-06-111-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2791006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49568 0039d316-1c4b-4281-b951-d872f2087c98
* Detach reload from omnibox, combine with stop, and eliminate go.pkasting@chromium.org2010-06-113-2/+1
| | | | | | | | | | This does the basic surgery on all three OSes without trying to fix up the visual appearance. As a result, things look pretty ugly. My intent is to at least put endcaps on the omnibox in a subsequent patch. BUG=45745,45762,45763 TEST=Reload and stop should be combined; go should be gone. Review URL: http://codereview.chromium.org/2677003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49492 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up external-tab related code in automation provider and automation proxy.estade@chromium.org2010-06-102-52/+54
| | | | | | | | | BUG=44695 TEST=compile Review URL: http://codereview.chromium.org/2743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49448 0039d316-1c4b-4281-b951-d872f2087c98
* Rip out the multiprofile implementation.erg@chromium.org2010-06-101-2/+0
| | | | | | | | | | | Requested by Ben. Never worked on linux or OSX and apparently broken on Windows. Removal of the multiprofile code will make switching out the old AppMenuModel with the new WrenchMenuModel trivial. BUG=27177 TEST=none Review URL: http://codereview.chromium.org/2736001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49440 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PPAPITest.DeviceContext2D on Win as well. It failed on jshin@chromium.org2010-06-101-5/+1
| | | | | | | | | | | | | | | | | multiple win bots: PPAPITest.DeviceContext2D: C:\b\slave\chromium-rel-xp\build\src\chrome\test\ui\ppapi_uitest.cc(69): error: Value of: escaped_value.c_str() Actual: "Test case could not initialize" Expected: "PASS" BUG=None TEST=UI test passes on Windows TBR=brettw Review URL: http://codereview.chromium.org/2755004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49435 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the ImageData test on Mac which is failing.brettw@chromium.org2010-06-101-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49433 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the PPAPI ui test on Mac & Linux, it's still failing.brettw@chromium.org2010-06-101-0/+5
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2715010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49424 0039d316-1c4b-4281-b951-d872f2087c98