summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Allow window.close() in background pages.tessamac@chromium.org2011-09-073-0/+16
| | | | | | | | | | BUG=81759 TEST=None Review URL: http://codereview.chromium.org/7830046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99910 0039d316-1c4b-4281-b951-d872f2087c98
* Add link URL and success/failure callback parameters to ↵mihaip@chromium.org2011-09-075-4/+128
| | | | | | | | | | | | | | | | | | | | | chrome.webstore.install() The link URL is used to select between multiple <link rel="chrome-webstore-item"> elements on the page. To keep track of callbacks, an install ID is generated at the start of each chrome.webstore.install() call, so that the browser knows which ones to invoke when an install completes. Also adds validation of install requesting URL against the item's verified domain (wasn't done until now since it wasn't testable). R=aa@chromium.org BUG=93380 Review URL: http://codereview.chromium.org/7795032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99889 0039d316-1c4b-4281-b951-d872f2087c98
* Make panel adjust bounds per preferred size change notification on Windows.jianli@chromium.org2011-09-071-0/+18
| | | | | | | | BUG=none TEST=new browser test Review URL: http://codereview.chromium.org/7537030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99880 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move collected cookies constrained window to TabContentsWrapper.erg@chromium.org2011-09-071-1/+2
| | | | | | | | | | | | | | To split the ConstrainedWindow feature off of TabContents entirely (moving it to a helper object on TabContentsWrapper), I'll need to first make each constrained window TabContentsWrapper aware first. I started just hacking BUG=95257 TEST=compiles Review URL: http://codereview.chromium.org/7831051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99872 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto remote_host Mac fixes - compatibility with python2.5 and Mac socket ↵dtu@chromium.org2011-09-061-3/+6
| | | | | | | | | | | shutdown behavior. BUG=None. TEST=Run PyAuto remote_host/chromoting_basic on Mac. Review URL: http://codereview.chromium.org/7841010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99845 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the DeletePluginInDeallocate test on Mac.wez@chromium.org2011-09-061-1/+8
| | | | | | | | BUG=95558 Review URL: http://codereview.chromium.org/7840011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99821 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off OutOfProcessPPAPITest.PostMessage on Windows.dmichael@chromium.org2011-09-061-0/+3
| | | | | | | | | | BUG=95557 TEST=None TBR=dmichael Review URL: http://codereview.chromium.org/7837009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99819 0039d316-1c4b-4281-b951-d872f2087c98
* Preliminary work to allow Chrome to build with USE_AURA.ben@chromium.org2011-09-061-1/+1
| | | | | | | | | | This gets browser.lib to build. http://crbug.com/93947 TEST=none Review URL: http://codereview.chromium.org/7834048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99787 0039d316-1c4b-4281-b951-d872f2087c98
* Reland http://codereview.chromium.org/7821001/dmichael@chromium.org2011-09-061-5/+1
| | | | | | | | | | | | Add test for calling PostMessage during Init. Deflakify TestPostMessage. BUG=93260,91768 TEST=This test TBR=dmichael Review URL: http://codereview.chromium.org/7834049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99785 0039d316-1c4b-4281-b951-d872f2087c98
* Fix browser.BrowserTest.testBasicsnirnimesh@chromium.org2011-09-061-0/+1
| | | | | | | | | | | | Because I'm dumb. TBR=dennisjeffrey@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7837003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99768 0039d316-1c4b-4281-b951-d872f2087c98
* Include chrome version info in a testnirnimesh@chromium.org2011-09-061-0/+1
| | | | | | | | | | | | | This is so that there's an easy way to figure out the chrome version used in an run on chromeos. R=dennisjeffrey@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7834050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99764 0039d316-1c4b-4281-b951-d872f2087c98
* Add DeletePluginInDeallocate UI test.wez@chromium.org2011-09-063-2/+72
| | | | | | | | | BUG=94179 TEST= Review URL: http://codereview.chromium.org/7806020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99762 0039d316-1c4b-4281-b951-d872f2087c98
* Add crash signature for ShutdownWatchDogThread::Alarm.yoz@chromium.org2011-09-061-0/+2
| | | | | | | | | BUG=95506 TEST=none Review URL: http://codereview.chromium.org/7739035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99750 0039d316-1c4b-4281-b951-d872f2087c98
* Mark tab_switching_tests as FAILS_ on Windows.siggi@chromium.org2011-09-061-2/+11
| | | | | | | | | | | These tests have been failing consistently on XP and Vista Interactive Perf buildbots since before ~r98000. This is a revert of http://crrev.com/55709, which re-enabled these tests. BUG=46751 TEST=bots return to green. Review URL: http://codereview.chromium.org/7737037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99749 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser_tests for FileAPI with Quota, and remove unlimited access for ↵dmikurube@chromium.org2011-09-067-0/+187
| | | | | | | | | | | | file:/// when allow_file_access_from_files. BUG=95120 TEST=browser_tests:FileSystemBrowserTest* Review URL: http://codereview.chromium.org/7715024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99726 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ExtensionDispatcher to ExtensionRendererContext because:aa@chromium.org2011-09-062-5/+6
| | | | | | | | | | | | | a) It isn't really about dispatching anything. b) The term 'dispatcher' already refers to dispatching extension API requests in the extension system. Rename ExtensionHelper to ExtensionRenderViewHelper just to be more explicit. I keep forgetting what it does. Review URL: http://codereview.chromium.org/7779020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99705 0039d316-1c4b-4281-b951-d872f2087c98
* Disable testDisableEnableAllPlugins on winnirnimesh@chromium.org2011-09-051-0/+2
| | | | | | | | TBR=dennisjeffrey BUG=87811 TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99647 0039d316-1c4b-4281-b951-d872f2087c98
* Do not run testAutoCompleteForNonAsciiSearch on Chromium botsnirnimesh@chromium.org2011-09-051-0/+2
| | | | | | | | TBR=dennisjeffrey BUG=85310 TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99645 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused g_timeout_ms from PageLoadTest codetimurrrr@chromium.org2011-09-031-15/+0
| | | | | | | | TEST=trybots Review URL: http://codereview.chromium.org/7825029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99576 0039d316-1c4b-4281-b951-d872f2087c98
* Disable testFullScreen on chromeosnirnimesh@chromium.org2011-09-031-0/+3
| | | | | | | | | | | TBR=tturchetto@chromium.org BUG=chromium-os:20025 TEST= Review URL: http://codereview.chromium.org/7800020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99559 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected plugin list on chromeosnirnimesh@chromium.org2011-09-031-15/+48
| | | | | | | | | | | R=krisr@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7833010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99512 0039d316-1c4b-4281-b951-d872f2087c98
* Add reliability supression for crash in net::NetworkDelegate.dyu@chromium.org2011-09-031-0/+4
| | | | | | | | BUG=95289 TEST=none Review URL: http://codereview.chromium.org/7828069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99496 0039d316-1c4b-4281-b951-d872f2087c98
* Added testAppSearch and testAutoCompleteForNonAsciiSearch new pyauto tests ↵vivianz@chromium.org2011-09-031-0/+30
| | | | | | | | in omnibox.py Review URL: http://codereview.chromium.org/7111018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99480 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flaky NaCl SRPC integration tests.ncbray@google.com2011-09-031-0/+12
| | | | | | | | | BUG= none TEST= none Review URL: http://codereview.chromium.org/7835008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99477 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98946 - New windows opened in javascript with target = "_blank" shouldatwilson@chromium.org2011-09-021-20/+0
| | | | | | | | | | | | | | | have an empty name. BUG=88129 TEST=InProcessRenderViewBrowserTest::* Review URL: http://codereview.chromium.org/7497058 TBR=shinyak@google.com Review URL: http://codereview.chromium.org/7800016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99472 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99442 - Add test for calling PostMessage during Init. Deflakify ↵dmichael@chromium.org2011-09-021-1/+5
| | | | | | | | | | | | | | TestPostMessage. BUG=93260,91768 TEST=This test Review URL: http://codereview.chromium.org/7821001 TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/7737004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99466 0039d316-1c4b-4281-b951-d872f2087c98
* Move sync test code out of chrome/testphajdan.jr@chromium.org2011-09-0280-13867/+0
| | | | | | | BUG=90905 Review URL: http://codereview.chromium.org/7828055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99464 0039d316-1c4b-4281-b951-d872f2087c98
* Set user-visible machine names and devices types for synced sessions.thakis@chromium.org2011-09-023-9/+12
| | | | | | | | | | | | | | | | | | | | | | On OSX: - Read the computer name, falling back to reading hw.model and stripping any trialing numbers. This will give us something like MacBookPro, iMac, MacBookAir. On Linux: - Use distro name which gives something like "Ubuntu 10.04.2 LTS". On Windows: - Use the computer name On ChromeOS: - Use "Chromebook" BUG=94693, 59672 TEST=enable session sync, sync two clients, and then look at the entries in about:sync and see that the "client_name" is set Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99391 Review URL: http://codereview.chromium.org/7740055 Patch from Yaron Friedman <yfriedman@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99450 0039d316-1c4b-4281-b951-d872f2087c98
* Add test for calling PostMessage during Init. Deflakify TestPostMessage.dmichael@chromium.org2011-09-021-5/+1
| | | | | | | | | BUG=93260,91768 TEST=This test Review URL: http://codereview.chromium.org/7821001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99442 0039d316-1c4b-4281-b951-d872f2087c98
* Add reliablity suppression for crash in ResourceDispatcherHost::BeginRequestasanka@chromium.org2011-09-021-0/+3
| | | | | | | | | | | BUG=95069 TEST=none TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/7832008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99428 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the problem with PYAuto creating the metrics consent file root owned.pastarmovj@chromium.org2011-09-021-0/+2
| | | | | | | | | | | | The file should be owned by chronos or else we fail the PlatformPermissions tests. BUG=chromium-os:19942 TEST=security_ProfilePermissions Review URL: http://codereview.chromium.org/7831038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99426 0039d316-1c4b-4281-b951-d872f2087c98
* Automation support for webui login on chromeosnirnimesh@chromium.org2011-09-021-1/+7
| | | | | | | | | | | | | Update automation connection code to wait for webui login screen to become ready. NativeUI login automation continues to work as is. BUG=chromium-os:18271, chromium-os:17712 TEST= Review URL: http://codereview.chromium.org/7819013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99408 0039d316-1c4b-4281-b951-d872f2087c98
* Implement inline install UI for views.mihaip@chromium.org2011-09-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | To make this easier, the extension install dialog was changed from doing layout by hand to using GridLayout (thus no longer necessitating overrides of GetPreferredSize/Layout or lots of math). To lessen the repeated logic between the inline install UIs, ExtensionInstallUI::Prompt was beefed up to return formatted data directly (and in the case of rating stars, include the logic for which ones to show). Also includes some other tweaks: - Rename inline install dialog to "Add to Chrome" and the install button in it to "Add" - Use the final webstore JSON data URLs R=asargent@chromium.org BUG=93380 TEST=no Review URL: http://codereview.chromium.org/7826029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99407 0039d316-1c4b-4281-b951-d872f2087c98
* Youtube PyAuto tests to test Youtube player states, quality, plugin ↵rohitbm@google.com2011-09-024-0/+182
| | | | | | | | verification and buffering. Review URL: http://codereview.chromium.org/7791015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99400 0039d316-1c4b-4281-b951-d872f2087c98
* Make the management API support the offline_enabled field.yoz@chromium.org2011-09-023-5/+8
| | | | | | | | | BUG=none TEST=added test to ExtensionManagementApiTest.Basics Review URL: http://codereview.chromium.org/7826020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99398 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99391 (broke CrOS unit_tests) - Set user-visible machine names and ↵thakis@chromium.org2011-09-023-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | devices types for synced sessions. On OSX: - Read the computer name, falling back to reading hw.model and stripping any trialing numbers. This will give us something like MacBookPro, iMac, MacBookAir. On Linux: - Use distro name which gives something like "Ubuntu 10.04.2 LTS". On Windows: - Use the computer name On ChromeOS: - Use "Chromebook" BUG=94693, 59672 TEST=enable session sync, sync two clients, and then look at the entries in about:sync and see that the "client_name" is set Review URL: http://codereview.chromium.org/7740055 Patch from Yaar Friedman <yfriedman@chromium.org>. TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/7792102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99394 0039d316-1c4b-4281-b951-d872f2087c98
* Set user-visible machine names and devices types for synced sessions.thakis@chromium.org2011-09-023-9/+12
| | | | | | | | | | | | | | | | | | | | On OSX: - Read the computer name, falling back to reading hw.model and stripping any trialing numbers. This will give us something like MacBookPro, iMac, MacBookAir. On Linux: - Use distro name which gives something like "Ubuntu 10.04.2 LTS". On Windows: - Use the computer name On ChromeOS: - Use "Chromebook" BUG=94693, 59672 TEST=enable session sync, sync two clients, and then look at the entries in about:sync and see that the "client_name" is set Review URL: http://codereview.chromium.org/7740055 Patch from Yaar Friedman <yfriedman@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99391 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome to use WebKitPlatformSupport instead of WebKitClient.abarth@chromium.org2011-09-023-11/+12
| | | | | | Review URL: http://codereview.chromium.org/7831035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99349 0039d316-1c4b-4281-b951-d872f2087c98
* Do not run testClearAutofillData on Macnirnimesh@chromium.org2011-09-021-0/+2
| | | | | | | | | | TBR=dennisjeffrey@chromium.org BUG=95165 TEST= Review URL: http://codereview.chromium.org/7831034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99333 0039d316-1c4b-4281-b951-d872f2087c98
* Pyauto test to clear Autofill profilesmberkowitz@google.com2011-09-021-0/+32
| | | | | | | | | | | | | | testClearAutofillData: Verify that clearing autofill form data works. Includes personal profile and credit card info. TEST=none BUG=none Review URL: http://codereview.chromium.org/7793013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99320 0039d316-1c4b-4281-b951-d872f2087c98
* Disable infobars.InfobarTest.testPluginCrashForMultiTabs on win due to ↵vclarke@google.com2011-09-021-0/+2
| | | | | | | | | | | failing on Windows 7 BUG=95003 TEST=none Review URL: http://codereview.chromium.org/7823014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99308 0039d316-1c4b-4281-b951-d872f2087c98
* Disable for all:vclarke@google.com2011-09-021-0/+6
| | | | | | | | | | | | | | translate.TranslateTest.testGoBackAndForwardToTranslatePage Disable for win: enterprise.EnterpriseTest.testDisable3DAPI Disable for mac: process_count.ProcessCountTest.testProcessCountExtensionProcess BUG=95140, 95141, 95142 Review URL: http://codereview.chromium.org/7792087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99304 0039d316-1c4b-4281-b951-d872f2087c98
* Pyauto chromeos full screen testtturchetto@google.com2011-09-021-0/+12
| | | | | | | | | BUG= TEST=This is a test for full screen test for chrome OS Review URL: http://codereview.chromium.org/7792089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99287 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Make PostBufferParams easier to reason aboutakalin@chromium.org2011-09-022-9/+10
| | | | | | | | | | | | | | Have it have value parameters instead of pointers. This remove any worry about reads/writes to invalid pointers. Remove unused RequestTimingInfo struct. BUG= TEST= Review URL: http://codereview.chromium.org/7830017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99280 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting automation with new host state.dtu@chromium.org2011-09-021-2/+7
| | | | | | | | | BUG=None. TEST=PyAuto chromoting_basic.py Review URL: http://codereview.chromium.org/7792084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99274 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Make BackendMigrator not wait for full sync cyclesakalin@chromium.org2011-09-014-268/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that scheduling data type cleanup before scheduling start implies that the cleanup happes before the start. Make BackendMigrator simply wait for configuration to be done, since data type cleanup is done before configuration. Make BackendMigrator always preempt any existing migration. Make DataTypeManagerImpl configuration handle being preempted with enable_nigori set (since BackendMigrator can now do that). Make DataTypeManagerImpl check for pending reconfigure on DownloadReady, ignoring download success if so (since a migration may cause a download failure, now that we don't wait for a full sync cycle). Re-enable and rewrite failing MigrationCycle tests. Fix subtle bug in SyncBackendHost where types_to_remove is used where types_to_remove_with_nigori should be used instead. Make syncer_end_command propagate up all download progress markers, as that is needed by migration tests. Add integration test methods for migration. BUG=92928 TEST= Review URL: http://codereview.chromium.org/7655055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99265 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99149 - Print Preview: Add a test for activating the initiator tab on ↵creis@chromium.org2011-09-012-7/+2
| | | | | | | | | | | | | | print. BUG=none TEST=included Review URL: http://codereview.chromium.org/7799019 TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/7831019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99240 0039d316-1c4b-4281-b951-d872f2087c98
* Parse and show CWS data (reviews, number of users) in the inline install dialog.mihaip@chromium.org2011-09-011-0/+3
| | | | | | | | | | | | | | | Data is put into a ExtensionInstallUI::Prompt struct that is passed to ShowExtensionInstallDialog implementations (currently only the GTK one actually displays it). Ratings are shown as stars (resources were r99027). The dialog also includes a CWS link for the item (this necessitated switching the GTK implementation to a class so that the click handler callback could get at the delegate and extension). R=asargent@chromium.org Review URL: http://codereview.chromium.org/7819006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99205 0039d316-1c4b-4281-b951-d872f2087c98
* Enable smooth scrolling on macthakis@chromium.org2011-09-011-0/+4
| | | | | | | | | | | This confuses a few unit tests, so add some machinery to disable the feature in tests and do so in the tests that need it. BUG=61140,575 TEST=Go to en.wikipedia.org, hit space. Scroll should be animated. Review URL: http://codereview.chromium.org/7693019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99186 0039d316-1c4b-4281-b951-d872f2087c98
* Deflake PrerenderExcessiveMemory, fixing a race in setting mmenke@chromium.org2011-09-012-0/+130
| | | | | | | | | | | | | | | | | | the visibility state of prerendered RenderViews in the process. Also add some more visibility API tests that would have reliably failed when before the race was fixed. BUG=93081 TEST=PrerenderBrowserTest.PrerenderExcessiveMemory. PrerenderBrowserTest.PrerenderInfiniteLoop Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98539 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=98545 Review URL: http://codereview.chromium.org/7736019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99176 0039d316-1c4b-4281-b951-d872f2087c98