summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Also match against the query string if present.jochen@chromium.org2010-01-122-0/+6
| | | | | | | | | BUG=none TEST=BlacklistTest.QueryStringMatch Review URL: http://codereview.chromium.org/523137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36013 0039d316-1c4b-4281-b951-d872f2087c98
* Mark the following tests FLAKY on Windows.tkent@chromium.org2010-01-121-1/+2
| | | | | | | | | | | | | | - NPAPITester.NoHangIfInitCrashes - MetricsServiceTest.CrashRenderers - ResourceDispatcherTest.CrossSiteAfterCrash - RendererCrashTest.Crash BUG=32048 TEST=none TBR=jar, nsylvain Review URL: http://codereview.chromium.org/548009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36004 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce exception filter rules.jochen@chromium.org2010-01-121-0/+0
| | | | | | | | | | | | Allow for patterns to start with a - to mark exceptions. A URL matches a filter, if it matches at least one pattern and no exception. BUG=16932 TEST=covered by unit_tests Review URL: http://codereview.chromium.org/541009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35999 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Take 2: Preload the visited link db on the file thread if"tony@chromium.org2010-01-121-1/+0
| | | | | | | | | | | This reverts commit r35991 due to a perf regression to New Tab Cold on Mac. TBR=thakis Review URL: http://codereview.chromium.org/545024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35997 0039d316-1c4b-4281-b951-d872f2087c98
* Moved the sync_integration_test in chrome.gypi so that they will build on alltim@chromium.org2010-01-125-21/+120
| | | | | | | | | | | platforms. Patch by Brian Lum (brianlum at google.com) Original Review http://codereview.chromium.org/526016 Review URL: http://codereview.chromium.org/536025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35994 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2: Preload the visited link db on the file thread iftony@chromium.org2010-01-121-0/+1
| | | | | | | | | | | | | | | | the file exists. Otherwise, just load like normal on the UI thread. This failed before because the browser may have shutdown before the posted task ran. When the posted task finally runs, it tried to use the profile, but the profile was already deleted. Make a small change to VisitedLinkMaster so GetDatabaseFileName no longer depends on the profile. BUG=24163 Review URL: http://codereview.chromium.org/507047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem in browser_tests launcher which was interpreting the linephajdan.jr@chromium.org2010-01-111-2/+4
| | | | | | | | | | | 'YOU HAVE x FLAKY TESTS' as a test name. TEST=none BUG=none Review URL: http://codereview.chromium.org/543005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35931 0039d316-1c4b-4281-b951-d872f2087c98
* Updating to the latest Dromaeo.antonm@chromium.org2010-01-111-2/+23
| | | | | | | | Review URL: http://codereview.chromium.org/519009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35926 0039d316-1c4b-4281-b951-d872f2087c98
* Move the extension messaging tests to be ExtensionApiTests. Remove the oldmpcomplete@chromium.org2010-01-087-127/+148
| | | | | | | | tests. Review URL: http://codereview.chromium.org/519087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35843 0039d316-1c4b-4281-b951-d872f2087c98
* Add autodetection of "intranet" redirection, for ISPs etc. that send typos ↵pkasting@chromium.org2010-01-085-9/+29
| | | | | | | | | | and nonexistent addresses to custom pages, and plumb it to the code that puts up infobars when users type in a search that appears to be an intranet address, so we don't show these for erroneous cases. BUG=31556 TEST=none Review URL: http://codereview.chromium.org/525079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35807 0039d316-1c4b-4281-b951-d872f2087c98
* Move code duplicated in two tests up into the TestingProfile.rsesek@chromium.org2010-01-082-3/+67
| | | | | | | | | | | | | | | | Move TestURLRequestContextGetter and friends from CookieTreeModelTest and CookiesWindowControllerTest into TestingProfile. In the TestingProfile, return a valid CookieMonster and URLRequstContextGetter, if CreateRequestContext() is called. Original CL: http://codereview.chromium.org/525072/show BUG=None TEST=Covered by unit tests Review URL: http://codereview.chromium.org/525106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35776 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35735 - Relanding the language detection code.jcampan@chromium.org2010-01-074-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Still causes redness on the reliability bot. The code would crash if multiple PageContents notifications were received rapidly. The CLDHelper now notifies the TabContents directly and the TabContents ensures only one language detection can be performed at a time. Added unittests to validate these cases in web_contents_unittest.cc. Note that patch set 1 is the original patch, patch set 2 contains the new changes. Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unittests. Review URL: http://codereview.chromium.org/504051 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/523149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35753 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35737 (Chrome OS failing) - Include more extension browser tests on ↵kkania@chromium.org2010-01-076-211/+90
| | | | | | | | | | | | | mac and linux. Some minor changes and reorganization. BUG=none TEST=none Review URL: http://codereview.chromium.org/504064 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/518068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35743 0039d316-1c4b-4281-b951-d872f2087c98
* Include more extension browser tests on mac and linux. Some minor changes ↵kkania@chromium.org2010-01-076-90/+211
| | | | | | | | | | and reorganization. BUG=none TEST=none Review URL: http://codereview.chromium.org/504064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35737 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding the language detection code.jcampan@chromium.org2010-01-074-0/+48
| | | | | | | | | | | | | | | | | | | | The code would crash if multiple PageContents notifications were received rapidly. The CLDHelper now notifies the TabContents directly and the TabContents ensures only one language detection can be performed at a time. Added unit-tests to validate these cases in web_contents_unittest.cc. Note that patch set 1 is the original patch, patch set 2 contains the new changes. Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unit-tests. Review URL: http://codereview.chromium.org/504051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35735 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35707 - Moved the sync_integration_test in chrome.gypi so that they ↵tim@chromium.org2010-01-075-116/+17
| | | | | | | | | | | | | | will build on all platforms. Patch by Brian Lum (brianlum at google.com) Original Review: http://codereview.chromium.org/526016 Review URL: http://codereview.chromium.org/523113 TBR=tim@chromium.org Review URL: http://codereview.chromium.org/525091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35708 0039d316-1c4b-4281-b951-d872f2087c98
* Moved the sync_integration_test in chrome.gypi so that they will build on ↵tim@chromium.org2010-01-075-17/+116
| | | | | | | | | | | all platforms. Patch by Brian Lum (brianlum at google.com) Original Review: http://codereview.chromium.org/526016 Review URL: http://codereview.chromium.org/523113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35707 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35703 - Move code duplicated in two tests up into the TestingProfile.rsesek@chromium.org2010-01-072-52/+3
| | | | | | | | | | | | | | | | Move TestURLRequestContextGetter and friends from CookieTreeModelTest and CookiesWindowControllerTest into TestingProfile. In the TestingProfile, return a valid CookieMonster and URLRequstContextGetter. BUG=None TEST=Covered by unit tests Review URL: http://codereview.chromium.org/525072 TBR=rsesek@chromium.org Review URL: http://codereview.chromium.org/521056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35704 0039d316-1c4b-4281-b951-d872f2087c98
* Move code duplicated in two tests up into the TestingProfile.rsesek@chromium.org2010-01-072-3/+52
| | | | | | | | | | | | | Move TestURLRequestContextGetter and friends from CookieTreeModelTest and CookiesWindowControllerTest into TestingProfile. In the TestingProfile, return a valid CookieMonster and URLRequstContextGetter. BUG=None TEST=Covered by unit tests Review URL: http://codereview.chromium.org/525072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35703 0039d316-1c4b-4281-b951-d872f2087c98
* Marking reliability bot failure for V8.tyoshino@google.com2010-01-071-0/+2
| | | | | | | | | | | PREFIX is webcore::scriptcontroller::isenabled___webcore::v8proxy::mainworldcontext___webcore::tov8context TBR=japhet,lzheng BUG=31731 Review URL: http://codereview.chromium.org/519076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35695 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue where we weren't requiring the command-line flag forerikkay@chromium.org2010-01-074-0/+84
| | | | | | | | | | | | experimental API use and weren't requiring that it be declared in the manifest. BUG=31537 TEST=none Review URL: http://codereview.chromium.org/526011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35673 0039d316-1c4b-4281-b951-d872f2087c98
* When RSS feed has no links, show the title (but don't create an anchor).finnur@chromium.org2010-01-063-8/+24
| | | | | | | | | | | This used to show up as blank preview. BUG=None TEST=Covered by (new) automatic tests. Review URL: http://codereview.chromium.org/523029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35587 0039d316-1c4b-4281-b951-d872f2087c98
* Marking Reliability bot failure for V8 during HTML tokenization.ajwong@chromium.org2010-01-051-0/+3
| | | | | | | | | | R=arv BUG=31632 TEST=none Review URL: http://codereview.chromium.org/525034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35556 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux/Mac] clean up the shared memory file on disk used by stats in tests.thomasvl@chromium.org2009-12-301-7/+33
| | | | | | | | BUG=none TEST=files shouldn't be left around. Review URL: http://codereview.chromium.org/518019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35376 0039d316-1c4b-4281-b951-d872f2087c98
* UITest class should derive from PlatformTest instead of testing::Testnirnimesh@chromium.org2009-12-302-3/+3
| | | | | | | | | | This is so that ui tests using UITest have a valid NSAutoreleasePool, which PlatformTest provides, but testing::Test does not. Review URL: http://codereview.chromium.org/519026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35366 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the DB performance tests.dumi@chromium.org2009-12-291-6/+109
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/465141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35355 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for i18n to content scripts.cira@chromium.org2009-12-293-1/+21
| | | | | | | | Auto-updated extension docs. Review URL: http://codereview.chromium.org/522017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35320 0039d316-1c4b-4281-b951-d872f2087c98
* Add some licensing comments under chrome/.evan@chromium.org2009-12-282-2/+5
| | | | | | | | BUG=28291 Review URL: http://codereview.chromium.org/507067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35301 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/501169 for Pavel.antonm@chromium.org2009-12-281-2/+6
| | | | | | | | Add support for 'post_json' url parameter in dromaeo benchmark. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35298 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a known crash since the change causing crash was reverted.kuchhal@chromium.org2009-12-231-3/+0
| | | | | | | | | BUG=30681 TBR=stoyan Review URL: http://codereview.chromium.org/522002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35224 0039d316-1c4b-4281-b951-d872f2087c98
* Make NaCl integration test not flaky - fixed the problem that caused the ↵gregoryd@google.com2009-12-231-3/+1
| | | | | | | | | | | test to fail. BUG=30990 TEST=nacl_ui_test Review URL: http://codereview.chromium.org/519001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35222 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium to use upstream WebPageSerializer instead of glue/DomSerializer.yaar@chromium.org2009-12-231-0/+1
| | | | | | | | See corresponding changes in webkit here: https://bugs.webkit.org/show_bug.cgi?id=31737 Review URL: http://codereview.chromium.org/434087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35216 0039d316-1c4b-4281-b951-d872f2087c98
* Don't inject content scripts into incognito browsers.rafaelw@chromium.org2009-12-232-0/+18
| | | | | | | | | | | This patch prevents content scripts from being injected into incognito profile tabs by only injecting into the same profile in which the extension is running. BUG=21392 TEST=Load chrome/test/data/extensions/api/incognito_no_script and open any url in incognito browser. No page titles should be modified to "modified". Review URL: http://codereview.chromium.org/502079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35203 0039d316-1c4b-4281-b951-d872f2087c98
* Change chromeos build to use viewsoshima@chromium.org2009-12-221-1/+1
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/508025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35186 0039d316-1c4b-4281-b951-d872f2087c98
* Putting back tests that are excluded in bug 28808oshima@chromium.org2009-12-222-11/+0
| | | | | | | | | BUG=28808 TEST=Run ui_tests Review URL: http://codereview.chromium.org/502071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35180 0039d316-1c4b-4281-b951-d872f2087c98
* Check permissions for chrome.tabs.executeScript() in theaa@chromium.org2009-12-225-0/+74
| | | | | | | | | | renderer just before injection to avoid races. BUG=30937 Review URL: http://codereview.chromium.org/509032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35176 0039d316-1c4b-4281-b951-d872f2087c98
* Mark NaClTest.SrpcHelloWorld as flaky.maruel@chromium.org2009-12-221-1/+2
| | | | | | | | | | TEST=none BUG=30990 TBR=gregoryd Review URL: http://codereview.chromium.org/508022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35149 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-221-1/+1
| | | | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35012 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35129 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some valgrind failures.jrg@chromium.org2009-12-211-9/+0
| | | | | | | | | BUG=http://crbug.com/18158, http://crbug.com/30381, http://crbug.com/30371, http://crbug.com/30373 TEST=valgrind bots green. Bookmark bubble still works. Review URL: http://codereview.chromium.org/503064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35100 0039d316-1c4b-4281-b951-d872f2087c98
* Remove signature of fixed V8 crash from the reliability test's knownkmillikin@chromium.org2009-12-211-3/+0
| | | | | | | | | | | crashes list. BUG=30790 TEST=reliability tests Review URL: http://codereview.chromium.org/507060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35084 0039d316-1c4b-4281-b951-d872f2087c98
* Add tab switch test launch arguments directly.chase@chromium.org2009-12-211-1/+9
| | | | | | | | | | BUG=none TEST=tab switching test runs without needing additional arguments Review URL: http://codereview.chromium.org/502091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35083 0039d316-1c4b-4281-b951-d872f2087c98
* Reuse UseReferenceBuild() cleanup in startup test.chase@chromium.org2009-12-211-21/+3
| | | | | | | | | BUG=none TEST=startup test continues running Review URL: http://codereview.chromium.org/507059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35082 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35025 - Revert 34994, maybe it regressed startup perf Fix cpu/memory ↵viettrungluu@chromium.org2009-12-191-1/+6
| | | | | | | | | | | | | | | | | | | measurements on OS X. Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/504068 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/505056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35043 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34994, maybe it regressed startup perf - Fix cpu/memory measurements ↵thakis@chromium.org2009-12-191-6/+1
| | | | | | | | | | | | | | | | on OS X. Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/504068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35025 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35012 - Rearrange build configurations make it clearer and allow ↵gregoryd@google.com2009-12-191-1/+1
| | | | | | | | | | | | | | better support for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/500149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35016 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-191-1/+1
| | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35012 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cpu/memory measurements on OS X.thakis@chromium.org2009-12-181-1/+6
| | | | | | | | | | | Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34994 0039d316-1c4b-4281-b951-d872f2087c98
* Multiple chrome frame activex controls should instantiate and navigate ↵ananta@chromium.org2009-12-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | correctly in IE. This was not the case due to a race condition between put_src getting called for subsequent activex instances and the external tab to hold the chrome frame instance getting created. Fix is to pass in the URL if we have it when the automation client is initialized to launch the chrome automation server. If not we navigate when the external tab is created. To achieve this we stuff in all relevant parameters into a structure which is populated when the automation client is initialized. I also changed the CreateExternalTab message to carry the referrer for the initial navigation. Fixes http://code.google.com/p/chromium/issues/detail?id=28236 Test=added unit tests for the same. The firefox one is not working at this point. Disabled this test for now while I debug it. Bug=28236 Review URL: http://codereview.chromium.org/500123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34985 0039d316-1c4b-4281-b951-d872f2087c98
* Adds bookmarks.getRecent that returns the recently bookmarked items.arv@chromium.org2009-12-181-0/+56
| | | | | | | | | BUG=None TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.FLAKY_Bookmarks Review URL: http://codereview.chromium.org/503053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue with url not being encoded before passing to it Google Reader ↵finnur@chromium.org2009-12-184-20/+48
| | | | | | | | | | | | | | | | | (issue 29929). Also, a little bit more UI polish: Make sure really long titles don't destroy the layout of the subscribe page. Move the Edit/Remove links closer to the combo box. Add a link to the feed page so that people with desktop feed readers can get at the url. BUG=http://crbug.com/29929 TEST=See bug 29929. Review URL: http://codereview.chromium.org/500131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34966 0039d316-1c4b-4281-b951-d872f2087c98