summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* EFD now notifies EPM of renderviews created, which in turn notifies the ↵finnur@chromium.org2009-07-153-77/+27
| | | | | | | | | | | | | | | | renderer of page actions that it knows about. Remove generic event "page-action-executed" in favor of page action specific event (sent as extension_id/page_action_id). In the bindings, we now setup events for each page action we know about so we can register for specific events, and not receive broadcast events from all page actions. To setup these events I added a GetCurrentPageActions() to extension_process_bindings.cc and a helper function GetCurrentExtensionId(). And, finally, I simplified the page action background page by removing the check to see if we are already subscribed to the feed (since we now support multiple feed readers, it doesn't make sense anymore to always check Google Reader). This check might make a comeback later in a different form. BUG=13936 TEST=The RSS sample extension should work as before. Review URL: http://codereview.chromium.org/155514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20714 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the defunct SetAccelerator message and replace it with anamit@chromium.org2009-07-147-69/+98
| | | | | | | | | | | automation message to set initial settings. BUG=none TEST=none Review URL: http://codereview.chromium.org/155376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20676 0039d316-1c4b-4281-b951-d872f2087c98
* Remove crash that only occurred once from ignore list.mirandac@chromium.org2009-07-141-2/+0
| | | | | | Review URL: http://codereview.chromium.org/149617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20651 0039d316-1c4b-4281-b951-d872f2087c98
* Remove temporary hack from buildbot sample as the server has been fixed.aa@chromium.org2009-07-142-5/+1
| | | | | | Review URL: http://codereview.chromium.org/149616 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20637 0039d316-1c4b-4281-b951-d872f2087c98
* Remove fixed issue 16276 from known crashes list.kasperl@google.com2009-07-141-4/+1
| | | | | | | | BUG=16276 TEST=none Review URL: http://codereview.chromium.org/155492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20615 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Focus docked DevTools window on breakpoint.pfeldman@chromium.org2009-07-141-0/+1
| | | | | | Review URL: http://codereview.chromium.org/155423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20614 0039d316-1c4b-4281-b951-d872f2087c98
* Add new selenium failures from webkit merge 45738:45840.nsylvain@chromium.org2009-07-141-0/+1
| | | | | | | BUG=16691 Review URL: http://codereview.chromium.org/149602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20603 0039d316-1c4b-4281-b951-d872f2087c98
* Various updates to the buildbot sample.aa@chromium.org2009-07-132-21/+32
| | | | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20552 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix to stop interactive_ui_tests from hanging; no tip service fetching ↵mirandac@chromium.org2009-07-131-0/+2
| | | | | | | | until we get the new process hooked into the testing harness. Review URL: http://codereview.chromium.org/149551 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20506 0039d316-1c4b-4281-b951-d872f2087c98
* Added an async automation message AutomationMsg_PrintAsync to asynchronously ↵ananta@chromium.org2009-07-133-0/+13
| | | | | | | | | | print a TabContents. This is on the same lines as the existing sync message AutomationMsg_PrintNow Review URL: http://codereview.chromium.org/149468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20484 0039d316-1c4b-4281-b951-d872f2087c98
* Add bug 16582 to known_crashes.txt.mirandac@chromium.org2009-07-121-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20472 0039d316-1c4b-4281-b951-d872f2087c98
* Turn backend tip service on by default.mirandac@chromium.org2009-07-121-0/+2
| | | | | | | | | | BUG= none. TEST= New NTP should come up with a default title in Tips and Suggestions box, then be loaded with actual data from popgadget. Review URL: http://codereview.chromium.org/149255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20466 0039d316-1c4b-4281-b951-d872f2087c98
* Adding command line switch to run UI test in parallel.huanr@chromium.org2009-07-102-0/+38
| | | | | | | | | BUG=16006 TEST=none Review URL: http://codereview.chromium.org/149445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20435 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:executable property from some more files that don't need it.thestig@chromium.org2009-07-1019-95/+95
| | | | | | | TBR=evmar Review URL: http://codereview.chromium.org/149471 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20406 0039d316-1c4b-4281-b951-d872f2087c98
* Convert JavascriptAlertActivatesTab to browser_tests framework.phajdan.jr@chromium.org2009-07-102-0/+45
| | | | | | | | | | | | This should make it non-flaky, so I un-disabled the test. I also added necessary plumbing so we can wait for AppModalDialog to appear and close it. TEST=Covered by browser_tests. http://crbug.com/16062 Review URL: http://codereview.chromium.org/149460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20400 0039d316-1c4b-4281-b951-d872f2087c98
* Test video files for test_shell_tests and ui_testshclam@chromium.org2009-07-104-0/+0
| | | | | | Review URL: http://codereview.chromium.org/155356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20392 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/155360tejasshah@google.com2009-07-102-4/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20391 0039d316-1c4b-4281-b951-d872f2087c98
* Add 16276 to crash known list.huanr@chromium.org2009-07-101-0/+3
| | | | | | Review URL: http://codereview.chromium.org/155357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20390 0039d316-1c4b-4281-b951-d872f2087c98
* Remove flakiness-inducing part of AutomationProxyTest.NavigateToURLWithTimeout1.phajdan.jr@chromium.org2009-07-101-4/+0
| | | | | | | | | | | | | | | | | It was loading an URL with big timeout and expecting it not to timeout (ok-ish), but then it loaded the *same* URL with a small timeout and expecting it to timeout. It turns out that reloading same URL can be really quick, especially on Linux. And we're testing the scenario when it doesn't timeout in NavigateToURLWithTimeout2. It just doesn't "preload" the page. TEST=none BUG=none Review URL: http://codereview.chromium.org/149461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20386 0039d316-1c4b-4281-b951-d872f2087c98
* Add getLanguage function to tab extension.sidchat@google.com2009-07-104-0/+64
| | | | | | | | BUG=none TEST=enable extensions using the toolstip.html code (added with this CL) and load pages in different languages. The corresponding language should appear in the bottom left after the page is loadedm or when the button is clicked, or when you navigate back to that tab after visiting some other tab. Review URL: http://codereview.chromium.org/150062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20378 0039d316-1c4b-4281-b951-d872f2087c98
* Fix window.close() not working for modal dialogs.jam@chromium.org2009-07-101-0/+2
| | | | | | | | BUG=16374 TEST=added regression test Review URL: http://codereview.chromium.org/149412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20339 0039d316-1c4b-4281-b951-d872f2087c98
* Add a rudamentary feed preview to the RSS extension. Itfinnur@chromium.org2009-07-0910-13/+265
| | | | | | | | | | | | | | | | | | | | | doesn't handle inline HTML in the item description (it just dumps it as text) and the feed needs to be valid XML for it to show any preview, but it is better than nothing. We can easily change it to display the HTML but we want to (at some point) try to use a separate origin so that we can render the HTML code from untrusted sources safely. Also fix a bug in the image tracker. It should not try to communicate with the view if the view has gone away (which was the whole point of the image tracker...) BUG=None TEST=Install the extension, browse to a page with a feed and click onthe rss icon in the Omnibox. An interstitial page should appear with a preview of the feed. Review URL: http://codereview.chromium.org/155180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20316 0039d316-1c4b-4281-b951-d872f2087c98
* Make the API to open a message channel symmetric, so it works the same ↵mpcomplete@chromium.org2009-07-095-2/+84
| | | | | | | | | | | | | | | whether opening from a tab or extension. Also, move the callback handling back to extension_process_bindings, since I didn't need it in event_bindings to implement this, and it didn't make sense there anyway. BUG=12461 TEST=no Review URL: http://codereview.chromium.org/149237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20296 0039d316-1c4b-4281-b951-d872f2087c98
* This CL prevents the first run UI from showing in the browser tests, as it ↵jcampan@chromium.org2009-07-091-0/+3
| | | | | | | | | | | | would be unexpected and cause the test to hang waiting for user interaction. BUG=None TEST=Run the browser tests. Review URL: http://codereview.chromium.org/155293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20283 0039d316-1c4b-4281-b951-d872f2087c98
* A prototype of resource loading through automationamit@chromium.org2009-07-092-0/+101
| | | | | | | | | | | | | | | | In a test scenario where we need to load resources over automation, we intercept the URL reqeusts and serve them using automation IPCs. This resource loading can be enabled per tab created by automation. BUG=none TEST=none Review URL: http://codereview.chromium.org/145024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20267 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable test (disabled while moving printing functionality to printing ↵sverrir@google.com2009-07-091-0/+0
| | | | | | | | | | | library). TEST=Run printing_unittests (no functional change). BUG=none Review URL: http://codereview.chromium.org/149288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20260 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Nuke unused debugger test.pfeldman@chromium.org2009-07-094-452/+0
| | | | | | Review URL: http://codereview.chromium.org/150214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20259 0039d316-1c4b-4281-b951-d872f2087c98
* Changing LF ending on one html.finnur@chromium.org2009-07-091-24/+24
| | | | | | | | | | TBR=maruel BUG=None TEST=None Review URL: http://codereview.chromium.org/149371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20216 0039d316-1c4b-4281-b951-d872f2087c98
* Convert crash recovery tests to browser test framework, which should reduce ↵phajdan.jr@chromium.org2009-07-082-1/+30
| | | | | | | | | | | flakiness. TEST=none http://crbug.com/16054 Review URL: http://codereview.chromium.org/149235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix new_tab_ui_cold_test for linuxarv@google.com2009-07-081-0/+8
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/155200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20127 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a way to set the boundaries of the browser window througharv@google.com2009-07-084-0/+26
| | | | | | | | | | | | | | | automation and use that to set the size of the window in the "New Tab Cold" to ensure we are testing the normal case and not the small case. BUG=None TEST=The NewTabUIStartupTest, PerfCold should still work. Review URL: http://codereview.chromium.org/149233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20124 0039d316-1c4b-4281-b951-d872f2087c98
* Add some logging to a flakey browsertest to debug.aa@chromium.org2009-07-081-0/+5
| | | | | | Review URL: http://codereview.chromium.org/149291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20103 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NPAPIIncognitoTester.PrivateEnabledjam@chromium.org2009-07-071-1/+1
| | | | | | | BUG=16149 Review URL: http://codereview.chromium.org/155182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20099 0039d316-1c4b-4281-b951-d872f2087c98
* Sprinkle some defensiveness into the UI tests so that they don't explode if ↵stuartmorgan@chromium.org2009-07-076-26/+37
| | | | | | | | | | the proxy doesn't respond (e.g., due to a timeout). BUG=none TEST=Hopefully the Mac valgrind bots will more reliably run all their tests (although there are likely more issues like this lurking). Review URL: http://codereview.chromium.org/149281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20096 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the gtest_also_run_disabled_tests flag in the browser tests.jcampan@chromium.org2009-07-073-3/+12
| | | | | | | | BUG=None TEST=Run the browser tests with the --gtest_also_run_disabled_tests flag. Disabled tests should be run. Review URL: http://codereview.chromium.org/155112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20060 0039d316-1c4b-4281-b951-d872f2087c98
* Theme window control buttons.mirandac@chromium.org2009-07-071-0/+1
| | | | | | | | | | | BUG= http://crbug.com/14579 TEST= Install a theme with themed window control buttons. Observe that WCB's are themed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19758 Review URL: http://codereview.chromium.org/150041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20028 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add more sanity tests.pfeldman@chromium.org2009-07-071-0/+20
| | | | | | Review URL: http://codereview.chromium.org/149246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20017 0039d316-1c4b-4281-b951-d872f2087c98
* Do some refactoring of renderer_host.brettw@chromium.org2009-07-061-1/+1
| | | | | | | | | | | | | | | | | | | This removes the last dependency on tab_contents from the renderer_host code and into the RenderViewHostDelegate. Some of the tests depended on tab_contents, so I moved to a new directory with the tab_contents include allowed via DEPS. Now DEPS can enforce that no additional tab_contents includes are added to renderer_host. RenderViewHost delegate is now pure virtual. After spending a while *again* figuring out why my code didn't work, only to find it was because the default implementation of a function was getting called instead of the real one, I decided to make this pure virtual. It is implemented by TabContents, which implements basically everything, and two other places that implement less. Only two lists of duplicate functions seems not too bad, although long-term it would be nice if this delegate was somehow more succinct. Review URL: http://codereview.chromium.org/155071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19982 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable BlockedPopupContainerView tests (Disabled earlier in r19942)nirnimesh@chromium.org2009-07-061-4/+0
| | | | | | | | BUG=15818 TEST=Valgrind-Mac green Review URL: http://codereview.chromium.org/149201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19948 0039d316-1c4b-4281-b951-d872f2087c98
* Make two IPC messages async.stoyan@chromium.org2009-07-061-4/+4
| | | | | | Review URL: http://codereview.chromium.org/155009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19946 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BlockedPopupContainerView tests on Mac Valgrindnirnimesh@chromium.org2009-07-061-0/+4
| | | | | | | | | | BUG=15818 TEST=None TBR=pinkerton Review URL: http://codereview.chromium.org/149196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19942 0039d316-1c4b-4281-b951-d872f2087c98
* Add an ExtensionBrowserTest base class that allows in-process browser tests ↵aa@chromium.org2009-07-046-73/+34
| | | | | | | | of extensions using ExtensionsService directly, rather than TestExtensionLoaded. Use it to re-enable some old browser tests that had been disabled. Review URL: http://codereview.chromium.org/150213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19930 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Console tests.pfeldman@chromium.org2009-07-031-0/+39
| | | | | | Review URL: http://codereview.chromium.org/149178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19904 0039d316-1c4b-4281-b951-d872f2087c98
* Fix showModalDialog regression.jam@chromium.org2009-07-033-0/+16
| | | | | | | | BUG=4202 TEST=added regression test. Review URL: http://codereview.chromium.org/149143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19872 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Initial implementation of using GTK themes, partially based on evan's ↵erg@google.com2009-07-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | CL 118358. A lot of stuff works: - Colors are picked out of the GTK theme. - Buttons use the current GTK button theme. - We use the user's icon theme. A lot of stuff doesn't: - We could do a better job of picking colors for the skylines. - The omnibox hasn't been touched. - UI that's not part of the toolbar hasn't been touched. - We currently fail on themes like HighContrastInverse. TEST=Under Options>Personal Stuff, click GTK Theme. Colors and widgets should be rendered with the current GTK theme stuff. TEST=With chrome open and in GTK Theme mode, change your GTK theme or icon theme. chrome should pick up on the change immediately and reimport the colors and images. http://crbug.com/13967 Review URL: http://codereview.chromium.org/150176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19868 0039d316-1c4b-4281-b951-d872f2087c98
* Disable IPCSyncChannelTest.* under Valgrindnirnimesh@chromium.org2009-07-023-3/+6
| | | | | | | | | Times out too often under Valgrind on Mac Tracking bug: crbug.com/15817 Review URL: http://codereview.chromium.org/150218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19846 0039d316-1c4b-4281-b951-d872f2087c98
* Add morejs to page cycler tests.cmp@google.com2009-07-021-0/+8
| | | | | | | | | BUG=12357 TEST=page cycler runs to completion Review URL: http://codereview.chromium.org/155003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19833 0039d316-1c4b-4281-b951-d872f2087c98
* reenable RenderViewHostManager browertest, add DownloadsCompleteObserver to ↵rafaelw@chromium.org2009-07-022-0/+104
| | | | | | | | | | ui_test_utils. R=aa Review URL: http://codereview.chromium.org/151189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19811 0039d316-1c4b-4281-b951-d872f2087c98
* PageActions can now specify multiple icons and switch between themfinnur@chromium.org2009-07-014-5/+51
| | | | | | | | | | | using optional parameters to enableForTab. BUG=http://crbug.com/11906 TEST=None Review URL: http://codereview.chromium.org/149046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19772 0039d316-1c4b-4281-b951-d872f2087c98
* Browser tests would launch disabled tests.jcampan@chromium.org2009-07-011-0/+4
| | | | | | | | | | | | The tests would then not be run by GUnit, polluting the outputs. This CL makes sure we don't launch the disabled tests. BUG=None TEST=Run the browser tests. Look at the output, it should not show disabled tests have been run. Review URL: http://codereview.chromium.org/150177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19767 0039d316-1c4b-4281-b951-d872f2087c98