summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Add crash bug #9796 to known list.huanr@chromium.org2009-04-071-0/+3
| | | | | | Review URL: http://codereview.chromium.org/62088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13224 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the signature of historybackend::~historybackendhuanr@chromium.org2009-04-071-1/+1
| | | | | | | in known list. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13222 0039d316-1c4b-4281-b951-d872f2087c98
* Remove fixed crash from known list.huanr@chromium.org2009-04-071-16/+0
| | | | | | Review URL: http://codereview.chromium.org/63031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13221 0039d316-1c4b-4281-b951-d872f2087c98
* Update known list for #9615huanr@chromium.org2009-04-061-0/+3
| | | | | | Review URL: http://codereview.chromium.org/62072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13185 0039d316-1c4b-4281-b951-d872f2087c98
* Redirecting buildbots to use v8_shell.exe instead of v8_shell_sample.exebradnelson@google.com2009-04-062-13/+12
| | | | | | Review URL: http://codereview.chromium.org/62049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13151 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the Find bar ownership to the Browser object for portability and ↵finnur@chromium.org2009-04-051-4/+1
| | | | | | | | testability purposes.BUG=None.TEST=No new functionality, just moving stuff around and as such it is covered by pre-existing tests. Review URL: http://codereview.chromium.org/60105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13134 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some uses of custom tab contents types from some tests.brettw@chromium.org2009-04-041-0/+2
| | | | | | | | | | | | | | | This required redoing the tests that used it to use the new RenderViewHost test harness. This is mostly straightforward, but required more work for the NavigationController tests. I removed a few random places that were testing for the tab types. I also made different versions of a few functions that don't take tab contents types next to the existing ones that do, so my touched code won't have to be changed again when I remove the tab contents types. Review URL: http://codereview.chromium.org/62039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13132 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated wstring ctor of JSONFileValueSerializer.phajdan.jr@chromium.org2009-04-031-3/+4
| | | | | | | | Switched callers to FilePath. Review URL: http://codereview.chromium.org/62009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13089 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds unit-tests for the SafeBrowsingBlockingPage class.jcampan@chromium.org2009-04-031-0/+4
| | | | | | | | | | | | | | | | | This required: - creating a factory to create SafeBrowsingBlockingPage instances (so unit-tests can provide their own sub-classes). - making the code posts tasks on the current message loop when there is no IO thread. This should only happen in tests scenarios where we only have 1 thread. BUG=6731 TEST=Run the unit-tests. In Chrome, navigate to pages flagged as malware (ex: ianfette.org) and make sure the safe browsing feature still works as expected. Review URL: http://codereview.chromium.org/56135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13088 0039d316-1c4b-4281-b951-d872f2087c98
* Two of the installer tests were failing because of path issues. Looks like ↵anantha@chromium.org2009-04-033-31/+47
| | | | | | | | buildbots like absolute paths. Fixed the issue now. Review URL: http://codereview.chromium.org/60075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13071 0039d316-1c4b-4281-b951-d872f2087c98
* Move code to allow dns queries (and accompanyingaa@chromium.org2009-04-031-0/+9
| | | | | | | | | | | TODO) from each in-process ui test into the base class, since it is really the base class that is initiating these queries (by way of starting the browser). Review URL: http://codereview.chromium.org/56173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13069 0039d316-1c4b-4281-b951-d872f2087c98
* Move HTML dialogs out of their own tab contents type. Moved functions to newbrettw@chromium.org2009-04-031-1/+1
| | | | | | | | | | | | | file html_dialog_ui.* Move WebContents view creation into the constructor, which makes a bunch of extra calls to CreateView unnecessary. Remove unused CallJavascriptFunction() functions in DOMUI. Review URL: http://codereview.chromium.org/56065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13065 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move IPC code to ipc/"agl@chromium.org2009-04-036-82/+95
| | | | | | | This reverts commit r13062 which, unsurprisingly, broke the build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13063 0039d316-1c4b-4281-b951-d872f2087c98
* Move IPC code to ipc/agl@chromium.org2009-04-036-95/+82
| | | | | | | (No review URL: Rietvelt couldn't cope) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13062 0039d316-1c4b-4281-b951-d872f2087c98
* Add code to support 2-way communication between extensions and renderers. ↵mpcomplete@google.com2009-04-021-2/+11
| | | | | | | | The code is almost fully symmetrical, except that right now a channel can only be opened to an extension (by ID). It should be trivial to open a channel to a tab, once we have a solid tab API. Review URL: http://codereview.chromium.org/56037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13057 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the tests temporarily.anantha@chromium.org2009-04-021-3/+3
| | | | | | Review URL: http://codereview.chromium.org/60065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert until sequencing issue fixed.ben@chromium.org2009-04-021-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13039 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a case where non-tabbed browser windows could open tabs. Also includes ↵ben@chromium.org2009-04-021-0/+4
| | | | | | | | | | UI test for this. http://crbug.com/8472 Review URL: http://codereview.chromium.org/56094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13036 0039d316-1c4b-4281-b951-d872f2087c98
* Added two more installer tests: 1. Testcase to install and verify ↵anantha@chromium.org2009-04-023-37/+129
| | | | | | | | | differenial installer. 2. Testcase to install and verify full installer. Review URL: http://codereview.chromium.org/56159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13035 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ui test that can be used to fetch a url and wait for a cookie to be set. asargent@chromium.org2009-04-022-0/+339
| | | | | | | | | It can also save a cookie value and javascript value out to a file. Review URL: http://codereview.chromium.org/57021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13032 0039d316-1c4b-4281-b951-d872f2087c98
* Move json2.js to a common location.patrick@chromium.org2009-04-029-971/+17
| | | | | | Review URL: http://codereview.chromium.org/56154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13016 0039d316-1c4b-4281-b951-d872f2087c98
* Replace webkit/glue/screen_info.h with WebKit/chromium/public/WebScreenInfo.hdarin@chromium.org2009-04-011-5/+0
| | | | | | | | | | | | | This also eliminates webkit_glue::GetScreenInfo and webkit_glue::GetScreenInfoHelper. As part of this CL, I also extracted all of the ParamTraits for WebKit API types into chrome/common/webkit_param_traits.h. R=dglazkov Review URL: http://codereview.chromium.org/58008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12993 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-0117-3528/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Make the suppression more generic to accomodate on Mac (crbug.com/9365)nirnimesh@chromium.org2009-04-011-1/+1
| | | | | | Review URL: http://codereview.chromium.org/56148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12951 0039d316-1c4b-4281-b951-d872f2087c98
* Make Gtk/Gdk/GLib errors/warnings really fatal.phajdan.jr@chromium.org2009-04-011-0/+1
| | | | | | | | | | | | I had to disable RedirectTest because on Linux it triggered Gdk assertion. It was a bug in our logging <-> glib logging glue code that didn't make this test fail earlier. http://crbug.com/9519 Review URL: http://codereview.chromium.org/56072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12947 0039d316-1c4b-4281-b951-d872f2087c98
* Another try to filter purecall crashes.huanr@chromium.org2009-03-311-0/+4
| | | | | | Review URL: http://codereview.chromium.org/57075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12910 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build fix.agl@chromium.org2009-03-313-3/+3
| | | | | | | Use using_v8 rather than referencing the libs directly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12903 0039d316-1c4b-4281-b951-d872f2087c98
* Linx build fix.agl@chromium.org2009-03-311-0/+26
| | | | | | | Adding the world to another target; this time startup_tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12894 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build fix.agl@chromium.org2009-03-311-0/+27
| | | | | | | Hopefully this is the last of them: fixing ui_tests git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12893 0039d316-1c4b-4281-b951-d872f2087c98
* Linux build fix.agl@chromium.org2009-03-311-0/+26
| | | | | | | | This is terrible. We need to get the build going, but adding all these libs is really bad :( git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12891 0039d316-1c4b-4281-b951-d872f2087c98
* Update known crash list for windowdragresponsetaskhuanr@chromium.org2009-03-311-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12887 0039d316-1c4b-4281-b951-d872f2087c98
* Update known crash listhuanr@chromium.org2009-03-311-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12886 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebScriptSource and WebFindInPageRequest from the WebKit API.darin@chromium.org2009-03-313-15/+53
| | | | | | | | | | | | | | | | | | This change introduces some helper functions in glue_util.cc for efficient conversion between WebString and WebCore::String when inside the implementation of webkit/glue. This is a temporary change since eventually all code in glue that uses WebCore will be moved into the WebKit API implementation. Instead of making the Chrome automation use WebFindInPageRequest, I decided to introduce AutomationMsg_Find_Params as a copy of the old FindInPageRequest structure. That preserves the IPC protocol and avoids making the automation library depend on WebKit. R=dglazkov Review URL: http://codereview.chromium.org/57060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12881 0039d316-1c4b-4281-b951-d872f2087c98
* Update known crash list.huanr@chromium.org2009-03-311-4/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12872 0039d316-1c4b-4281-b951-d872f2087c98
* M reliability/known_crashes.txthuanr@chromium.org2009-03-311-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12862 0039d316-1c4b-4281-b951-d872f2087c98
* Make the "id" key for extension manifests optional inaa@chromium.org2009-03-315-4/+4
| | | | | | | | | | | | | | --load-extension mode. This makes this mode more convenient, and should lead to less copy-and-paste of extension IDs. Also, remove the "format_version" key. This is basically duplicated in the code that checks the version number of the crx file format. And if we ever really need a format version for the manifest, we can always add it later. Review URL: http://codereview.chromium.org/56044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12837 0039d316-1c4b-4281-b951-d872f2087c98
* Mechanic change based on comment from previous code review.huanr@chromium.org2009-03-315-48/+48
| | | | | | | | | Rename RunCommand to RunCommandAsync and RunCommandSync to RunCommand. Review URL: http://codereview.chromium.org/57039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12836 0039d316-1c4b-4281-b951-d872f2087c98
* - Add UI test for the V8 Benchmark Suite.patrick@chromium.org2009-03-3015-41/+799
| | | | | | | | | | | | | - Modify the V8 Benchmark Suite to work with the UI test framework. - Add utils for JavaScript UI tests. - Move automation.js files for SunSpider and V8 Benchmark to the src/chrome/test/ui directory. - Overload UITest::PrintResult for convenience. BUG=9255 Review URL: http://codereview.chromium.org/42628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12823 0039d316-1c4b-4281-b951-d872f2087c98
* Reland changes to enable worker layout tests. Compared to last review ↵jianli@chromium.org2009-03-307-0/+571
| | | | | | | | | | | (http://codereview.chromium.org/50045), the following changes are made: 1) Add chrome/test/worker/DEPS to address checkdeps error. 2) Change test_expectations.txt to skip some worker layout tests. 3) Add test_worker.vcproj to webkit.sln so that test_worker.dll can be built for WebKit build. Review URL: http://codereview.chromium.org/56074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12822 0039d316-1c4b-4281-b951-d872f2087c98
* Retry of r12793: Rename some .cpp files to .cc.evan@chromium.org2009-03-304-6/+6
| | | | | | Review URL: http://codereview.chromium.org/57017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12805 0039d316-1c4b-4281-b951-d872f2087c98
* 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