summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Win IO Perf Regressionsthomasvl@chromium.org2010-08-181-16/+3
| | | | | | | | | | | | | | | | http://build.chromium.org/buildbot/perf/xp-release-dual-core/moz/report.html?history=150&rev=-1&graph=total_byte_b Revert 56483 - Monitor network change in GoogleURLTracker BUG=48688,15141 TEST=GoogleURLTrackerTest.MonitorNetworkChange passes Review URL: http://codereview.chromium.org/3034018 TBR=ukai@chromium.org Review URL: http://codereview.chromium.org/3176017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DictionaryValue::Equals() to also detect differences in key names.mnissler@chromium.org2010-08-182-8/+8
| | | | | | | | | BUG=52419 TEST=unit tests in values_unittest.cc Review URL: http://codereview.chromium.org/3163020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56536 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor PrefService, pulling the PREF_CHANGED notification infrastructure ↵pam@chromium.org2010-08-181-2/+2
| | | | | | | | | | | | | out so it can be accessed by both the PrefService, for user preferences, and the individal PrefStores, for preferences set "from below" (e.g., by configuration policy changes). BUG=50722 TEST=covered by unit tests Review URL: http://codereview.chromium.org/3052045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56493 0039d316-1c4b-4281-b951-d872f2087c98
* Monitor network change in GoogleURLTrackerukai@chromium.org2010-08-181-3/+16
| | | | | | | | | BUG=48688,15141 TEST=GoogleURLTrackerTest.MonitorNetworkChange passes Review URL: http://codereview.chromium.org/3034018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56483 0039d316-1c4b-4281-b951-d872f2087c98
* Fix failing sync integration tests.rsimha@chromium.org2010-08-182-12/+20
| | | | | | | | | | | | | | | | | | TwoClientLivePreferencesSyncTest.Security was failing due to a couple of EXPECT_NEs that ought to have been EXPECT_EQs. TwoClientLiveAutofillSyncTest.Client1HasData was failing due to a change in autofill behavior introduced in r55781 to fix security bug crbug.com/51727. This changelist also includes a clarification in the logic used by TwoClientLiveAutofillSyncTest.BothHaveData. BUG=51727,51956 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3169019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56469 0039d316-1c4b-4281-b951-d872f2087c98
* sync: take two for:tim@chromium.org2010-08-182-1/+5
| | | | | | | | | | | | | Added classes to enable session sync functionality. TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by : jerrica@chromium.org Original review http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3133022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56462 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56423 - Added classes to enable session sync functionality.tim@chromium.org2010-08-172-5/+1
| | | | | | | | | | | | | | | TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by jerrica@chromium.org Original review: http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3184004 TBR=tim@chromium.org Review URL: http://codereview.chromium.org/3127017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56426 0039d316-1c4b-4281-b951-d872f2087c98
* Added classes to enable session sync functionality.tim@chromium.org2010-08-172-1/+5
| | | | | | | | | | | | TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by jerrica@chromium.org Original review: http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3184004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56423 0039d316-1c4b-4281-b951-d872f2087c98
* Trim down translate tests datasetnirnimesh@chromium.org2010-08-1720-2948/+0
| | | | | | | | | Removing google maps urls since their ajax loads from live web and delays the tests, and there isn't much text in there anyway. Review URL: http://codereview.chromium.org/3194001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56409 0039d316-1c4b-4281-b951-d872f2087c98
* Test server cleanup patch of death:phajdan.jr@chromium.org2010-08-179-52/+42
| | | | | | | | | | | | | | - reduce the number of different classes - clean up the internal code - modify the interface to expose less internal details (this will allow more flexibility with port numbers) TEST=many BUG=49680 Review URL: http://codereview.chromium.org/3080029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56405 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land part of r55416, minus actually moving the test_suite.h contents to a ↵brettw@chromium.org2010-08-174-7/+11
| | | | | | | | | | | | | | | | | | | | | | | .cc file. Cleanup in base. This moves the implementation (and a bunch of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56399 0039d316-1c4b-4281-b951-d872f2087c98
* Reapplies all the IPC system work (reverts the revert r56272).erg@google.com2010-08-171-0/+9
| | | | | | | | | | | That patch wasn't what caused the regression in the page cycler. BUG=51411,52103 TEST=still compiles Review URL: http://codereview.chromium.org/3106018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56390 0039d316-1c4b-4281-b951-d872f2087c98
* Remove remaining deprecated wstring methods from base/values.{cc,h}.viettrungluu@chromium.org2010-08-171-2/+2
| | | | | | | | | BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3109025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56362 0039d316-1c4b-4281-b951-d872f2087c98
* Forbid NaN and infinite numbers in extensions API type validator.skerner@chromium.org2010-08-171-3/+18
| | | | | | | | | BUG=51449 TEST=JsonSchemaTest.TestNumber Review URL: http://codereview.chromium.org/3158015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56350 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove debugger step tests that have been converted into WebKit ↵yurys@chromium.org2010-08-172-41/+0
| | | | | | | | | | layout tests BUG=45080,46299 Review URL: http://codereview.chromium.org/3116015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56347 0039d316-1c4b-4281-b951-d872f2087c98
* Adds tests for IndexedDB's index plumbing.bulach@chromium.org2010-08-174-7/+133
| | | | | | | | TEST=IndexedDBBrowserTest, IndexTest Review URL: http://codereview.chromium.org/3148009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56329 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: convert console tests into WebKit layout testsyurys@chromium.org2010-08-172-61/+0
| | | | | | Review URL: http://codereview.chromium.org/3130022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56319 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize the stack signature for a known crash (since there are several ↵eroman@chromium.org2010-08-171-1/+1
| | | | | | | | | | variants). BUG=52346 TBR=mpcomplete Review URL: http://codereview.chromium.org/3109024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56292 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling previously failing test, adding more preferences tests.rsimha@chromium.org2010-08-171-11/+92
| | | | | | | | | | | Patch from Anna Popinova <annapop@chromium.org>. BUG=none TEST=none Review URL: http://codereview.chromium.org/3109020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56284 0039d316-1c4b-4281-b951-d872f2087c98
* Completely revert all my IPC work to see if this was what regressed the page ↵erg@google.com2010-08-171-9/+0
| | | | | | | | | | | cycler. BUG=51411,52103 TEST=page cycler Review URL: http://codereview.chromium.org/3170020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56272 0039d316-1c4b-4281-b951-d872f2087c98
* Regression fix: Downloads page in Incognito mode works fine now.phajdan.jr@chromium.org2010-08-161-9/+3
| | | | | | | | | | | | | | | Additionally, it fixes another ancient bug that prevented downloads search from working in Incognito mode. The design of DownloadHistory is also nicer now, with no dependencies on DownloadManager. TEST=see bug BUG=51955 Review URL: http://codereview.chromium.org/3112011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56266 0039d316-1c4b-4281-b951-d872f2087c98
* Pyauto test fix: remove infobar countalyssad@chromium.org2010-08-161-1/+0
| | | | | | | | Remove call to WaitForInfobarCount(0) so test doesn't hang on Win and look for better solution. Review URL: http://codereview.chromium.org/3169015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56262 0039d316-1c4b-4281-b951-d872f2087c98
* Fix sync integration tests on Chrome OS.rsimha@chromium.org2010-08-161-7/+11
| | | | | | | | | | | | | | | | The sync integration tests were failing on Chrome OS because we were incorrectly calling OnUserChoseDatatypes() during sync setup. This is something that needs to be done only on non-Chrome OS platforms. With this fix, the sync integration tests should run on Windows, Mac, Linux and Chrome OS. BUG=52006 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3175013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56254 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a reliability bot crash which has been happening sporadically since ↵eroman@chromium.org2010-08-161-0/+3
| | | | | | | | | at least r55814. BUG=52346 Review URL: http://codereview.chromium.org/3157014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56252 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test: use "nexes" property in the embed tag and let the plugin choose ↵gregoryd@google.com2010-08-163-5/+27
| | | | | | | | | | | the right binary to run. BUG=http://code.google.com/p/nativeclient/issues/detail?id=500 TEST=this CL Review URL: http://codereview.chromium.org/3171010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56240 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto fix for declining translation.alyssad@chromium.org2010-08-161-0/+1
| | | | | | | | Closing the infobar after decline translation. Review URL: http://codereview.chromium.org/3160019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56227 0039d316-1c4b-4281-b951-d872f2087c98
* PageCycler: added command line option to vary number of iterations.phajdan.jr@chromium.org2010-08-163-1/+33
| | | | | | | | | | Original review: http://codereview.chromium.org/3005033 Patch by Ahmad Sharif <asharif@google.com>. Review URL: http://codereview.chromium.org/3134014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56225 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated wstring Get(As)String() methods from Value, etc.viettrungluu@chromium.org2010-08-161-2/+4
| | | | | | | | | BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3117017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56187 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove "obviously" unneeded standard C++ library #includes.viettrungluu@chromium.org2010-08-154-10/+3
| | | | | | | | | BUG=none TEST=builds Review URL: http://codereview.chromium.org/3179017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56171 0039d316-1c4b-4281-b951-d872f2087c98
* Make a pref test more robust.nirnimesh@chromium.org2010-08-141-1/+1
| | | | | | | | | | | | | Ignore errors when cleaning up. shutil.rmtree() works by os.listdir() followed by rm'ing each entry. If a file goes missing after os.listdir(), a os.remove will be attempted for it resulting in an exception. In this case it might happen so (in once in a blue moon) because chrome creates temp files while downloading and cleans them up. Review URL: http://codereview.chromium.org/3143017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56149 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup Registry API: part 3.tfarina@chromium.org2010-08-141-1/+1
| | | | | | | | | | | | - Remove the default arguments from the constructor. - Add a empty constructor to handle the case of the default arguments were used. BUG=44644 TEST=trybots Review URL: http://codereview.chromium.org/3172009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56123 0039d316-1c4b-4281-b951-d872f2087c98
* CommandLine: eliminate wstring-accepting AppendLooseValueevan@chromium.org2010-08-134-11/+12
| | | | | | | | Instead use AppendArg variants which accept a FilePath or an ASCII string. Review URL: http://codereview.chromium.org/3134008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56100 0039d316-1c4b-4281-b951-d872f2087c98
* Grant ChromeApplications unlimited appcache and database storage if requested.michaeln@chromium.org2010-08-132-1/+3
| | | | | | | | | BUG=49227,49993 TEST=ExtensionsServiceTest.InstallAppsWithUnlimtedStorage Review URL: http://codereview.chromium.org/3053048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56099 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the extension manifest key "unlimited_storage" to "unlimitedStorage"asargent@chromium.org2010-08-132-1/+7
| | | | | | | | | | | | | But, still accept the old value for backwards compatability. BUG=51970 TEST=Extensions should get unlimited storage quota for localStorage and web databases using either "unlimitedStorage" or "unlimited_storage" in their manifest's permissions key. Review URL: http://codereview.chromium.org/3109013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56090 0039d316-1c4b-4281-b951-d872f2087c98
* Simple offline startup integration test.skrul@chromium.org2010-08-135-10/+190
| | | | | | | | | | This is a simple offline startup integration test. This change also includes the groundwork for more complex offline startup test cases, including the ability to enable and disable network connectivity as well as configure the mock sync server with a username. BUG=47918 Review URL: http://codereview.chromium.org/3078031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56087 0039d316-1c4b-4281-b951-d872f2087c98
* Mark scrollbar test flaky on Mac.brettw@chromium.org2010-08-131-3/+3
| | | | | | | TEST=none BUG=48544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56086 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Forward declare everything possible in testing_profile.herg@google.com2010-08-132-85/+130
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3129007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56053 0039d316-1c4b-4281-b951-d872f2087c98
* Remove toolstrip references from autoupdate browser testasargent@chromium.org2010-08-138-9/+12
| | | | | | | | | BUG=51734 TEST=none (this is changing a browser test - it should successfully run) Review URL: http://codereview.chromium.org/3131012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56052 0039d316-1c4b-4281-b951-d872f2087c98
* Use Environment::SetVar in more places.tfarina@chromium.org2010-08-131-4/+5
| | | | | | | | | | | | Make use of Environment::SetVar API to replace the calls to the Windows function SetEnvironmentVariable. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3076042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55993 0039d316-1c4b-4281-b951-d872f2087c98
* Clone of issue 2941001. See initial review below.twiz@google.com2010-08-122-2/+3
| | | | | | | | | | | | | | http://codereview.chromium.org/2941001 Initial submit broke the chromeos build. This patch includes the original change, and fixes to compile ChromeOs properly. BUG=None TEST=None Review URL: http://codereview.chromium.org/2819086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55951 0039d316-1c4b-4281-b951-d872f2087c98
* Marking Client1HasData test as failed due to bug 51956.rsimha@chromium.org2010-08-121-1/+3
| | | | | | | | | | | | | | The TwoClientLiveAutofillSyncTest.Client1HasData test fails due to bug 51956. Marking it as FAILS until the bug is fixed. TBR=tim@chromium.org BUG=51956 TEST=TwoClientLiveAutofillSyncTest.Client1HasData Review URL: http://codereview.chromium.org/3146013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55948 0039d316-1c4b-4281-b951-d872f2087c98
* remove toolstripserikkay@chromium.org2010-08-1221-403/+2
| | | | | | | | | | | BUG=51703 BUG=30178 BUG=25106 TEST=none Review URL: http://codereview.chromium.org/3129003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55921 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r55750. Broke AppApiTest.*.aa@chromium.org2010-08-123-2/+36
| | | | | | | TBR=mpcomplete@chromium.org BUG=49234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55909 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a browser_test for IndexedDB.bulach@chromium.org2010-08-123-0/+99
| | | | | | | | TEST=indexed_db_browsertest.cc Review URL: http://codereview.chromium.org/3061057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55859 0039d316-1c4b-4281-b951-d872f2087c98
* Add token serialization to token_service.chron@chromium.org2010-08-123-0/+43
| | | | | | | | | | | | | | | The token service now supports serialization of tokens into the web database. The token service doesn't actually know the email of the user though, and it's assumed that whoever is using the token service does. Not sure whether that's a bad choice or not, open to suggestions. This CL adds a new DB table. Design comments / corrections are welcome. Testing in Chromium OS is in progress and not yet done. This CL will not be submitted prior to more Chromium OS testing. BUG=47092,47093 TEST=Unit tests included Review URL: http://codereview.chromium.org/3061025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55835 0039d316-1c4b-4281-b951-d872f2087c98
* Adding tts experimental extensions apichaitanyag@chromium.org2010-08-123-0/+39
| | | | | | Review URL: http://codereview.chromium.org/2969005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55822 0039d316-1c4b-4281-b951-d872f2087c98
* Adding automation for Pri0 and Pri1 test cases for syncing Chrome preferences.rsimha@chromium.org2010-08-121-4/+467
| | | | | | | | | | | Patch from Anna Popivanova <annapop@chromium.org>. BUG=none TEST=none Review URL: http://codereview.chromium.org/3047050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55818 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test for "native_client" permission for extensions.gregoryd@google.com2010-08-112-0/+49
| | | | | | | | | BUG=45881 TEST=this CL Review URL: http://codereview.chromium.org/3064048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55775 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a profile.GetAppCacheService() accessor and add two helper methods ↵michaeln@chromium.org2010-08-111-0/+1
| | | | | | | | | | | to ChromeAppCacheService to override the default quota for an origin. BUG=49993 TESTS=existing tests apply Review URL: http://codereview.chromium.org/2819091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55773 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r55750aa@chromium.org2010-08-112-36/+0
| | | | | | TBR=mirandac@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55761 0039d316-1c4b-4281-b951-d872f2087c98