summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Revert change 11199 because it breaks the page cyclersnsylvain@chromium.org2009-03-075-72/+55
| | | | | | | | | | on windows. My theory is that the GURL in RunPageCycler is not correct. (Missing a "/" maybe.) Review URL: http://codereview.chromium.org/40268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11200 0039d316-1c4b-4281-b951-d872f2087c98
* Make page_cycler_tests build on Linux (doesn't run successfully yet).phajdan.jr@chromium.org2009-03-075-55/+72
| | | | | | Review URL: http://codereview.chromium.org/40182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11199 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude more IPC tests from purify buildbot. Looks like one of the tests ↵jam@chromium.org2009-03-071-2/+2
| | | | | | | | | using TimeoutServer has a leak because the threads don't get to run for enough time. BUG=8469 Review URL: http://codereview.chromium.org/39294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11181 0039d316-1c4b-4281-b951-d872f2087c98
* Start the crash_service on windows when running ui tests, if it's not ↵jam@chromium.org2009-03-062-44/+106
| | | | | | | | running already. Otherwise there's no point in running ui_tests! Review URL: http://codereview.chromium.org/39282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11172 0039d316-1c4b-4281-b951-d872f2087c98
* Add url to AutomationMsg_DidNavigate amit@chromium.org2009-03-061-1/+1
| | | | | | | | | | Automation clients can now find out the url navigated to instead of just index in the history. Review URL: http://codereview.chromium.org/39205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11159 0039d316-1c4b-4281-b951-d872f2087c98
* Added a test for testing standalone installer.anantha@chromium.org2009-03-065-34/+179
| | | | | | | | Automated the steps listed at: https://sites.google.com/a/google.com/chrome-pmo/standalone-installers/testing-standalone-installers Review URL: http://codereview.chromium.org/39150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11138 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the golden file. JSON files should end in CRLF ontc@google.com2009-03-052-19/+19
| | | | | | | | | | | all platforms. Also, we sort dictionary keys by value so the path moved. BUG=8339 Review URL: http://codereview.chromium.org/39174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11020 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary typedef keywords that make gcc 4.3 unhappy.avi@chromium.org2009-03-051-2/+2
| | | | | | | | | | Committed on behalf of Craig Schlenter. http://codereview.chromium.org/40158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11015 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-0516-101/+101
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup_test failures on Windows buildbot.phajdan.jr@chromium.org2009-03-051-3/+16
| | | | | | | | | | | | | The problem seems to be an error when overwriting file which is in use (that's how EvictFileFromSystemCache works on Windows). So I used a standard workaround for such Windowsic problems and created a wrapper which retries 10 times. Similar code was there before my porting patch. TBR=agl Review URL: http://codereview.chromium.org/40160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10981 0039d316-1c4b-4281-b951-d872f2087c98
* Make startup_tests build and run on Linux (except reference tests).phajdan.jr@chromium.org2009-03-059-111/+129
| | | | | | Review URL: http://codereview.chromium.org/27240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10978 0039d316-1c4b-4281-b951-d872f2087c98
* Make UITest::CrashAwareSleep portable.phajdan.jr@chromium.org2009-03-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/40119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10916 0039d316-1c4b-4281-b951-d872f2087c98
* It appears that ExtensionViewTest is behind a few bugs on the purify unit ↵erikkay@google.com2009-03-041-1/+4
| | | | | | | | | | | test bot. It's causing it to crash some of the time, and causing some UMRs and MLKs. TBR=mpcomplete,deanm BUG=8362,8363,8314 Review URL: http://codereview.chromium.org/40111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10890 0039d316-1c4b-4281-b951-d872f2087c98
* Commit http://codereview.chromium.org/27037aa@chromium.org2009-03-042-251/+132
| | | | | | | | | Implement GM_xmlhttpRequest Review URL: http://codereview.chromium.org/39121 Patch from Steve Krulewitz <skrulx@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10886 0039d316-1c4b-4281-b951-d872f2087c98
* Add a set of long-running metrics to Chrome that are sent up only at ↵robertshield@google.com2009-03-041-0/+3
| | | | | | | | uninstall time via the uninstall survey page.These uninstall metrics are collected according to the same opt-in policy as the existing UMA code. They are stored along with other prefs in the browser's Local State file. At uninstall time, the Local State file is copied to a temporary location during the file deletion stage and then read to extract the uninstall metrics. If the user selected to have metrics reported, the uninstall metrics are then sent up to the uninstall survey page that is currently opened. Review URL: http://codereview.chromium.org/27092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10859 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath setter/getter to pref service. Change callers to use it rather ↵estade@chromium.org2009-03-045-5/+6
| | | | | | | | | | | | | than the string methods. Update the pref service unit test and enable it on linux. Also switch over some wstrings to filepaths where appropriate. BUG=8154 Review URL: http://codereview.chromium.org/27354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10844 0039d316-1c4b-4281-b951-d872f2087c98
* Updating line endings.robertshield@google.com2009-03-031-7/+7
| | | | | | Review URL: http://codereview.chromium.org/40055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10822 0039d316-1c4b-4281-b951-d872f2087c98
* Enables bookmark_model_unittest on Mac and Linux.avi@chromium.org2009-03-031-1/+0
| | | | | | | | | | Committed on behalf of rohitrao. http://codereview.chromium.org/28299/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10813 0039d316-1c4b-4281-b951-d872f2087c98
* Add a macutil for the main app bundle and overridethomasvl@chromium.org2009-03-031-0/+14
| | | | | | | | | | | | - provide apis to get and override the app bundle - w/in the core code, use this api for fetching the bundle - render sandbox config - resource bundles - test shell font - w/in the unittest boot straps, use the mac util to override the bundle so resources can be found. Review URL: http://codereview.chromium.org/28214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10798 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break take 2jam@chromium.org2009-03-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10776 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break.jam@chromium.org2009-03-031-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10775 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expose --single-process and --in-process-plugins for official Chrome ↵jam@chromium.org2009-03-033-13/+0
| | | | | | | | releases. Review URL: http://codereview.chromium.org/28347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10771 0039d316-1c4b-4281-b951-d872f2087c98
* Register an onmessage handler with the external host binding instead of ↵ananta@chromium.org2009-03-033-5/+1
| | | | | | | | | | | explicitly passing in a target Javascript function to execute. The onmessage handler is a one argument Javascript function for now. Review URL: http://codereview.chromium.org/28291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10760 0039d316-1c4b-4281-b951-d872f2087c98
* Add reliability test data (known crashes).patrick@chromium.org2009-03-031-0/+76
| | | | | | Review URL: http://codereview.chromium.org/28330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10756 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the RenderThread:: message leaks from the known leak list.jam@chromium.org2009-03-031-99/+0
| | | | | | Review URL: http://codereview.chromium.org/27359 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10752 0039d316-1c4b-4281-b951-d872f2087c98
* Proposed change to support resource loading for media files.hclam@chromium.org2009-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlights of changes: - Added methods to disk_cache::Entry: - Entry::PrepareTargetAsExternalFile(int index) Prepare a stream in an entry to use external file for storage. - Entry::GetExternalFile(int index) Get the external file backing the stream in the entry. - Added a property "CacheType type_" to HttpCache, along with setter and getter. There shall be two cache types, COMMON_CACHE and MEDIA_CACHE for distinguishing between different purpose of HttpCache. We have this property to trigger special behavior for caching needs of media files. - Added static methods to ChromeURLRequestContext - ChromeURLRequestContext::CreateOriginalForMedia Create a URLRequestContext for media files for the original profile. - ChromeURLRequestContext::CreateOffTheRecordForMedia Create a URLRequestContext for media files for off the record profile. - Added method to Profile interface. - GetRequestContextForMedia To get the request context for media files from the context. Design decissions: - Enforce writing to external file by calling methods to Entry rather than construct Backend by a different flag. Since we only want a valid and full response to go into an external file rather than redirection response or erroneous response, we should let HttpCache::Transaction to decide when to have an external file for response data. We eliminate a lot of useless external cache files. - Adding the CacheType enum and property to HttpCache, we could allow possible (?) future extensions to HttpCache to handle other different caching needs. And there's no need to add change constructors of HttpCache, but maybe we should add a specific constructor to accomodate a media HttpCache? - Adding Profile::GetRequestContextForMedia() Since we will need to use this new request context in ResourceDispatcherHost, I think the best place to keep it is in the profile. Also we will expose to user that there's a separate cache for media, so it's better to expose it in the Profile level to allow settings to the media cache, e.g. max file size, etc. Review URL: http://codereview.chromium.org/19747 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10745 0039d316-1c4b-4281-b951-d872f2087c98
* Port SortedDisplayURL, fix up some chrome_font_{gtk,skia} bugs, port ↵estade@chromium.org2009-03-021-1/+0
| | | | | | | | | text_elider_unittest. BUG=8061 Review URL: http://codereview.chromium.org/28285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10736 0039d316-1c4b-4281-b951-d872f2087c98
* Add site_instance_unittest.cc to the Posix build.jhawkins@chromium.org2009-03-021-1/+0
| | | | | | Review URL: http://codereview.chromium.org/27299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10726 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded macros that required WTL includes.maruel@chromium.org2009-03-021-3/+0
| | | | | | | TBR=deanm Review URL: http://codereview.chromium.org/27348 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10723 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IPCSyncChannelTest.ChattyServer from purify unit tests because it ↵jam@chromium.org2009-02-281-0/+3
| | | | | | | | | takes half the time. TBR=erikkay Review URL: http://codereview.chromium.org/28300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10681 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side to pick up new WebKit API changes.darin@chromium.org2009-02-282-3/+3
| | | | | | | | | | | | | | | | | | | | | WebKit API now provides: - layoutTestMode - support for registering extra local URL schemes - access to the current WebKitClient WebKitClient was extended to include: - access to the default locale - access to the current time - methods to start/stop the shared timer - method to get work scheduled on the main thread - methods to access cookies - method to prefetch hostnames R=dglazkov Review URL: http://codereview.chromium.org/27276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10665 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of wstring variants of StringToFoo.dsh@google.com2009-02-282-6/+5
| | | | | | Review URL: http://codereview.chromium.org/28281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10664 0039d316-1c4b-4281-b951-d872f2087c98
* Does two changes to appease chrome bot runs:sky@google.com2009-02-281-0/+1
| | | | | | | | | | | | | | | | | . Changes InfoBubble to properly initialize all fields in member initializer list and set the delegate before show on the off chance the bubble is deleted from show. This should no longer happen after the second change. . Only show the bookmark bubble if the browser window is active. I experimented with conditionally enabling the star and this turns out to be a bit error prone. BUG=none TEST=none Review URL: http://codereview.chromium.org/31016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10659 0039d316-1c4b-4281-b951-d872f2087c98
* Wires up sorting of bookmarks to the 'organize menu' in the bookmarksky@google.com2009-02-271-0/+2
| | | | | | | | | | | | | manager (Glen says no context menus for now). All BookmarkModelObservers have been updated appropriately. BUG=1750 TEST=bring up the bookmark manager and try the 'Reorder by title' menu item, make sure it works and I didn't screw up anything around it. Review URL: http://codereview.chromium.org/27262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10633 0039d316-1c4b-4281-b951-d872f2087c98
* Prototype extension process. This is a proof of concept, with a lot ofmpcomplete@google.com2009-02-272-0/+9
| | | | | | | | | | rough edges. Mostly this just fires up a renderer with an "extension" object exposed, which right now only has a single method "getTestString". I also did some misc cleanup along the way. Review URL: http://codereview.chromium.org/27187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10620 0039d316-1c4b-4281-b951-d872f2087c98
* Add --log-level to the list of flags accepted by UI tests.patrick@chromium.org2009-02-273-0/+14
| | | | | | Review URL: http://codereview.chromium.org/27264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10614 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce new id format (hex str of sha-1)erikkay@google.com2009-02-265-4/+4
| | | | | | Review URL: http://codereview.chromium.org/27236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10529 0039d316-1c4b-4281-b951-d872f2087c98
* Revert brett's code, for real this time.nsylvain@chromium.org2009-02-261-2/+1
| | | | | | Review URL: http://codereview.chromium.org/28224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10517 0039d316-1c4b-4281-b951-d872f2087c98
* More URL constants replacement.brettw@chromium.org2009-02-261-1/+2
| | | | | | Review URL: http://codereview.chromium.org/28170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10487 0039d316-1c4b-4281-b951-d872f2087c98
* properly initialize resource manager on mac for unittests.thomasvl@chromium.org2009-02-261-9/+0
| | | | | | Review URL: http://codereview.chromium.org/28185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10479 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test case to be sure that InstallerUtil::IsOSSupported returnsnsylvain@chromium.org2009-02-261-0/+6
| | | | | | | | | | true for all the versions we support (or test on) bug: 7735 Review URL: http://codereview.chromium.org/27171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10444 0039d316-1c4b-4281-b951-d872f2087c98
* fix unit_tests and perf_tests on linuxtc@google.com2009-02-262-0/+2
| | | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/27189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10429 0039d316-1c4b-4281-b951-d872f2087c98
* Auto install and update extensions from a registry defined location. This ↵erikkay@google.com2009-02-261-0/+0
| | | | | | | | allows developers to install a chrome extension and manage its update process completely indepdendently of Chrome's built-in mechanism. Review URL: http://codereview.chromium.org/28040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10412 0039d316-1c4b-4281-b951-d872f2087c98
* Don't send the receiver function name in the ↵ananta@chromium.org2009-02-251-4/+1
| | | | | | | | | | ExternalHostBindings::ForwardMessageToExternalHost CPP binding exposed for sending messages from Chrome to an external host, Review URL: http://codereview.chromium.org/27125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10407 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Disabling tests that are failing."kuchhal@chromium.org2009-02-251-13/+11
| | | | | | | | | | | | | Enabling plugin tests as they seem to be running fine on local machine. Lets see how they do on buildbot. TBR=pkasting BUG=7983 Review URL: http://codereview.chromium.org/27167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10385 0039d316-1c4b-4281-b951-d872f2087c98
* Import .gyp files into the Chromium treemark@chromium.org2009-02-251-0/+26
| | | | | | Review URL: http://codereview.chromium.org/27158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: server side backing storesagl@chromium.org2009-02-252-0/+9
| | | | | | | | | | | | | | | | | | This converts Linux to using server-side backing stores. Rather than keeping a backing store in heap memory in the browser, we create a pixmap in the X server. This means that expose messages don't require us to transport any images to the X server, we can just direct it to paint from the pixmap. Also, scrolling can be performed server side also. This greatly improves performance over remote X. Also, shared memory transport to the X server is implemented. Shared memory segments can be created in the renderer and mapped directly into the X server. Review URL: http://codereview.chromium.org/27147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10369 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all places where we used the GetWinVersion functionnsylvain@chromium.org2009-02-251-2/+2
| | | | | | | | | incorrectly. bug:7802 Review URL: http://codereview.chromium.org/28128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10366 0039d316-1c4b-4281-b951-d872f2087c98
* Trying again to land this CL that makes the browser focus UI tests in process.jcampan@chromium.org2009-02-255-8/+143
| | | | | | | TBR=sky Review URL: http://codereview.chromium.org/27122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10336 0039d316-1c4b-4281-b951-d872f2087c98
* Make basic bits of chrome/test/automation build on Linux.phajdan.jr@chromium.org2009-02-259-85/+118
| | | | | | Review URL: http://codereview.chromium.org/27060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10331 0039d316-1c4b-4281-b951-d872f2087c98