summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Implemented GetOffTheRecordPrefs() for Profilebattre@chromium.org2011-02-041-4/+1
| | | | | | | | | BUG=71679 TEST=none Review URL: http://codereview.chromium.org/6250107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73805 0039d316-1c4b-4281-b951-d872f2087c98
* Separate proxy settings for Incognito mode.battre@chromium.org2011-02-049-0/+175
| | | | | | | | | | | | | This CL enables setting different proxy settings for regular windows and incognito windows. Also it allows removing a preference set by an extension (in order to fall back to the default/recommended value again). This CL depends on http://codereview.chromium.org/5915004/ which is not landed, yet. BUG=509 TEST=unit tests, no manual test, yet (will follow once appropriate extensions are available) Review URL: http://codereview.chromium.org/6261004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73798 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow binding remote debugging to provided interface.pfeldman@chromium.org2011-02-041-0/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6334105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73796 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r73760: Move most of chrome-extension:// requestaa@chromium.org2011-02-0417-0/+8
| | | | | | | | | | | | checks into renderer. One cannot be moved because we don't have the bit of state we need in the renderer. This should have fixed the bug 57263, but it doesn't. So maybe something else is going on? BUG=57263 TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73784 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NPAPITesterBase.GetURLRedirectNotification compile error.nkostylev@chromium.org2011-02-041-1/+1
| | | | | | | | | | TBR=ananta@chromium.org BUG=N/A TEST=itself Review URL: http://codereview.chromium.org/6368095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73780 0039d316-1c4b-4281-b951-d872f2087c98
* Mark NPAPITesterBase.GetURLRedirectNotification test as flaky on linux.nkostylev@chromium.org2011-02-041-1/+7
| | | | | | | | | BUG=chromium-os:71904 TEST=itself Review URL: http://codereview.chromium.org/6410078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73779 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73760 - Move most of chrome-extension:// request checks intotommi@chromium.org2011-02-0417-6/+0
| | | | | | | | | | | | | | | | | | | renderer. One cannot be moved because we don't have the bit of state we need in the renderer. This should have fixed the bug 57263, but it doesn't. So maybe something else is going on? BUG=57263 TEST= Review URL: http://codereview.chromium.org/6296025 TBR=aa@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73763 0039d316-1c4b-4281-b951-d872f2087c98
* Move most of chrome-extension:// request checks intoaa@chromium.org2011-02-0417-0/+6
| | | | | | | | | | | | | | | | | renderer. One cannot be moved because we don't have the bit of state we need in the renderer. This should have fixed the bug 57263, but it doesn't. So maybe something else is going on? BUG=57263 TEST= Review URL: http://codereview.chromium.org/6296025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73760 0039d316-1c4b-4281-b951-d872f2087c98
* Call webkit init once for all chrome unit tests and move the only unittestmichaeln@google.com2011-02-041-2/+39
| | | | | | | | | | | | | | | that was initting webkit itself to the browsertest harness where each test is expected to init webkit. Initting webkit is useful for two reasons: 1. It allows the use of some primitive webkit data types like WebString and WebSecurityOrigin. 2. Individual unittests should not be initting webkit on their own, initting it here ensures attempts to do so within an individual test will fail. BUG=52357 TEST=none Review URL: http://codereview.chromium.org/6291007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73743 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 73532 again...dtseng@chromium.org2011-02-041-0/+13
| | | | | | | | BUG=65911 TBR=dtseng. Review URL: http://codereview.chromium.org/6312139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73739 0039d316-1c4b-4281-b951-d872f2087c98
* Run all tests in test_basic.pynirnimesh@chromium.org2011-02-041-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6246084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73720 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of pdf browser test flakiness. The issue was slight changes in the ↵jam@chromium.org2011-02-041-30/+11
| | | | | | | | | font sub-pixel rendering. BUG=63223 Review URL: http://codereview.chromium.org/6250148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73712 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang bot by returning NULL instead of false.kkania@chromium.org2011-02-031-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6368086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73682 0039d316-1c4b-4281-b951-d872f2087c98
* Disable testHistoryResultnirnimesh@chromium.org2011-02-031-0/+1
| | | | | | | | | | BUG=71715 TEST= Review URL: http://codereview.chromium.org/6246083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73678 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FileIO and FileRef PPAPI tests to match changes inadamk@chromium.org2011-02-031-4/+2
| | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=71544, and try re-enabling them in the UI tests. Review URL: http://codereview.chromium.org/6410064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73677 0039d316-1c4b-4281-b951-d872f2087c98
* Add testserver support for PyAutonirnimesh@chromium.org2011-02-036-3/+103
| | | | | | | | | | | | Runs a local http server which serves data files over http:// for use in tests. Uses TestServer. BUG=50981 TEST=test_basic.SimpleTest.testHTTP Review URL: http://codereview.chromium.org/6312036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73674 0039d316-1c4b-4281-b951-d872f2087c98
* Break Session off into a separate Automation class, which is just focused on ↵kkania@chromium.org2011-02-0320-405/+497
| | | | | | | | | | | controlling Chrome. Have Session create its own thread which automation messages are executed on. BUG=none TEST=none Review URL: http://codereview.chromium.org/6306013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73670 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor HttpNetworkSession construction.willchan@chromium.org2011-02-031-71/+2
| | | | | | | | | | | Introduce HttpNetworkSession::Params. This should make it easy to add new optionally NULL parameters. I also took this opportunity to eliminate some copy/pastes of TestURLRequestContext and make them use the original. I was also able to remove the need for ClientSocketFactory::GetDefaultFactory() calls and new SpdySessionPool() calls in most places. BUG=none TEST=none Review URL: http://codereview.chromium.org/6349028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73669 0039d316-1c4b-4281-b951-d872f2087c98
* Add a regression test for issue 70505.finnur@chromium.org2011-02-031-0/+591
| | | | | | | | | | | | (2nd try, with fix for TabContents cleanup reorg fix) TBR=ojan BUG=70505 TEST=Automated test added, see bug for details. Review URL: http://codereview.chromium.org/6250127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73618 0039d316-1c4b-4281-b951-d872f2087c98
* Remove v8 signature from known crashes. The crashes have been fixed.ager@chromium.org2011-02-031-3/+0
| | | | | | Review URL: http://codereview.chromium.org/6349076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73617 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73604 - Add a regression test for issue 70505.finnur@chromium.org2011-02-031-591/+0
| | | | | | | | | | | | BUG=70505 TEST=Automated test added, see bug for details. Review URL: http://codereview.chromium.org/6297019 TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/6410057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73606 0039d316-1c4b-4281-b951-d872f2087c98
* Add a regression test for issue 70505.finnur@chromium.org2011-02-031-0/+591
| | | | | | | | | BUG=70505 TEST=Automated test added, see bug for details. Review URL: http://codereview.chromium.org/6297019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73604 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73558 - Reland 73532.thestig@chromium.org2011-02-031-13/+0
| | | | | | | | | | | BUG=65911 TBR=dtseng Review URL: http://codereview.chromium.org/6286068 TBR=dtseng@chromium.org Review URL: http://codereview.chromium.org/6349068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73596 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the test that I disabled last night.cevans@chromium.org2011-02-031-2/+0
| | | | | | | | | | | Handle an AtExitManager either being present or not. The Linux shlibs test has unique considerations of linkage. BUG=30700 TEST=now passes Review URL: http://codereview.chromium.org/6334050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73590 0039d316-1c4b-4281-b951-d872f2087c98
* Cross-platform CL to remove app/win/win_util.h&cc and related work.msw@chromium.org2011-02-031-7/+0
| | | | | | | | | | | | | | | | | | | | See Issue 70141 for the full move details; see my inline review comments. Changes significantly different from or beyond those prescribed by the bug: *Consolidated a lot of GrabWindowSnapshot code. *Moved EnsureRectIsVisibleInRect to views::internal namespace for test access. *Moved app/win/win_util_unittest.cc to views/window/window_win_unittest.h *Named ui/base/message_box_win.h instead of ui/base/message_box.h *Made WindowWin::GetWindowTitleFont static; needed in static contexts. *Denoted WindowWin::FrameTypeChanged as a Window override, moved code. *Moved TestGrabWindowSnapshot into new file: chrome/browser/ui/window_snapshot/window_snapshot_mac_unittest.mm BUG=70141 TEST=none Review URL: http://codereview.chromium.org/6386009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73589 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup base & app unit test MockCrApp NSApp initialization.msw@chromium.org2011-02-031-1/+6
| | | | | | | | | | | | | | Provide chrome unit test CrApplication NSApp initialization. Chrome requires a legitimate message loop for its unit tests. Ensure that init occurs before the base class MockCrApp init. BUG=71686 TEST=Run all base/app/chrome unit tests on Mac; try bug repro Review URL: http://codereview.chromium.org/6349058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73581 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 73532.dtseng@chromium.org2011-02-031-0/+13
| | | | | | | | BUG=65911 TBR=dtseng Review URL: http://codereview.chromium.org/6286068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73558 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73532 - Add initial outline of mocking for DOMUI tests. Mocking for ↵arv@chromium.org2011-02-021-13/+0
| | | | | | | | | | | | | more classes later once we understand how much needs to be mocked. BUG=none. TEST=none. Review URL: http://codereview.chromium.org/6384015 TBR=dtseng@chromium.org Review URL: http://codereview.chromium.org/6312108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73539 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=71617rohitbm@google.com2011-02-021-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6410042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73535 0039d316-1c4b-4281-b951-d872f2087c98
* Add initial outline of mocking for DOMUI tests. Mocking for more classes ↵dtseng@chromium.org2011-02-021-0/+13
| | | | | | | | | | later once we understand how much needs to be mocked. BUG=none. TEST=none. Review URL: http://codereview.chromium.org/6384015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73532 0039d316-1c4b-4281-b951-d872f2087c98
* Part two of CL 5915006: change local state data so that Mac can test ↵mirandac@chromium.org2011-02-021-1/+1
| | | | | | | | | | | properly (no windows below 400 width allowed on Mac). BUG=66717 TEST=see r72153 Review URL: http://codereview.chromium.org/6286053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73482 0039d316-1c4b-4281-b951-d872f2087c98
* Remove user-related data from local_state and add to user_preferences, in ↵mirandac@chromium.org2011-02-021-0/+11
| | | | | | | | | | | | | | | | | | | | preparation for multi-profile. devtools kDevToolsSplitLocation browser kBrowserWindowPlacement Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests. BUG=66717 TEST=all browser, interactive, and ui tests work properly Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72153 Review URL: http://codereview.chromium.org/5915006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73481 0039d316-1c4b-4281-b951-d872f2087c98
* Update installer test constants for finding correct dev and stable builds.kkania@chromium.org2011-02-021-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6351003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73466 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: removing obsolete test.glotov@google.com2011-02-021-7/+0
| | | | | | | | | BUG=chromium:60050, chromium-os:8517 TEST=none Review URL: http://codereview.chromium.org/6250052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73451 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid a couple of tests on Linux to get the tree green for now.cevans@chromium.org2011-02-021-0/+2
| | | | | | | | | BUG=30700 TBR=cpu Review URL: http://codereview.chromium.org/6250103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73446 0039d316-1c4b-4281-b951-d872f2087c98
* Remove exec permissions on files from previous extension checkin.mpcomplete@chromium.org2011-02-011-0/+0
| | | | | | Review URL: http://codereview.chromium.org/6368036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73363 0039d316-1c4b-4281-b951-d872f2087c98
* Move find-in-page from TabContents to TabContentsWrapper.avi@chromium.org2011-02-013-10/+16
| | | | | | | | | | | Relanding r73294. BUG=71097 TEST=Hammer on find-in-page on all platforms. Nothing should crash, break, or have any user-visible change. Review URL: http://codereview.chromium.org/6246028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73360 0039d316-1c4b-4281-b951-d872f2087c98
* Unreverting: First steps towards webRequest extension API.mpcomplete@chromium.org2011-02-017-0/+112
| | | | | | | | | | | | | | Only an asynchronous version of onBeforeRequest is implement, with limited data being passed. Original CL: http://src.chromium.org/viewvc/chrome?view=rev&revision=73196 BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6246032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73344 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromeFrame perf tests which now crash because of a recent change to the ↵ananta@chromium.org2011-02-011-1/+2
| | | | | | | | | | | | UITest suite. BUG=none TEST=ChromeFrame perf tests should run to completion. TBR=amit Review URL: http://codereview.chromium.org/6286022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73343 0039d316-1c4b-4281-b951-d872f2087c98
* wstring: use FilePath instead of std::string for a pathevan@chromium.org2011-02-011-1/+1
| | | | | | | | | BUG=69467 TEST=compiles Review URL: http://codereview.chromium.org/6347047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73338 0039d316-1c4b-4281-b951-d872f2087c98
* - Add ChromeOS login and lock screen automation hooks.dtu@chromium.org2011-02-013-1/+14
| | | | | | | | | | | | | | - Add AutomationProxy::SendJSONRequest that does not require a handle to a Browser/BrowserProxy. - Fix issue where AutomationProvider thinks it's never finished loading the login screen. - Not included: UI tests for login, since they should be PyAuto tests. - Not included: fix for Chrome quitting as a result of channel disconnect. BUG=chromium-os:11538 TEST=none Review URL: http://codereview.chromium.org/6320022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73327 0039d316-1c4b-4281-b951-d872f2087c98
* Don't create bg pages if the opener doesn't have a background permission.atwilson@chromium.org2011-02-013-7/+23
| | | | | | | | | | | | Now window.open() returns undefined if the caller is trying to open a background window but does not have the proper permission. BUG=47119 TEST=verify that window.open(url, "name", "background") returns undefined Review URL: http://codereview.chromium.org/6250038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73313 0039d316-1c4b-4281-b951-d872f2087c98
* Add python tests for chromedriver and small test fixes.kkania@chromium.org2011-02-016-102/+204
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6344018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73311 0039d316-1c4b-4281-b951-d872f2087c98
* Created test case for posting a form 1000 times to test autofill crowd ↵dyu@chromium.org2011-02-014-0/+55
| | | | | | | | | | source feature. BUG=none TEST=none Review URL: http://codereview.chromium.org/6368020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73308 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73294 - Move find-in-page from TabContents to TabContentsWrapper.davemoore@chromium.org2011-02-012-13/+7
| | | | | | | | | | | | BUG=71097 TEST=Hammer on find-in-page on all platforms. Nothing should crash, break, or have any user-visible change. Review URL: http://codereview.chromium.org/6378014 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/6286019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73307 0039d316-1c4b-4281-b951-d872f2087c98
* Add some logging to pyauto downloads test testNoUnsafeDownloadsOnRestart.rdsmith@chromium.org2011-02-011-1/+7
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6303020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73303 0039d316-1c4b-4281-b951-d872f2087c98
* Fix and refactor for ProxyLauncher browser disconnect.dtu@chromium.org2011-02-016-32/+64
| | | | | | | | | | | In ProxyLauncher, the new TerminateConnection() function is paired with InitializeConnection(). shutdown_type_ moved from UITestBase to ProxyLauncher, since that's the only place it's used. BUG=chromium-os:8514 TEST=none Review URL: http://codereview.chromium.org/6248022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73300 0039d316-1c4b-4281-b951-d872f2087c98
* Move find-in-page from TabContents to TabContentsWrapper.avi@chromium.org2011-02-012-7/+13
| | | | | | | | | BUG=71097 TEST=Hammer on find-in-page on all platforms. Nothing should crash, break, or have any user-visible change. Review URL: http://codereview.chromium.org/6378014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73294 0039d316-1c4b-4281-b951-d872f2087c98
* Split history tests into parts that run in under 6 seconds.skerner@chromium.org2011-02-0112-515/+544
| | | | | | | | | | | I don't see how the failures listed in the bug can happen. Because the logs are old, reenabling the tests to see if the failures re-occur. BUG=26296 TEST=ExtensionHistoryApiTest.* Review URL: http://codereview.chromium.org/6260050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73293 0039d316-1c4b-4281-b951-d872f2087c98
* BrowserTest to make sure plugins aren't loaded on prerendered pagesmmenke@chromium.org2011-02-012-1/+32
| | | | | | | | | | | | | until the pages are loaded into a TabContents. Also a little PrerenderBrowserTest cleanup. BUG=71216 TEST=PrerenderBrowserTest.PrerenderDelayLoadPlugin Review URL: http://codereview.chromium.org/6409023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73287 0039d316-1c4b-4281-b951-d872f2087c98