summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Disable crashy PPAPITest.FileIO/FileRef.thestig@chromium.org2010-11-131-8/+4
| | | | | | | | | BUG=63045 TEST=none TBR=darin Review URL: http://codereview.chromium.org/4964001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66049 0039d316-1c4b-4281-b951-d872f2087c98
* Looks like PPAPITest.FileIO fails on Win XP (dbg) too, disable for now...dumi@chromium.org2010-11-131-5/+5
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/4951001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66038 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PPAPITest.FileIO on Mac until I figure out why it fails.dumi@chromium.org2010-11-131-1/+7
| | | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/4949002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66037 0039d316-1c4b-4281-b951-d872f2087c98
* Mark PPAPITest.URLLoader as flakyarv@chromium.org2010-11-131-1/+2
| | | | | | | | BUG=57053 TEST=None. TBR=nrettw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66034 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for some pyauto test flakiness on linux. Tests that use the omniboxace@chromium.org2010-11-134-2/+20
| | | | | | | | | | | | | immediately after creating a new window need to wait for it to be "ready" on linux. **remake of issue4838001 (nuked client, long story) BUG=62783,44203 Review URL: http://codereview.chromium.org/4931001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66024 0039d316-1c4b-4281-b951-d872f2087c98
* Try re-enabling the file-related PPAPI tests. The python server seemsdumi@chromium.org2010-11-131-0/+12
| | | | | | | | | | | to not crash anymore. BUG=none TEST=none Review URL: http://codereview.chromium.org/4869001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66023 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux build.kkania@chromium.org2010-11-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66019 0039d316-1c4b-4281-b951-d872f2087c98
* Mark snapshot tests as FAILS on Linux.kkania@chromium.org2010-11-121-3/+18
| | | | | | Review URL: http://codereview.chromium.org/4923001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66013 0039d316-1c4b-4281-b951-d872f2087c98
* Add tab proxy call for taking a snapshot of the entire page.kkania@chromium.org2010-11-123-0/+189
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3358019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65999 0039d316-1c4b-4281-b951-d872f2087c98
* Add another entry to known_crashes.txt.arv@chromium.org2010-11-121-0/+3
| | | | | | | | | BUG=63009 TEST=None. Review URL: http://codereview.chromium.org/4909001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65980 0039d316-1c4b-4281-b951-d872f2087c98
* Sets lastError when trying to connect or send a request to an invalid extension.jstritar@chromium.org2010-11-123-11/+69
| | | | | | | | | BUG=61998 TEST=ExtensionApiTest.Messaging Review URL: http://codereview.chromium.org/4708006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65977 0039d316-1c4b-4281-b951-d872f2087c98
* Disable history import check since the automation is brokennirnimesh@chromium.org2010-11-121-0/+3
| | | | | | | | | BUG=63001 TEST= Review URL: http://codereview.chromium.org/4816003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65974 0039d316-1c4b-4281-b951-d872f2087c98
* Part 3 of reapplying r64637.erg@google.com2010-11-122-4/+4
| | | | | | | | | | | | | This moves SecurityStyle and PageType into chrome/common/ and removes the chrome_frame dependency on chrome/browser/tab_contents/. This undoes the temporary DEPS hack on chrome/common/. BUG=51409 TEST=compiles Review URL: http://codereview.chromium.org/4697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65965 0039d316-1c4b-4281-b951-d872f2087c98
* Disable safebrowsing for UI tests and browser tests.lzheng@chromium.org2010-11-121-0/+3
| | | | | | | | | BUG=60598 TEST=ui tests and browser tests stay green. Review URL: http://codereview.chromium.org/4731004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65958 0039d316-1c4b-4281-b951-d872f2087c98
* Allow an extension to dynamically set extra data in its update URL, in orderrogerta@chromium.org2010-11-123-0/+50
| | | | | | | | | | | | to communicate dynamic information to its update server if needed. BUG=none TEST=Make sure that existing extensions that do no set any extra data are not adversely affected. Review URL: http://codereview.chromium.org/4725002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65946 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Added some basic extension sync integration tests.akalin@chromium.org2010-11-1210-126/+532
| | | | | | | | | | | | | Refactored theme integration tests to share code with extension integration tests. Fixed a crasher in ExtensionUpdater when run under integration tests. BUG=53531 TEST=New integration tests Review URL: http://codereview.chromium.org/4732005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65911 0039d316-1c4b-4281-b951-d872f2087c98
* Fix path for private data dir used in sync pyauto testsnirnimesh@chromium.org2010-11-121-1/+1
| | | | | | | | I was asked to rename "private" to "pyauto_private" Review URL: http://codereview.chromium.org/4815002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65908 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the login token from webstorePrivate API function return values.asargent@chromium.org2010-11-122-4/+3
| | | | | | | | | | | | | This is to temporarily alleviate some UX and security concerns which we plan to address. We're leaving it in behind a flag so that the webstore engineers can continue to iterate on their end. BUG=62102 TEST=Should be covered by existing tests. Review URL: http://codereview.chromium.org/4834003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65905 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Added a separate type for a sync server for testserver.pyakalin@chromium.org2010-11-122-29/+34
| | | | | | | | | | | | | Made live_sync_test.cc use its own test server instance. Decomped all sync server code into their own classes (SyncHTTPServer and SyncPageHandler). BUG=53934 TEST=sync integration tests Review URL: http://codereview.chromium.org/4209002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65893 0039d316-1c4b-4281-b951-d872f2087c98
* startup: move some browser startup code into BrowserMainevan@chromium.org2010-11-121-29/+0
| | | | | | | | | | | | There was a block of code that was #ifdef LINUX right before our call to BrowserMain(). We can instead put that code into BrowserMain(), which knows how to delegate to multiple platforms. TEST=should be just a refactoring change, all tests should still pass Review URL: http://codereview.chromium.org/4579002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65892 0039d316-1c4b-4281-b951-d872f2087c98
* Made HostZoomMap be deleted on the UI threadakalin@chromium.org2010-11-122-8/+4
| | | | | | | | | | | | | This fixes some DCHECKs in the themes sync integration tests. Re-enable themes sync integration tests. BUG=62779 TEST=themes sync integration tests Review URL: http://codereview.chromium.org/4835001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65884 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove chrome/browser/browser_navigator.* and references.jhawkins@chromium.org2010-11-122-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4840001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65881 0039d316-1c4b-4281-b951-d872f2087c98
* Revise the omnibox extension API so that specifying descriptionStyles is easier.mpcomplete@chromium.org2010-11-111-4/+2
| | | | | | | | | | | | Now each style has a range that it applies to. The styles can also overlap and be listed out of order. BUG=62385 TEST=covered by unit/browser tests Review URL: http://codereview.chromium.org/4660008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65869 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a C++ version of JSONSchemaValidator.aa@chromium.org2010-11-116-0/+75
| | | | | | | | | BUG=none TEST=covered by unit tests Review URL: http://codereview.chromium.org/4673001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65867 0039d316-1c4b-4281-b951-d872f2087c98
* Restrict file protocol on chromeos to certain whitelisted directories. ↵achuith@chromium.org2010-11-112-0/+6
| | | | | | | | | | | Disable this for tests. BUG=chromium-os:3412 TEST=Access file: directories on chromeos. browser, ui, interactive ui and unit tests should continue to pass. Review URL: http://codereview.chromium.org/4160003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65866 0039d316-1c4b-4281-b951-d872f2087c98
* Fix autofill pyauto tests to deal with invalid credit card numbersnirnimesh@chromium.org2010-11-112-13/+25
| | | | | | | | | Autofill model has been changed to strip off non-digit chars in credit card input. Fix pyauto tests expectations. Review URL: http://codereview.chromium.org/4812001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65851 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing themes sync integration tests.rsimha@chromium.org2010-11-112-4/+8
| | | | | | | | | | | | | Some of the integration tests for themes fail due to http://crbug.com/62779. Marking them as FAILS until the bug is fixed. TBR=akalin@chromium.org BUG=62779 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/4809001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65842 0039d316-1c4b-4281-b951-d872f2087c98
* Provide sync integration tests with a way to set a favicon for a bookmark.rsimha@chromium.org2010-11-114-20/+146
| | | | | | | | | | | | | | | | The sync integration test framework does not provide tests with a way to set a favicon for a bookmark and verify that it gets synced. This patch adds a method called SetFavicon, that allows tests to set either a generic favicon, or a variable favicon (using an index) for a bookmark. BUG=57234 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/4749003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65840 0039d316-1c4b-4281-b951-d872f2087c98
* All SSL UI tests work with ephemeral ports.cbentzel@chromium.org2010-11-112-4/+4
| | | | | | | | | | | | | This also changes the testserver text replacement hooks to accept base64 encoded pairs, and to support multiple replacement texts. These changes were needed for some of the "ssl/top_frame.html" based tests, which contained a frame with an HTML page referencing three URLs on three tdifferent test servers. BUG=56814 TEST=browser_tests --gtest_filter="*SSLUI*" Review URL: http://codereview.chromium.org/4664009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65819 0039d316-1c4b-4281-b951-d872f2087c98
* Move base::ThreadLocalPlatform to base::internal::ThreadLocalPlatform.willchan@chromium.org2010-11-111-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4744002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65812 0039d316-1c4b-4281-b951-d872f2087c98
* Add device management test server to net infrastructure.mnissler@chromium.org2010-11-111-0/+3
| | | | | | | | | | | This adds a simple device management server implementation written in python that's useful for unit tests and local testing. BUG=62318 TEST=Compiles and browser tests in device_management_backend_browsertest succeed Review URL: http://codereview.chromium.org/4659002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65783 0039d316-1c4b-4281-b951-d872f2087c98
* Find in page tests by Rohitnirnimesh@chromium.org2010-11-117-5871/+280
| | | | | | | | | | | | | | | | | | | testSearchSelection testSpecialChars testFindInLargePage testFindLongString testFindBigString testRandomFindTests testFindWholeFileContent testSingleOccurrence testSearchInPDF BUG=None TEST=None Review URL: http://codereview.chromium.org/3967003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65755 0039d316-1c4b-4281-b951-d872f2087c98
* Split the private webstore install API into two parts.asargent@chromium.org2010-11-105-48/+64
| | | | | | | | | | | | | | | | | | The first part, beginInstall, must be called during a user gesture. The second part should supply a matching id and actually starts the download and install process. BUG=61954 TEST=Requires webstore server side changes before it can be fully tested. For now, you can test that visiting the webstore and running something like the following command in the javascript console generates an error: chrome.webstorePrivate.beginInstall("mihcahmgecmbnbcchbopgniflfhgnkff") Review URL: http://codereview.chromium.org/4727001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65722 0039d316-1c4b-4281-b951-d872f2087c98
* DownloadItem::NeedsRename should not return true for dangerous downloads.kinuko@chromium.org2010-11-101-5/+1
| | | | | | | | | | | | | Dangerous downloads always have different target_name from its full_path.BaseName(). Returning true from NeedsRename() wrongly makes DownloadManager::DownloadRenamedToFinalName() to call ContinueDownloadFinished() while it's not finished yet. Renamed DownloadItem::NeedsRename() to NeedsRenameForSafeDownload() to avoid further confusion. BUG=62398 TEST=downloads.DownloadsTest.testNoUnsafeDownloadsOnRestart Review URL: http://codereview.chromium.org/4660007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65721 0039d316-1c4b-4281-b951-d872f2087c98
* sync: bake 'explicit' passphrases into the nigori specifics, rathertim@chromium.org2010-11-101-6/+8
| | | | | | | | | | | | | | | than using a local-only preference. Tries to deal with migration from local pref, but some weird cases might require the nuclear option to totally clean things up, since we were erroneously setting the pref even when you would be in "gaia passphrase" mode. Fixes the "same passphrase as gaia password" bug for new users. BUG=62103, 60827, 59867 TEST=unit_tests, integration tests Review URL: http://codereview.chromium.org/4632001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65697 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of reapplying r64637.erg@google.com2010-11-1018-2171/+20
| | | | | | | | | | | | | Move the automation message files from chrome/test/automation to chrome/common/. This requires a temporary override to chrome/common/DEPS until Part 3 lands. BUG=51409 TEST=compiles Review URL: http://codereview.chromium.org/4758001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65695 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for displaying BackgroundContents in the task manager.atwilson@chromium.org2010-11-101-1/+1
| | | | | | | | | | | | Previously BackgroundContents would get created, but since they were not TabContents, they would not show up. BUG=62105 TEST=TaskManagerBrowserTest.NoticeBGContentsChanges Review URL: http://codereview.chromium.org/4760001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65690 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typonirnimesh@chromium.org2010-11-101-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/4662006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65684 0039d316-1c4b-4281-b951-d872f2087c98
* Add facilities to fetch username/passwd credentials from private datanirnimesh@chromium.org2010-11-102-9/+20
| | | | | | | | | | Fetch username/passwd from private data and use in sync tests. BUG=60970 Review URL: http://codereview.chromium.org/4738004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65634 0039d316-1c4b-4281-b951-d872f2087c98
* Moved --use-gl=osmesa to UITest::SetUp so it is not visible to pyautolib.apatrick@chromium.org2010-11-101-8/+11
| | | | | | | | | | | It derives from UITestBase. TEST=ui_tests BUG=62602 Review URL: http://codereview.chromium.org/4662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65616 0039d316-1c4b-4281-b951-d872f2087c98
* Moved --use-gl=osmesa switch out of test_launcher_utils.apatrick@chromium.org2010-11-103-10/+20
| | | | | | | | | | | | | It was affecting tests other than ui_tests and browser_tests, which potentially need to use regular GL. For example, plugins expect to be able to use regular GL with core animation. In the future, we should be able to make more tests use osmesa by allowing a regular GL surface to be read back into an OSMesa surface in AcceleratedSurface on Mac. TEST=ui_tests, browser_tests BUG=62602 Review URL: http://codereview.chromium.org/4761001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65604 0039d316-1c4b-4281-b951-d872f2087c98
* Make browser_tests obey BROWSER_WRAPPER, like how ui_tests do.evan@chromium.org2010-11-101-0/+7
| | | | | | Review URL: http://codereview.chromium.org/4632002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65602 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some obsolete FLAKY_ markers, and add some missing bug referencesstuartmorgan@chromium.org2010-11-093-4/+5
| | | | | | | | | BUG=29020,35221,62143,62595 TEST=N/A Review URL: http://codereview.chromium.org/4759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65589 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=43066ahendrickson@chromium.org2010-11-091-4/+26
| | | | | | | | TEST=Download UI tests are much less flaky on build bots. Review URL: http://codereview.chromium.org/3790010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65542 0039d316-1c4b-4281-b951-d872f2087c98
* Implement device management policy providerdanno@chromium.org2010-11-093-0/+70
| | | | | | | | | BUG=62462 TEST=DeviceManagementPolicyProviderTest* Review URL: http://codereview.chromium.org/4382001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65520 0039d316-1c4b-4281-b951-d872f2087c98
* FileSystem code cleanup 1st cut - does some class renaming.kinuko@chromium.org2010-11-091-1/+1
| | | | | | | | | | | | Renamed FileSystemQuota to FileSystemQuotaManager. Removed PlatFormErrorToFileError in simple_file_system.cc (in favor of webkit_flue::PlatformErrorToFileError) BUG=60243 TEST=none Review URL: http://codereview.chromium.org/4017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65506 0039d316-1c4b-4281-b951-d872f2087c98
* Exploratory Tool for long running and adhoc testing.nirnimesh@chromium.org2010-11-093-0/+413
| | | | | | | | | | | | Sample Test Model Omnibox Test Model BUG=None TEST=None Review URL: http://codereview.chromium.org/4089005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65503 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pyauto tests, to refer to chrome_command_ids.h.nirnimesh@chromium.org2010-11-091-1/+1
| | | | | | | | | | | It was broken in r6545. BUG= TEST= Review URL: http://codereview.chromium.org/4731001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65497 0039d316-1c4b-4281-b951-d872f2087c98
* Add a script to fetch prebuilt binaries for running PyAuto.nirnimesh@chromium.org2010-11-092-0/+178
| | | | | | | | | | | | | | | This script makes it easy to fetch chrome and pyauto binaries from the continuous build archives and setup to run pyauto. Example usage (on Mac): python fetch_prebuilt_pyauto.py -d xcodebuild/Release http://build.chromium.org/f/chromium/continuous/mac/LATEST BUG= TEST= Review URL: http://codereview.chromium.org/4583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65496 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize download path_uniquifier for saved download history items.kinuko@chromium.org2010-11-091-1/+0
| | | | | | | | | BUG=62398 TEST=downloads.DownloadsTest.testDownloadsPersistence (pyauto) Review URL: http://codereview.chromium.org/4694003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65468 0039d316-1c4b-4281-b951-d872f2087c98