summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add 30790 to known crash to turn reliability bot green.huanr@chromium.org2009-12-181-0/+3
| | | | | | Review URL: http://codereview.chromium.org/505051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34960 0039d316-1c4b-4281-b951-d872f2087c98
* Enable windowless-based npapi_test_plugin tests on the Mac.stuartmorgan@chromium.org2009-12-182-2/+3
| | | | | | | | | BUG=30488 TEST=N/A Review URL: http://codereview.chromium.org/501074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34959 0039d316-1c4b-4281-b951-d872f2087c98
* Rename a conflicting trace.chase@chromium.org2009-12-181-1/+2
| | | | | | | | | | | | | After r34888, there were two warm/t traces. Rename the latter to be extension_empty to match the other extension-related traces. BUG=22287 TEST=mac startup perf goes green Review URL: http://codereview.chromium.org/506067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34910 0039d316-1c4b-4281-b951-d872f2087c98
* [More BTP includes.]erg@google.com2009-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | Uninstall themes when all theme infobars are gone; not on each infobar's destruction. There are multiple problems with the current implementation: - It handles multiple tabs with theme install infobars badly. - It has a subtle race condition where installing a second theme, and then installing the original theme (note: not clicking undo) uninstalled both themes. Instead, only uninstall unused themes when all infobars are closed down. BUG=none TEST=Install theme A. Install theme B. Install theme A. Restart chrome. Theme A should show. TEST=Install theme A in window 1. Install theme B in window 2. Install theme C in window 3. Clicking undo in any of those windows in any order should work. Previous Review URL: http://codereview.chromium.org/504052 Review URL: http://codereview.chromium.org/501096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34900 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Preload the visited link db on the file thread if the file exists."tony@chromium.org2009-12-171-1/+0
| | | | | | | | | | | | There are ui_test crashes with this change. This reverts commit r34874. TBR=mirandac Review URL: http://codereview.chromium.org/502063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34892 0039d316-1c4b-4281-b951-d872f2087c98
* TBR: Revert to fix Chromos.erg@google.com2009-12-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34891 0039d316-1c4b-4281-b951-d872f2087c98
* Uninstall themes when all theme infobars are gone; not on each infobar's ↵erg@google.com2009-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | destruction. There are multiple problems with the current implementation: - It handles multiple tabs with theme install infobars badly. - It has a subtle race condition where installing a second theme, and then installing the original theme (note: not clicking undo) uninstalled both themes. Instead, only uninstall unused themes when all infobars are closed down. BUG=none TEST=Install theme A. Install theme B. Install theme A. Restart chrome. Theme A should show. TEST=Install theme A in window 1. Install theme B in window 2. Install theme C in window 3. Clicking undo in any of those windows in any order should work. Review URL: http://codereview.chromium.org/504052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34890 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable startup tests on Mac since process leak bug fixed.jrg@chromium.org2009-12-171-6/+0
| | | | | | | | BUG=http://crbug.com/22287 Review URL: http://codereview.chromium.org/505041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34888 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using sendRequest instead of postMessage.finnur@chromium.org2009-12-177-15/+38
| | | | | | | | | | | | Fix a bug causing the page action onClick handler not to work (only affects certain Linux builds that don't have PageAction popup support, all other builds use the Popup). Added copyright header. BUG=None TEST=None Review URL: http://codereview.chromium.org/500024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34883 0039d316-1c4b-4281-b951-d872f2087c98
* There were a number of new crashes in reliability test runs in flash after ↵ananta@chromium.org2009-12-171-3/+0
| | | | | | | | | | | | | | | | | | | | | revision 34593. The crash occured while dereferencing an invalid g_current_plugin_instance global which points to the last plugin instance we yield control to. We maintain a local global stack for this variable which ensures that it gets set and reset correctly in nested invocations. Turns out that this broke in a recent change which caused the global to not get reset at times, thus leading to a crash when it was dereferenced. I also changed the code which maintains the local global stack in NativeWndProc to only do this before we invoke the plugin wndproc via CallWindowProc. The other cases like ThrottleMessage don't need to do this as they don't yield control to the plugin. Fixes http://code.google.com/p/chromium/issues/detail?id=30607 Bug=30607 Review URL: http://codereview.chromium.org/503037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34875 0039d316-1c4b-4281-b951-d872f2087c98
* Preload the visited link db on the file thread if the file exists.tony@chromium.org2009-12-171-0/+1
| | | | | | | | | | Otherwise, just load like normal on the UI thread. BUG=24163 Review URL: http://codereview.chromium.org/502005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34874 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the CLD CL altogether, the reliability bot is still red.jcampan@chromium.org2009-12-175-48/+576
| | | | | | | | | BUG=30681 TEST=None TBR=brettw Review URL: http://codereview.chromium.org/504048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34867 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix an object destruction ordering problem in TabStripControllerTest.rohitrao@chromium.org2009-12-171-1/+1
| | | | | | | | BUG=http://crbug.com/30397 TEST=Valgrind should still be happy. Review URL: http://codereview.chromium.org/502020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34864 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize api_tests directory.aa@chromium.org2009-12-1792-22/+21
| | | | | | | | | | This reapplies 34794 and 34779 with one additional fix, which were reverted by 34798. TBR=mpcomplete@chromium.org BUG=30507 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34862 0039d316-1c4b-4281-b951-d872f2087c98
* Outputting aggregated information for Dromaeo tests.antonm@chromium.org2009-12-171-4/+23
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34848 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix a leak in BrowserWindowCocoaTest.rohitrao@chromium.org2009-12-171-2/+0
| | | | | | | | BUG=http://crbug.com/30382 TEST=Valgrind mac should stay happy. Review URL: http://codereview.chromium.org/506055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34844 0039d316-1c4b-4281-b951-d872f2087c98
* Generelize suppression pattern for crash.stoyan@chromium.org2009-12-171-1/+1
| | | | | | | | BUG=30607 TBR=ananta Review URL: http://codereview.chromium.org/504047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34841 0039d316-1c4b-4281-b951-d872f2087c98
* Marking NPAPITester.SelfDeletePluginInvoke as flaky.mirandac@chromium.org2009-12-171-1/+2
| | | | | | | | BUG= 30702 TEST= none Review URL: http://codereview.chromium.org/506056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34838 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress bug 30681 in reliability.stoyan@chromium.org2009-12-171-0/+4
| | | | | | | | TBR=stuartmorgan BUG=30681 Review URL: http://codereview.chromium.org/503043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34832 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling browser tests that are testing the language detection,jcampan@chromium.org2009-12-171-0/+4
| | | | | | | | | | | | since language detection is temporarily disabled. BUG=30662 TEST=None TBR=brettw Review URL: http://codereview.chromium.org/504041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34818 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress more NPAPI tests for mac valgrind.hamaji@chromium.org2009-12-171-0/+4
| | | | | | | | | | BUG=30661 TEST=none TBR=stuartmorgan Review URL: http://codereview.chromium.org/502049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34815 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress NPAPI tests for mac valgrind.hamaji@chromium.org2009-12-171-0/+15
| | | | | | | | | | BUG=30661 TEST=none TBR=stuartmorgan Review URL: http://codereview.chromium.org/503040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34814 0039d316-1c4b-4281-b951-d872f2087c98
* Add WorkerTest.FLAKY_SharedWorkerFastLayoutTests into exclude list.hamaji@chromium.org2009-12-171-0/+1
| | | | | | | | | BUG=30360 TEST=none Review URL: http://codereview.chromium.org/503039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34813 0039d316-1c4b-4281-b951-d872f2087c98
* Use GetSwitchValueASCII, so we don't use the deprecated versions.evan@chromium.org2009-12-171-8/+6
| | | | | | | | Patch from Thiago Farina <thiago.farina@gmail.com>. Review URL: http://codereview.chromium.org/498002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34811 0039d316-1c4b-4281-b951-d872f2087c98