summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Suppress leaks for bug 20703asargent@chromium.org2009-09-031-0/+11
| | | | | | | | BUG=http://crbug.com/20703 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25337 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert "Allow DOMUI pages to call window.open(), giving DOMUI ↵mpcomplete@chromium.org2009-09-033-0/+26
| | | | | | | | | | | | privileges to the new"" Second attempt at r25250. The tests were broken in Release mode due to a race. Should be fixed. BUG=17636 Review URL: http://codereview.chromium.org/172120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25329 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Add basic unit tests for gtk themes.erg@google.com2009-09-032-6/+30
| | | | | | Review URL: http://codereview.chromium.org/186019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25317 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 25302 since ExtensionBrowserTest.ParseFeed in browser_tests has ↵yusukes@google.com2009-09-031-1/+1
| | | | | | | | started to fail. Review URL: http://codereview.chromium.org/197009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25306 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where feed preview didn't work for techcrunch.com.aa@chromium.org2009-09-031-1/+1
| | | | | | | | | | | | This was caused by synchronous cross-origin XHR not working with redirects. Since synchronous XHR is not a good idea here in the first place, just changed it to asynchronous. TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/197008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25302 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r25250: "Allow DOMUI pages to call window.open(), giving DOMUI ↵mpcomplete@chromium.org2009-09-023-26/+0
| | | | | | | | privileges to the new" Review URL: http://codereview.chromium.org/171127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25256 0039d316-1c4b-4281-b951-d872f2087c98
* Allow DOMUI pages to call window.open(), giving DOMUI privileges to the newmpcomplete@chromium.org2009-09-023-0/+26
| | | | | | | | | | | window (assuming it is on the same site instance). BUG=17636 TEST=no Review URL: http://codereview.chromium.org/173649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25250 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new plugin crash sig to known crashesdglazkov@chromium.org2009-09-021-0/+4
| | | | | | | | | | BUG=20915 TEST=none TBR=rohitrao Review URL: http://codereview.chromium.org/172111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25233 0039d316-1c4b-4281-b951-d872f2087c98
* Disable external DNS resolutions for in-process tests.phajdan.jr@chromium.org2009-09-021-5/+3
| | | | | | | | | TEST=none http://crbug.com/2635 Review URL: http://codereview.chromium.org/175054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25215 0039d316-1c4b-4281-b951-d872f2087c98
* Update the cookie databases to the latest version so the tests don't try to ↵brettw@chromium.org2009-09-025-0/+0
| | | | | | | | | | migrate them. TEST=none BUG=20872 Review URL: http://codereview.chromium.org/184012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25178 0039d316-1c4b-4281-b951-d872f2087c98
* Alias 'US-ASCII' to 'ISO-8859-1' in our UI without touching webkit.BUG=15801jnd@chromium.org2009-09-021-0/+11
| | | | | | | TEST=Add US-ASCII encoding to browser encoding test Review URL: http://codereview.chromium.org/178017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25168 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of the fix for uploading histograms sent by automation clients. ↵ananta@chromium.org2009-09-021-0/+5
| | | | | | | | | | | | These are sent by automation clients via the AutomationMsg_RecordHistograms IPC message. These histograms are then added to the list maintained by the StatisticsRecorder object. Partial fix for http://b/issue?id=2059267 Bug=2059267 Review URL: http://codereview.chromium.org/173529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25154 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary hack to paper over a rather concerning issue whereaa@chromium.org2009-09-021-2/+6
| | | | | | | | | | | ExtensionApiTest appears flaky because it is relying on resources that aren't rebuilt. BUG=19866 Review URL: http://codereview.chromium.org/182052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25123 0039d316-1c4b-4281-b951-d872f2087c98
* Revert accidental commits: r25115 and r25116mpcomplete@chromium.org2009-09-013-25/+0
| | | | | | Review URL: http://codereview.chromium.org/183045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25120 0039d316-1c4b-4281-b951-d872f2087c98
* Merge branch 'api' of /src/chrome/src into apimpcomplete@chromium.org2009-09-013-0/+25
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25115 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb request interception into the appcache library for both chrome and ↵michaeln@google.com2009-09-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | test_shell. AppCache library: * Added AppCacheInterceptor, which is derived from URLRequest::Interceptor. Chrome: * Each UserProfile instantiates a ChromeAppCacheService, which is derived from an appcache library class. * Each ChromeURLRequestContext associated with that profile has a reference to that instance. * ResourceDispatcherHost pokes AppCacheInterceptor when initiating URLRequests and when returning the response head. TestShell: * Added SimpleAppCacheSystem which bundles together appcache lib components for use in a single process with an UI and IO thread. * TestShellWebKit instantiates and initializes an instance of the above, aimed at at temp directory that will get cleaned up when the test run is over. * SimpleResourceLoaderBridge pokes the system when initiating URLRequests and when returning the response head. TEST=none, although many existing tests exercise this stuff BUG=none Review URL: http://codereview.chromium.org/173406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25099 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid an automation call which may induce flakiness in some tests.phajdan.jr@chromium.org2009-09-012-29/+23
| | | | | | | | | | | After a change in another place this change is now safe to make. TEST=Covered by ui_tests. BUG=none Review URL: http://codereview.chromium.org/173650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25098 0039d316-1c4b-4281-b951-d872f2087c98
* Add v8::internal::Compiler::Compile crash to known_crashes.dglazkov@chromium.org2009-09-011-0/+3
| | | | | | | | | | TBR=ager BUG=20825 TEST=none Review URL: http://codereview.chromium.org/176066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25086 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a handful of ui tests that seem to hang valgrinddkegel@google.com2009-09-011-0/+15
| | | | | | | | on the mac. Review URL: http://codereview.chromium.org/183031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25056 0039d316-1c4b-4281-b951-d872f2087c98
* Add new known Reliability Bot crasher. Plugin-related.dglazkov@chromium.org2009-09-011-0/+3
| | | | | | | | | | BUG=20793 TEST=none TBR=rohitrao Review URL: http://codereview.chromium.org/175048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25038 0039d316-1c4b-4281-b951-d872f2087c98
* more bookmark tests, plus fix a couple of API bugserikkay@chromium.org2009-09-011-14/+125
| | | | | | | | | BUG=19099,17288 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Bookmarks Review URL: http://codereview.chromium.org/183020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25036 0039d316-1c4b-4281-b951-d872f2087c98
* Add browser tests for extensions tab API.asargent@chromium.org2009-09-015-15/+306
| | | | | | | | | BUG=18442 TEST=none Review URL: http://codereview.chromium.org/174633 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25006 0039d316-1c4b-4281-b951-d872f2087c98
* This is a small quick fix for this script when it doesn't find password, it ↵tejasshah@google.com2009-09-011-2/+6
| | | | | | | | should just exit, rather go through rest of the code. Review URL: http://codereview.chromium.org/183022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24985 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly including the redirect status with the AutomationURLResponse info.tommi@chromium.org2009-08-311-2/+7
| | | | | | | | | | | Before we were always defaulting to 301. TEST=run automation tests. BUG=none Review URL: http://codereview.chromium.org/178041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24962 0039d316-1c4b-4281-b951-d872f2087c98
* Log more info when we are unable to terminate all Chrome processes.phajdan.jr@chromium.org2009-08-312-9/+24
| | | | | | | | | | | | | | I'm not sure what's happening, so I'm going to log that. This should answer the question if the leftover processes are renderers, or if it's the main browser process, etc. TEST=none BUG=none Review URL: http://codereview.chromium.org/180046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24958 0039d316-1c4b-4281-b951-d872f2087c98
* fix tree status regexerikkay@chromium.org2009-08-312-2/+5
| | | | | | | | TBR=aa Review URL: http://codereview.chromium.org/178039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24933 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk confirm form resubmission dialog.mattm@chromium.org2009-08-311-0/+1
| | | | | | | | | | | Refactor so that the dialog is shown by calling BrowserWindow::ShowRepostFormWarningDialog BUG=19761 TEST=see bug Review URL: http://codereview.chromium.org/174294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24930 0039d316-1c4b-4281-b951-d872f2087c98
* More correctly run the second browser in ChromeMainTest.phajdan.jr@chromium.org2009-08-312-137/+163
| | | | | | | | | | | | | | - wait for the second browser process to finish - only initialize user dir once Will it kill flakiness? Who knows. TEST=none http://crbug.com/20546 Review URL: http://codereview.chromium.org/181016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24902 0039d316-1c4b-4281-b951-d872f2087c98
* share extension API test frameworkerikkay@chromium.org2009-08-3114-326/+32
| | | | | | | | | BUG=18442 TEST=ExtensionApiTest.* Review URL: http://codereview.chromium.org/173622 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24892 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment with dislodging the Extension Shelf and having it only appear on ↵finnur@chromium.org2009-08-301-0/+2
| | | | | | | | | | | the New Tab page. BUG=http://crbug.com/20415 TEST=With the extension toolstrip visible, go to the New Tab page and press Ctrl + Alt + B. Watch the toolstrip merge into the New Tab page and back again into a separate toolstrip (when you press Ctrl + Alt + B again). Also, when you do this on a regular webpage (as opposed to NTP) this should toggle the toolstrip visiblity. Review URL: http://codereview.chromium.org/175017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24864 0039d316-1c4b-4281-b951-d872f2087c98
* fixed a regexp bug in mappy to improve address detectionerikkay@chromium.org2009-08-292-2/+2
| | | | | | TBR: finnur git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24857 0039d316-1c4b-4281-b951-d872f2087c98
* Fix samples extensions. Add icons (nothing building or testable)rafaelw@chromium.org2009-08-295-7/+14
| | | | | | | | | BUG=20236 TBR=aa Review URL: http://codereview.chromium.org/178028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24851 0039d316-1c4b-4281-b951-d872f2087c98
* Force databases and localstorage to be enabled extensions.aa@chromium.org2009-08-294-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | We were already doing this, this change modifies the mechanism. Before we were relying on the presence of the --enable-extensions flag, but as we are getting ready to remove that on dev, we needed something else. This forces local storage and database to be enabled on chrome-extension:// pages. Also, change the way database enabling works in general to be more like the way local storage works, just for consistency. Will remove old, unnecessary WebKit API in an upstream change. erikkay: extensions stuff dumi: database stuff jorlow: local storage stuff BUG=19511 Review URL: http://codereview.chromium.org/173306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24841 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Gtk confirm form resubmission dialog." Broke linux views build.mattm@chromium.org2009-08-281-1/+0
| | | | | | | | | | This reverts commit e6ab23c81e56c6b9fbb062bbb090a648e6ebef12. TBR=beng Review URL: http://codereview.chromium.org/183006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24827 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk confirm form resubmission dialog.mattm@chromium.org2009-08-281-0/+1
| | | | | | | | | | | Refactor so that the dialog is shown by calling BrowserWindow::ShowRepostFormWarningDialog BUG=19761 TEST=see bug Review URL: http://codereview.chromium.org/174294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24826 0039d316-1c4b-4281-b951-d872f2087c98
* Make a bunch of backlogged breaking changes to the extensions API in prep ↵aa@chromium.org2009-08-287-7/+7
| | | | | | | | | | | | | | | for dev: * Enforce permissions on cross-origin XHR * Enforce module-level permissions * Decided not to completely remove chrome.self since it is so widely used, but removed all references to it from samples and docs. BUG=16356,12129,12140 TEST=Sample extensions on http://dev.chromium.org/developers/design-documents/extensions/samples should still work Review URL: http://codereview.chromium.org/179027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24816 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a FaviconService class tied to the profile.arv@google.com2009-08-281-0/+4
| | | | | | | | | | | | | | | | | | | Original issue: http://codereview.chromium.org/115212/show The favicons service is the entry point to getting favicons. Make the DOMUIFactory handle the favicons of DOMUI pages so since DOMUI pages are never added to the history. BUG=5840 TEST=Open a new window and open history and downloads (Ctrl+H and Ctrl+J) in this window. Then close the window and open the NTP. The recently closed windows/tabs should show the favicons for the hsitroy and downloads page. Review URL: http://codereview.chromium.org/178001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24806 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix a ton of compiler warnings."tony@chromium.org2009-08-284-7/+3
| | | | | | | | | | | This reverts commit r24792. TBR=estade Review URL: http://codereview.chromium.org/179028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24796 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a ton of compiler warnings.estade@chromium.org2009-08-284-3/+7
| | | | | | | | | | | | | | | Most of these are classes with virtual methods lacking virtual destructors or NULL used in non-pointer context. BUG=none TEST=app_unittests && base_unittests --gtest_filter=-ConditionVariableTest.LargeFastTaskTest patch by Jacob Mandelson <jlmjlm [at] gmail> http://codereview.chromium.org/171028/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24792 0039d316-1c4b-4281-b951-d872f2087c98
* override chrome:// URLs via extensions.erikkay@chromium.org2009-08-288-0/+150
| | | | | | | | | | Overrides are declared in an extension's manifest. The last one installed wins. However, we keep a list of those installed per page so that priority is preserved and so that uninstall will revert to a previous state. Review URL: http://codereview.chromium.org/174277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24791 0039d316-1c4b-4281-b951-d872f2087c98
* Extension API Renaming/Consistency changesrafaelw@chromium.org2009-08-2811-90/+182
| | | | | | | | BUG=20288 Review URL: http://codereview.chromium.org/180016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24770 0039d316-1c4b-4281-b951-d872f2087c98
* Add ↵jshin@chromium.org2009-08-281-0/+4
| | | | | | | | | | | | | "npapi::plugininstance::npp_newstream___ipc::syncchannel::sendwithtimeout" to the known crash list (reliability test). After an completely unrelated CL was checked in, this crash (the top frame being in NPSWF) showed up. This may be a dupe, but it's hard to tell because most of frames are not resolved to symbols. BUG=20494 TEST=A similar stack does not trigger a reliability test failure. TBR=huanr Review URL: http://codereview.chromium.org/173607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24734 0039d316-1c4b-4281-b951-d872f2087c98
* Add unittest for Gtk search engine manager dialog.mattm@chromium.org2009-08-271-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/180012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24692 0039d316-1c4b-4281-b951-d872f2087c98
* Only allow in-process tests in few binaries.phajdan.jr@chromium.org2009-08-271-0/+7
| | | | | | | | | | | | And it is not the final set. The main goal of this patch is to prevent further regressions. TEST=none BUG=none Review URL: http://codereview.chromium.org/173547 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24644 0039d316-1c4b-4281-b951-d872f2087c98
* Skip ImporterTest.Firefox35Importer unit test again as it is still crashing ↵kuchhal@chromium.org2009-08-271-0/+3
| | | | | | | | | | Purify. BUG=19820 Review URL: http://codereview.chromium.org/180002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24634 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r24606-24607. The tree didn't like them. :(phajdan.jr@chromium.org2009-08-273-6/+3
| | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/173574 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24608 0039d316-1c4b-4281-b951-d872f2087c98
* Mock the LinkDoctor for tests. Should greatly decrease ErrorPage test flakiness.phajdan.jr@chromium.org2009-08-273-3/+6
| | | | | | | | | | | Not getting rid of WaitForTitleMatching because I have to add few more calls to the automation framework (http://crbug.com/19395) to wait properly after navigating back and forward. TEST=Covered by ui_tests and browser_tests. http://crbug.com/18365, http://crbug.com/19361 Review URL: http://codereview.chromium.org/174179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24606 0039d316-1c4b-4281-b951-d872f2087c98
* Update of the extension install UI:aa@chromium.org2009-08-2739-0/+299
| | | | | | | | | | | | | | | | | - Give the user more information about which hosts an extension can access. - Remove the red severe warning because it doesn't play well with themes and because it adds nothing when the other text is more specific. - Make the image a bit smaller. Also integrate this new idea with the silent/not-silent update flow. BUG=12129,12140,19582 Review URL: http://codereview.chromium.org/173463 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24599 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash caused due to a call to NPP_DestroyStream occuring in the ↵ananta@chromium.org2009-08-272-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | context of NPP_NewStream. The plugin would invoke NPN_Evaluate to display an alert in the context of NewStream. This would cause the didFail IPC to be dispatched which would cause the plugin to invoke another call to NPP_NewStream which would repeat these steps and crash. The didFail call from the renderer did not honor the deferred load flag which we set in WebPluginImpl prior to dispatching stream IPCs to the plugin. Fix is to dispatch the didFail call when we receive an ack from the plugin indicating that it is ready to accept stream data. This fixes bug http://code.google.com/p/chromium/issues/detail?id=20063 The other change is in WebPluginImpl::TearDownPluginInstance, where we run through the list of resource clients and cancel them. We call didFail on these clients here, which occurs anyway through the PluginDestroyed code path. Bug=20063 Test=Convered by interactive UI test. Review URL: http://codereview.chromium.org/174383 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24593 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leaks in Firefox impoter unittest.kuchhal@chromium.org2009-08-261-3/+0
| | | | | | | | | BUG=19820 TBR=erikkay Review URL: http://codereview.chromium.org/173546 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24564 0039d316-1c4b-4281-b951-d872f2087c98