summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Adds toplevel app/ directory and moves ResourceBundle into it.ben@chromium.org2009-05-051-1/+1
| | | | | | | | | | | No changes to resource bundle yet, just the move to keep this CL as compact as possible. Adds new vcproj and gyp file for app dir. http://crbug.com/11387 Review URL: http://codereview.chromium.org/100354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15264 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: enable omni box ui test and automation proxy ui test.estade@chromium.org2009-05-053-5/+8
| | | | | | | | Enable a lot of (already essentially working) automation code along the way. Review URL: http://codereview.chromium.org/100278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15258 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 9812: Remove current RSS code in favor of new more generalizedfinnur@chromium.org2009-05-041-1/+0
| | | | | | | | | | | | PageAction code that serves the same purpose (and more). BUG=9812 TEST=No test needed, this shouldn't result in any noticable difference since the RSS parsing was disabled. Review URL: http://codereview.chromium.org/100356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15247 0039d316-1c4b-4281-b951-d872f2087c98
* Make buildbot sample more compact.aa@chromium.org2009-05-041-18/+53
| | | | | | | | | Only shows the text "tree: (open|closed)" initially now. When you hover over it, it animates open to show the entire bar. Review URL: http://codereview.chromium.org/100315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15231 0039d316-1c4b-4281-b951-d872f2087c98
* Reset the omnibox contents when the user reloads the page. Patch by Yusuke ↵pkasting@chromium.org2009-05-041-0/+1
| | | | | | | | Sato (see http://codereview.chromium.org/100198 ), r=me. BUG=2985 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15211 0039d316-1c4b-4281-b951-d872f2087c98
* Update known list based on WebContent->TabContenthuanr@chromium.org2009-05-041-3/+3
| | | | | | | | | | change. BUG=11408 Review URL: http://codereview.chromium.org/99347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15207 0039d316-1c4b-4281-b951-d872f2087c98
* Add a crash case of 10901 to known listhuanr@chromium.org2009-05-041-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15203 0039d316-1c4b-4281-b951-d872f2087c98
* Replace all occurrances of WebContents with TabContents.brettw@chromium.org2009-05-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/99177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15194 0039d316-1c4b-4281-b951-d872f2087c98
* Yet more deprecation of the wstring version of PathService::Get() for UI tests.thestig@chromium.org2009-05-0213-78/+74
| | | | | | Review URL: http://codereview.chromium.org/99298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15127 0039d316-1c4b-4281-b951-d872f2087c98
* Various fixes to gmail sample:aa@chromium.org2009-05-012-20/+32
| | | | | | | | | | - Handle the case where we never get a response, which happens if you're not logged in. - Lengthen the poll timeout to something reasonable. Review URL: http://codereview.chromium.org/100270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15124 0039d316-1c4b-4281-b951-d872f2087c98
* Fix BROWSER_WRAPPER env for ui tests so it works with commandstc@google.com2009-05-011-8/+4
| | | | | | | | | | longer than a single token. This lets me do things like BROWSER_WRAPPER='xterm -e gdb --args' ui_tests Review URL: http://codereview.chromium.org/99296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15106 0039d316-1c4b-4281-b951-d872f2087c98
* This is the first part of the PageAction implementation. More work is ↵finnur@chromium.org2009-05-011-5/+6
| | | | | | | | | | | | | | | | required, but this is a good checkpoint. Design doc: http://dev.chromium.org/developers/design-documents/extensions/page-actions-api This checkin only covers Tab scoped page actions (not type "permanent"). It works end to end (if you have an extension that supplies the page action info -- I created an RSS page action that links to Google Reader). Please note that TabIndex is hard coded to 0 until the extension system can provide the tab id to the extensions (which I understand is in progress). This means that page action(s) only show up for the first tab in the tabstrip. :) BUG=None TEST=There is a unit test for the API, but apart from that it is not possible to test this manually without writing an extension that adds a PageAction. My RSS page action is not ready to be checked in but I can provide it if there is interest in a sneak preview during review/QA. Review URL: http://codereview.chromium.org/99253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15105 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable two DOM checker tests to see if it has any effect onpatrick@chromium.org2009-05-011-2/+4
| | | | | | | | | | non-determinism. BUG=9394 TEST=DOM checker automated tests should still function properly. Review URL: http://codereview.chromium.org/99299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15103 0039d316-1c4b-4281-b951-d872f2087c98
* Don't valgrind ThirtyFourTabs, it takes too long :-(dkegel@google.com2009-05-011-0/+2
| | | | | | Review URL: http://codereview.chromium.org/99291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15100 0039d316-1c4b-4281-b951-d872f2087c98
* Pass down the opener tab when a message channel is opened to an extension.mpcomplete@google.com2009-05-012-2/+2
| | | | | | | | | | | Also did a bunch of cleanup of ExtensionMessageService. I converted it to primarily UI-thread habitation, with one function that needs to be on the IO thread so it can handle a synchronous IPC message. TEST=N/A Review URL: http://codereview.chromium.org/99261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15097 0039d316-1c4b-4281-b951-d872f2087c98
* Making CloseWindow and CloseTab automation APIhuanr@chromium.org2009-05-018-64/+218
| | | | | | | | | | | | | synchronous and robust. Adding automation APIs with corresponding IPC messages to count and find normal browser windows. Review URL: http://codereview.chromium.org/99268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15058 0039d316-1c4b-4281-b951-d872f2087c98
* Only send events to renderers that are listening to an event.Notify browser ↵erikkay@google.com2009-05-011-0/+3
| | | | | | | | when a renderer is listening to an event. Review URL: http://codereview.chromium.org/100214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15050 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the EmbeddedMP3 plugin test as it needs a functional sound device ↵ananta@chromium.org2009-05-011-2/+2
| | | | | | | | | | | | | on the machine to succeed. Disabling the MediaPlayerNew test as an ASSERT in Webkit is firing causing the renderer to crash. Will debug this more and log a bug. TBR=nsylvain Review URL: http://codereview.chromium.org/100236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15024 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ID persistence for bookmarks:munjal@chromium.org2009-04-301-8/+20
| | | | | | | | | | | | | | | | - Bookmark codec now takes in a ctor argument persist_ids - If it's true, it will serialize IDs of bookmarks when encoding, and deserialize already serialized IDs (if present) when decoding. - During decoding, unique-ify the IDs if they are not unique. - Add unit tests for all new code. Coming up in a separate changelist: - Move ID generation logic to bookmark model, and make it non-static. Review URL: http://codereview.chromium.org/99217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15013 0039d316-1c4b-4281-b951-d872f2087c98
* Added audio/mpeg and video/mpeg to the list of mime types supported by the ↵ananta@chromium.org2009-04-301-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Activex shim for media player along with their associated extensions. This fixes http://code.google.com/p/chromium/issues/detail?id=11054, which occurs with embed tags with a source URL and no mime type. In this case the URL extension is mp3, which is not claimed by any plugin although Quicktime and media player do handle it. It works in Firefox because the plugin instantiation code in FF correctly gets the mime type from the http stream and instantiates the plugin accordingly. Webkit attempts to instantiate the plugin from the embed tag with the source URL. This fails silently in Chrome and Safari displays an error message. With this fix the only user visible difference would be quicktime handling the mp3 in FF and IE, and media player handling it in Chrome. I also moved the media player shim to the end of the plugin list to ensure it does not take over the audio/mpeg and video/mpeg mime types if there is a a plugin which can handle it. Added plugin tests for the mp3 and mpe extensions. Bug=11054 Review URL: http://codereview.chromium.org/100180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15008 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ifdefs now that Mac passes.pinkerton@chromium.org2009-04-301-9/+0
| | | | | | Review URL: http://codereview.chromium.org/100173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14987 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 11006 - any plugin process started by InProcessBrowserTest wastim@chromium.org2009-04-301-8/+9
| | | | | | | | | | | | | | | using the unit_test executable rather than chrome.exe. This patch repurposes the --renderer-path switch to be --browser-subprocess-path for both plugins and renderers. BUG=11006 TEST=Any InProcessBrowserTest (they all will start at least one renderer). Use NavigateToURL to a URL containing flash, we shouldn't crash. Review URL: http://codereview.chromium.org/99011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14951 0039d316-1c4b-4281-b951-d872f2087c98
* Implement removeWindow, onWindowCreated, onWindowRemoved.rafaelw@chromium.org2009-04-301-5/+16
| | | | | | | | | BUG=11200 R=aa Review URL: http://codereview.chromium.org/100164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14924 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race where sometimes CSS is not applied to toolstrips. Iaa@chromium.org2009-04-2911-360/+0
| | | | | | | | | | | | | | think this was happening because we were injecting from the the browser at load_start, but the document might not be established in the renderer by the time this message is received. Since we are now not even showing the toolstrip until load_complete, it is no big deal to delay the CSS injection until then. Review URL: http://codereview.chromium.org/100182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14914 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ExtensionView to support a UI-less extension instance.mpcomplete@google.com2009-04-292-1/+3
| | | | | | | | | | | - Introduce ExtensionHost, which is the guy that talks to the RenderViewHost. - ExtensionView holds an ExtensionHost, and also renders its contents in an HWND. - Added code to load a page optionally specified in the manifest as a background process whenever it exists. Review URL: http://codereview.chromium.org/92043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14902 0039d316-1c4b-4281-b951-d872f2087c98
* Migrating the SSL UI tests to be browser tests.jcampan@chromium.org2009-04-293-66/+114
| | | | | | | | | | | | | Reenabling all of them. Hopefully it'll help with flakiness. Note that I am keeping the SSL UI tests alive until the browser test framework has been ported to Mac and Linux. BUG=6584,2136 TEST=Run the browser tests. Review URL: http://codereview.chromium.org/101013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14901 0039d316-1c4b-4281-b951-d872f2087c98
* Move TabsAPI, bookmarks, and buildbot extensiosn into samples/ dir.aa@chromium.org2009-04-2911-1/+0
| | | | | | Review URL: http://codereview.chromium.org/99201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14896 0039d316-1c4b-4281-b951-d872f2087c98
* Enable two more installer tests.kuchhal@chromium.org2009-04-291-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/100177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14888 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt at cleaning up handling of --disable-popup-blocking. I ↵pkasting@chromium.org2009-04-291-1/+1
| | | | | | | | | didn't realize that now window.open() will result in a popup with this flag, where before it resulted in a tab. This necessitated changes to a test that expected one window and two tabs to expect two windows each with one tab. I also fixed the test to not crash when some expectations were not met (by using ASSERT_ instead of EXPECT_), and to properly use (expected, actual) instead of (actual, expected). Review URL: http://codereview.chromium.org/99203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14886 0039d316-1c4b-4281-b951-d872f2087c98
* Try --force-uninstall param to see if that fixes installer tests.kuchhal@chromium.org2009-04-292-5/+5
| | | | | | | Review URL: http://codereview.chromium.org/99204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14884 0039d316-1c4b-4281-b951-d872f2087c98
* more extensions bookmarks changes:* add schema verification* add unit tests ↵erikkay@google.com2009-04-292-12/+39
| | | | | | | | for schema* add a few new methods (getTree, getChildren)* add events Review URL: http://codereview.chromium.org/102009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14877 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of sample sprucing. Also, change chromium_extension.py to generate a ↵aa@chromium.org2009-04-2924-69/+606
| | | | | | | | | | | | | | | | | | | | | | | | | | | random ID if the manifest doesn't have one. * Create a test/data/extensions/samples directory and add Reader and Gmail samples to it. * Minor fixes to buildbot sample to fit better visually. * Minor fixes to bookmarks sample to use new button styles. * Workaround for bug in bookmark sample where extension APIs do not load the first time. * Move Resizer extension into samples/. * Fix TabsAPI sample to not use old deprecated manifest properties anymore. Part 2 will move the remaining samples into samples/ (don't want to do that at the same time because git-cl doesn't know how to tell Rietveld about moves and it would be confusing to review). Review URL: http://codereview.chromium.org/99172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14872 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back webkit-gyp switch. r14382bradnelson@google.com2009-04-293-23/+23
| | | | | | Review URL: http://codereview.chromium.org/99182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14837 0039d316-1c4b-4281-b951-d872f2087c98
* Switching webkit over to gyp on windows.bradnelson@google.com2009-04-293-23/+23
| | | | | | Review URL: http://codereview.chromium.org/99173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14832 0039d316-1c4b-4281-b951-d872f2087c98
* Write a test for my previous patch to fix a crash in back/forward navigationsbrettw@chromium.org2009-04-292-10/+22
| | | | | | | creating new tabs. Review URL: http://codereview.chromium.org/100031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14819 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the tests again. anantha@chromium.org2009-04-281-1/+1
| | | | | | Review URL: http://codereview.chromium.org/99150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14783 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot to enable the test in last check-in. Enabled the test now.anantha@chromium.org2009-04-281-3/+3
| | | | | | Review URL: http://codereview.chromium.org/99145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14766 0039d316-1c4b-4281-b951-d872f2087c98
* One more try to make these tests pass. Added a while loop to wait until the ↵anantha@chromium.org2009-04-283-3/+19
| | | | | | | | | key is open. Sorry for enabling and disabling the tests for few times. I really want these tests to run asap, so that I can add new tests. Review URL: http://codereview.chromium.org/99142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14761 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the tests again. Looking into them.anantha@chromium.org2009-04-281-1/+1
| | | | | | Review URL: http://codereview.chromium.org/101010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14749 0039d316-1c4b-4281-b951-d872f2087c98
* Added a check to look for setup.exe before looking at registry. This test is ↵anantha@chromium.org2009-04-282-8/+13
| | | | | | | | failing becase of race conditon. This fix should resolve the problem. Review URL: http://codereview.chromium.org/99134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14747 0039d316-1c4b-4281-b951-d872f2087c98
* Remove platform defines now that things work on Mac.pinkerton@chromium.org2009-04-281-10/+0
| | | | | | Review URL: http://codereview.chromium.org/99129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14741 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding this: jcampan@chromium.org2009-04-286-15/+683
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new kind of tests: browser tests. They are intended to provide an alternative to the UI tests, hopefully helping with flackiness. These tests are in-process browser test. There are 2 projects to build the tests: - the browser_test.dll that contains the tests, the gtest framework and the browser classes. - the browser_test_launcher.exe. The launcher loads the browser_test.dll for each test, run the test and then unloads the DLL. This insures the static initializers are run before each test and that any atexit handler is invoked properly. This is Windows only for now. BUG=9764 TEST=Run browser_test.exe TBR=maruel Review URL: http://codereview.chromium.org/99097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PageLoadTest.Reliability which I broke in my previous checkin to make thebrettw@chromium.org2009-04-281-5/+1
| | | | | | | | | | | | | throbber more responsive. The issue is that I changed the meaning of LOAD_START from indicating that the renderer started loading to indicating when the browser told the renderer to start loading. This means it now looks like we started loading "about:crash" whereas before it didn't. I think this change is reasonable and how we could about:crash in this respect isn't important, so I just removed the failing checks. Review URL: http://codereview.chromium.org/99118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14720 0039d316-1c4b-4281-b951-d872f2087c98
* ImportantFileWriterphajdan.jr@chromium.org2009-04-282-2/+2
| | | | | | | | | | | | | | Introducing a class for writing important files, preventing their corruption during writing. Switched PrefService to use it. Other classes will be switched in future changesets. TEST=This may affect things using preferences. Make sure that changes in preferences don't get lost, and that you don't get excessive disk activity when changing preferences. http://crbug.com/10618 Review URL: http://codereview.chromium.org/83001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14717 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: don't spawn zombies.agl@chromium.org2009-04-281-1/+12
| | | | | | | | | http://codereview.chromium.org/93147 BUG=9401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14705 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the test again. This time the test doesn't fail at mulitple ↵anantha@chromium.org2009-04-281-1/+1
| | | | | | | | places. It fails at only one place. investigating... Review URL: http://codereview.chromium.org/102003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14696 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling the user install tests to see if they pass. They were failing ↵anantha@chromium.org2009-04-283-4/+3
| | | | | | | | | | | | | | | because of two reasons: 1. the new profile dialog closes the setup.exe process as soon as the dialog is closed. The testcase used to wait for setup.exe to start/end, which would never happen. heence the test failed. 2. Closing of new profile dialog also deletes the reg keys right away. looks like there were some timing issues.Added a sleep of 400 to see if the test passes now. if it passes, then I will look into other options and remove the sleep. ----- The standalone installer path got changed recently. modified that path also. Review URL: http://codereview.chromium.org/100086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14693 0039d316-1c4b-4281-b951-d872f2087c98
* Convert Windows Sleep to PlatformThread::Sleepevan@chromium.org2009-04-285-13/+13
| | | | | | | | | | | | First stage to make tests/others cross-platform. BUG=None TEST=Ran tests successfully (windows) Review URL: http://codereview.chromium.org/63113 Patch from Mohamed Mansour <m0.interactive@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14688 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a test that fails on mac. I enabled this in r14684, buttc@google.com2009-04-271-2/+2
| | | | | | | | | | | it's not ready yet for mac. TBR=evan Review URL: http://codereview.chromium.org/100083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14686 0039d316-1c4b-4281-b951-d872f2087c98
* Port another UI test file. Disable tests that still need to be ported.tc@google.com2009-04-271-11/+38
| | | | | | | Review URL: http://codereview.chromium.org/92106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14684 0039d316-1c4b-4281-b951-d872f2087c98