summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* NO CODE CHANGEdeanm@chromium.org2009-03-1049-51/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGE.maruel@google.com2009-03-108-12/+23
| | | | | | | Fix files with lines > 80 cols. Part 2. Review URL: http://codereview.chromium.org/40226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11326 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 11294.mpcomplete@google.com2009-03-093-22/+5
| | | | | | Review URL: http://codereview.chromium.org/40321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11295 0039d316-1c4b-4281-b951-d872f2087c98
* Support loading extensions into the bookmark toolbar.mpcomplete@google.com2009-03-093-5/+22
| | | | | | | | | Misc cleanup: - remove duplicate comments on Extension accessors - remove useless function in ExtensionsService Review URL: http://codereview.chromium.org/39285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11294 0039d316-1c4b-4281-b951-d872f2087c98
* Enable download_request_manager_unittest on linux.estade@chromium.org2009-03-092-3/+10
| | | | | | Review URL: http://codereview.chromium.org/41002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11288 0039d316-1c4b-4281-b951-d872f2087c98
* Changing ForwardMessageToExternalHost to postMessage and passing a propertommi@chromium.org2009-03-096-16/+209
| | | | | | | | | | | | | | | MessageEvent object to the onmessage handler. Also adding support for origin and target parameters. The origin parameter is implicit but target can be specified when calling postMessage. If no target is specified we default to "*". At the moment I'm only allowing target == "*" messages to pass through since I haven't implemented support for matching more complicated patterns :) Review URL: http://codereview.chromium.org/40128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11275 0039d316-1c4b-4281-b951-d872f2087c98
* Add a copy of DOM checker for testing. DOM checker is a tool to help automatepatrick@chromium.org2009-03-095-0/+1471
| | | | | | | | | | | | | | | | | | | domain security policy enforcement. This copy of DOM checker was fetched from: http://lcamtuf.coredump.cx/dom_checker/ Some values in dom_config.js have been changed. There have been no other modifications. In order to automate this test, there will need to be a few more small changes. To more easily see what changes have been made for Chromium, I'm first checking in a clean copy. BUG=6274 Review URL: http://codereview.chromium.org/40234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11264 0039d316-1c4b-4281-b951-d872f2087c98
* Run more unit tests on Linux:phajdan.jr@chromium.org2009-03-091-4/+0
| | | | | | | | | | | | | | | | - used string16 instead of wstring where needed - replaced GetTickCount calls with portable functions from base/time.h - misc GCC cleanups - enabled following unit tests on Linux: browser/autocomplete/history_contents_provider_unittest.cc browser/autocomplete/history_url_provider_unittest.cc browser/autocomplete/keyword_provider_unittest.cc browser/bookmarks/bookmark_html_writer_unittest.cc Review URL: http://codereview.chromium.org/39335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11249 0039d316-1c4b-4281-b951-d872f2087c98
* Add regression test for bug 7900 and necessary infrastructure.phajdan.jr@chromium.org2009-03-092-0/+40
| | | | | | | | | | | | The test simulates following scenario: user opens a local html page with Chrome when a browser instance is already running. The new Chrome process should notify the existing process about new page and exit. Bug 7900 broke this behavior causing the new process to crash. I verified that the ui_tests infrastructure would catch this crash and cause the test to fail. BUG=7900, 8056 Review URL: http://codereview.chromium.org/39257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11247 0039d316-1c4b-4281-b951-d872f2087c98
* Make page_cycler_tests build on Linux (doesn't run successfully yet).phajdan.jr@chromium.org2009-03-095-55/+72
| | | | | | Review URL: http://codereview.chromium.org/40182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11239 0039d316-1c4b-4281-b951-d872f2087c98
* chrome-ui://extensions/ is now populated with data collected from the ↵rafaelw@chromium.org2009-03-097-0/+41
| | | | | | | | ExtensionsService and ExtensionErrorReporter Review URL: http://codereview.chromium.org/39026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11233 0039d316-1c4b-4281-b951-d872f2087c98
* 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