summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Rename some .cpp files to .cc."evan@chromium.org2009-03-304-4/+4
| | | | | | This reverts commit r12793. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12794 0039d316-1c4b-4281-b951-d872f2087c98
* Rename some .cpp files to .cc.evan@chromium.org2009-03-304-4/+4
| | | | | | Review URL: http://codereview.chromium.org/57017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12793 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in automation. Remove WaitForTabCountToChange.phajdan.jr@chromium.org2009-03-307-169/+71
| | | | | | | | | | WaitForTabCountToBecome is easier to use and more reliable. Also removed Windows2000-specific code from accessibility unit tests. Review URL: http://codereview.chromium.org/45070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12774 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 12763.jianli@chromium.org2009-03-306-568/+0
| | | | | | Review URL: http://codereview.chromium.org/56055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12764 0039d316-1c4b-4281-b951-d872f2087c98
* Enable worker layout tests. In order for test_shell to run worker, we link ↵jianli@chromium.org2009-03-306-0/+568
| | | | | | | | all of the code required to run the worker into a DLL and then load that DLL in test_shell. This allows us to host a separate V8 instance. Review URL: http://codereview.chromium.org/50045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12763 0039d316-1c4b-4281-b951-d872f2087c98
* It looks like the Chrome NPAPI plugin installer has been broken since we ↵ananta@chromium.org2009-03-281-1/+84
| | | | | | | | | | | | | | | | | | | | | | | first updated chrome webkit after 1.0 shipped. Basically in the 1.0 branch when the plugin was instantiated in its instantiation it would get the mime type along with the list of other arguments. If an object tag was specified with the classid, it would get mapped to the mime type. With the webkit merge the classs id is passed in along with the mime type. The plugin installer thinks that this is an activex installation on receiving a valid class id and and ends up checking if it is a white listed classid, etc. All this code will be taken out along with the activex shim in the near future. For now we take this code path only if we don't have a valid mime type. This fixes http://code.google.com/p/chromium/issues/detail?id=8584 Added a plugin test for the argument parsing functionality in the default plugin. I changed the ParseInstantiationArguments function in the plugin installer to a static function to be able to unit test this. Bug=8584 Review URL: http://codereview.chromium.org/42684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12733 0039d316-1c4b-4281-b951-d872f2087c98
* Issue 348: can view old incognito cache if main process left runningidanan@chromium.org2009-03-271-0/+3
| | | | | | | | | | | | Same place we clear cookies when the last incognito window is closed, destroy the entire incognito profile which by implication destoys the incognito cache. BUG=348 Review URL: http://codereview.chromium.org/53101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12688 0039d316-1c4b-4281-b951-d872f2087c98
* Fix renderer hang caused when a synchronous XHR is disallowed for securitydarin@chromium.org2009-03-271-0/+29
| | | | | | | | | | | reasons (via ShouldServiceReqeuest). BUG=8401 R=jam Review URL: http://codereview.chromium.org/56016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12675 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent making real DNS lookups by chrome tests.phajdan.jr@chromium.org2009-03-271-0/+30
| | | | | | | | | | | | | | | | - by default a test which makes external DNS lookup directly or indirectly will fail - added a quite simple way to allow a test to make external queries - added a way to make external queries fail (for tests which don't need them to succeed but it's hard to not make the query) - made neccessary adjustments to existing tests so that they still pass http://crbug.com/9109 Review URL: http://codereview.chromium.org/45026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12653 0039d316-1c4b-4281-b951-d872f2087c98
* This check in is the initial step to try improve UIhuanr@chromium.org2009-03-275-20/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automation framework. Currently we are not consistent in UI automation. After receiving the automation message, the automation provider in browser does not always execute UI commands synchronously. In many cases, it simply sends back an acknowledgement and dispatches the command. On the test client side, it waits and polls the result after sending the message. I think this causes lots of UI test flakeyness and makes the test slow. I plan to convert all asynchronous execution to synchronous. It may take some time to get them all done. I CC'ed a few people so they are aware of this ongoing work. Feel free to comment on whether and how to address the issue. This check in adds an UI automation message AutomationMsg_WindowExecuteCommandSync that executes accelerators synchronously. The existing automation message AutomationMsg_WindowExecuteCommand only dispatches the accelerator. There are many UI accelerators using the existing async version. In this check in I only made the conversion for IDC_NEW_TAB to try out the new mechanism. Review URL: http://codereview.chromium.org/53108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12632 0039d316-1c4b-4281-b951-d872f2087c98
* - Re-enable DOM checker test.patrick@chromium.org2009-03-272-2/+8
| | | | | | | - Add expected failures. Review URL: http://codereview.chromium.org/42679 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12628 0039d316-1c4b-4281-b951-d872f2087c98
* Added logic to get the latest diff installer, full installer, previous full ↵anantha@chromium.org2009-03-265-78/+213
| | | | | | | | | installer from nightly location. It will now be easy to automate more of the installer testing. Review URL: http://codereview.chromium.org/49024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12617 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DomCheckerTest.Http. TBR=nsylvaindimich@google.com2009-03-261-2/+2
| | | | | | Review URL: http://codereview.chromium.org/42670 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12608 0039d316-1c4b-4281-b951-d872f2087c98
* Expose whether we're in private browsing mode to plugins.I chose to ↵jam@chromium.org2009-03-264-2/+61
| | | | | | | | | implement this for multi-process mode only and not --single-process or --in-process-plugins, since I wanted to send this data from the browser process, not the renderer (in case it's exploited). BUG=158 Review URL: http://codereview.chromium.org/52037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12588 0039d316-1c4b-4281-b951-d872f2087c98
* When running ui_tests, need to tell valgrind to also trace child processes.dkegel@google.com2009-03-261-0/+12
| | | | | | | | Also need to avoid valgrinding python. Review URL: http://codereview.chromium.org/45053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12572 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable DOM checker test.patrick@chromium.org2009-03-261-2/+2
| | | | | | Review URL: http://codereview.chromium.org/49043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12564 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup:patrick@chromium.org2009-03-261-4/+4
| | | | | | | | - Use a const iterator. - Rename command-line switch to --run-sunspider. Review URL: http://codereview.chromium.org/53080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12560 0039d316-1c4b-4281-b951-d872f2087c98
* - Launch DOM checker in the subdirectory 'dom_checker/', as specified by itspatrick@chromium.org2009-03-265-10/+41
| | | | | | | | | | | | configuration. - Use the cleaned up version of the error message that DOM checker generates. - Remove <!-- NOP --> from test failure messages reported by DOM checker. - Update the expected failures files as a result of these changes. - Disable the test temporarily as this will require a Buildbot change and restart. Review URL: http://codereview.chromium.org/53064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12538 0039d316-1c4b-4281-b951-d872f2087c98
* Add a copy of the V8 Benchmark Suite (version 3) for performance testing.patrick@chromium.org2009-03-2614-0/+13428
| | | | | | | | | | This copy was fetched from: http://v8.googlecode.com/svn/data/benchmarks/v3 This copy is unmodified from its original source. Review URL: http://codereview.chromium.org/53069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12525 0039d316-1c4b-4281-b951-d872f2087c98
* Make the bookmarks bar disappear when the load after the new tab page commitsbrettw@chromium.org2009-03-251-0/+4
| | | | | | | | | | | | | | | | | | | rather than when it is pending. This makes it change at the same time the page changes. To support this, we now have to keep track of both a pending and a committed DOMUI object. This is tracked by the RenderManager, which does a similar swapping between pending and committed RenderViewHosts. Previous review URL: http://codereview.chromium.org/42512 The only difference is I swapped the order of creating the DOM UI in RenderViewHostManager::Navigate. BUG=8963 Review URL: http://codereview.chromium.org/42623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12515 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 12469.brettw@chromium.org2009-03-251-4/+0
| | | | | | Review URL: http://codereview.chromium.org/53062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12476 0039d316-1c4b-4281-b951-d872f2087c98
* Make the bookmarks bar disappear when the load after the new tab page commitsbrettw@chromium.org2009-03-251-0/+4
| | | | | | | | | | | | | | rather than when it is pending. This makes it change at the same time the page changes. To support this, we now have to keep track of both a pending and a committed DOMUI object. This is tracked by the RenderManager, which does a similar swapping between pending and committed RenderViewHosts. BUG=8963 Review URL: http://codereview.chromium.org/42512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12469 0039d316-1c4b-4281-b951-d872f2087c98
* - Add UI test for SunSpider.patrick@chromium.org2009-03-257-0/+721
| | | | | | | | | - Modify SunSpider to work with the UI test framework. BUG=8785 Review URL: http://codereview.chromium.org/42581 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12465 0039d316-1c4b-4281-b951-d872f2087c98
* Updating test log inputs to include accumulative test duration at different ↵ace@chromium.org2009-03-241-10/+18
| | | | | | | | steps in testing. Review URL: http://codereview.chromium.org/52038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12411 0039d316-1c4b-4281-b951-d872f2087c98
* Redone http://codereview.chromium.org/42571idanan@chromium.org2009-03-241-0/+1
| | | | | | | | | | | Issue 6477: Support modifier clicks on UI elements Mouse event flags transformed to WindoOpenDisposition so that browser commands can all inteterpert event modifiers. Implemented home, forward and backwards middle-click andshift middle click. Previously working on issue 358 which was market a duplicate and concerned with the home and tabstrip subset of this behavior: Can't open a new tab by middle-clicking home button. No functionality has been lost or altered, only the use ofmodifiers give access to increased functionality. BUG=6477 TBR=maruel Review URL: http://codereview.chromium.org/53020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12403 0039d316-1c4b-4281-b951-d872f2087c98
* Add a copy of SunSpider 0.9 for performance testing.patrick@chromium.org2009-03-2434-0/+7680
| | | | | | | | | | This copy was fetched from: http://webkit.org/perf/sunspider-0.9/sunspider.html This copy is unmodified from its original source. Review URL: http://codereview.chromium.org/42549 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12370 0039d316-1c4b-4281-b951-d872f2087c98
* Porting of unit tests in chrome/phajdan.jr@chromium.org2009-03-241-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - enable following tests on Linux: browser/net/resolve_proxy_msg_helper_unittest.cc browser/profile_manager_unittest.cc browser/sessions/tab_restore_service_unittest.cc common/time_format_unittest.cc - sync chrome.gyp - fix a bug in resolve_proxy_msg_helper_unittest that triggered a DCHECK on POSIX. It freed the WaitableEvent too early because Wait in dtor was effectively a noop because the event was already in signaled state from previous operations and a manual-reset flag was set. The fix was to put the WaitableEvent in automatic reset mode. - misc GCC-related cleanups http://crbug.com/9227 Review URL: http://codereview.chromium.org/53007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12356 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of WaitForWindowCountToChange.phajdan.jr@chromium.org2009-03-243-27/+1
| | | | | | | | | | | The function had confusing semantics, was marked to be removed, and could induce flakiness in tests which used it. WaitForWindowCountToBecome is much better replacement for it. Review URL: http://codereview.chromium.org/49007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12348 0039d316-1c4b-4281-b951-d872f2087c98
* Make PageLoadTest.Reliability faster and potentially less flaky in usage 1:patrick@chromium.org2009-03-243-16/+53
| | | | | | | | | | | | | - Remove network requests for live websites, replace them with local resources. - Lower timeout. Only about:crash hits the timeout, and it does not need such a large timeout value. - Remove page down, as the sleeps between page down calls were adding several extra seconds to the test. BUG=1078496 Review URL: http://codereview.chromium.org/42543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12344 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 4801 from known crash list.huanr@chromium.org2009-03-241-6/+0
| | | | | | Review URL: http://codereview.chromium.org/52039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12342 0039d316-1c4b-4281-b951-d872f2087c98
* re-enable this now the bug causing it to fail has been fixed.ben@chromium.org2009-03-241-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12330 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the mini installer tests because they startednsylvain@chromium.org2009-03-231-0/+4
| | | | | | | | failing at revision 12317. Review URL: http://codereview.chromium.org/49012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12325 0039d316-1c4b-4281-b951-d872f2087c98
* Initial rev at a message passing API for extensions. So far, only passingmpcomplete@google.com2009-03-231-1/+4
| | | | | | | messages to the extension process is supported. Review URL: http://codereview.chromium.org/48090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12319 0039d316-1c4b-4281-b951-d872f2087c98
* Add `anonymous namespace'::InvalidParameter.patrick@chromium.org2009-03-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12288 0039d316-1c4b-4281-b951-d872f2087c98
* Port more UI tests to Linux.phajdan.jr@chromium.org2009-03-232-12/+2
| | | | | | | | | | | | | | | | | | | | | - enable following ui tests on Linux: history_uitest.cc inspector_controller_uitest.cc browser/history/redirect_uitest.cc browser/locale_tests_uitest.cc browser/sanity_uitest.cc - move information about Linux-specific splash page to more generic location and enable more logic about start page on Linux - maintainability cleanups (DISABLED_ instead of #if 0) - misc GCC-related cleanups Review URL: http://codereview.chromium.org/49006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12281 0039d316-1c4b-4281-b951-d872f2087c98
* Need to skip one more test. Should have been in ↵dkegel@google.com2009-03-231-0/+1
| | | | | | | | http://codereview.chromium.org/52009 Review URL: http://codereview.chromium.org/42503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12278 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore task leaks. See http://crbug.com/6532dkegel@google.com2009-03-231-0/+12
| | | | | | Review URL: http://codereview.chromium.org/42501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12277 0039d316-1c4b-4281-b951-d872f2087c98
* Skipping two tests that crash (bug 9170) and one that takes a long time.dkegel@google.com2009-03-231-0/+6
| | | | | | Review URL: http://codereview.chromium.org/52009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12276 0039d316-1c4b-4281-b951-d872f2087c98
* Currently we have two types of devtools UI: Chrome built in developer tools ↵yurys@google.com2009-03-231-3/+0
| | | | | | | | | | window and remote debugger connected over TCP(apavlov is working on it). To allow DevToolsManager coordinate both types of devtools uniformly their API is extracted into DevToolsClientHost interface. Fix purify errors in DevToolsManager unit tests. BUG=9150 Review URL: http://codereview.chromium.org/50009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12274 0039d316-1c4b-4281-b951-d872f2087c98
* Support for extensions permissions. This CL only contains, parsing, ↵rafaelw@chromium.org2009-03-234-0/+4
| | | | | | | | initializing values into Extension, outputting values to the extension_ui, and appropriate unit test changes Review URL: http://codereview.chromium.org/42480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12273 0039d316-1c4b-4281-b951-d872f2087c98
* This test is having purify errors. I'm disabling itnsylvain@chromium.org2009-03-221-0/+3
| | | | | | | for now. Review URL: http://codereview.chromium.org/50092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12268 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 12247 because it created a lot of memory regressionsnsylvain@chromium.org2009-03-225-35/+0
| | | | | | | in the purify unit test. Review URL: http://codereview.chromium.org/45021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12267 0039d316-1c4b-4281-b951-d872f2087c98
* Committing issue 39299:aa@chromium.org2009-03-215-0/+35
| | | | | | | | | | | | | Test for extension user script load and inject. This add a test that a user script actually gets injected into pages and runs. Before we only had unit tests for the various classes and weren't testing the system end-to-end. Review URL: http://codereview.chromium.org/51003 Patch from Steve Krulewitz <skrulx@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12247 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple toolstrips in an extension.aa@chromium.org2009-03-213-1/+25
| | | | | | Review URL: http://codereview.chromium.org/42439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12244 0039d316-1c4b-4281-b951-d872f2087c98
* Enable first UI test on Linux (browser/images_uitest.cc)phajdan.jr@chromium.org2009-03-202-2/+1
| | | | | | | | | - less things #ifdef-ed - replaced Windows-specific functions with portable equivalents Review URL: http://codereview.chromium.org/50059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12213 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple js files per content script. Thanks to georged for making ↵aa@chromium.org2009-03-202-10/+2
| | | | | | | | this so easy. Review URL: http://codereview.chromium.org/42438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12210 0039d316-1c4b-4281-b951-d872f2087c98
* Adding test log creation to page load test runner.ace@chromium.org2009-03-201-12/+38
| | | | | | | | Adding test start/end timestamps to new test log. Review URL: http://codereview.chromium.org/42420 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12199 0039d316-1c4b-4281-b951-d872f2087c98
* SSLPolicy fix: Step 9 of 9 (hopefully!).abarth@chromium.org2009-03-203-0/+18
| | | | | | | | | | | | Change our algorithm for computing the state of our SSL security indicators. Previously, we were computing this state for a single navigation entry. Although this matches other browsers, it fails to take the same-origin policy into account. For example, if one tab is contaminated with insecure content, that insecure content can spread to all the tabs in the same security origin. R=jcampan,wtc BUG=8706 TEST=SSLUITest.TestMixedContentsRandomizeHash,SSLUITest.TestMixedContentsTwoTabs Review URL: http://codereview.chromium.org/42314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12178 0039d316-1c4b-4281-b951-d872f2087c98
* Convert FindInPage wstrings to string16.tc@google.com2009-03-191-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/42408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12158 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build (and clean TestShell build).darin@chromium.org2009-03-191-0/+1
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/50022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12115 0039d316-1c4b-4281-b951-d872f2087c98