summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view_browsertest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Revert 68905 - Pull in a named constant from WebKitfinnur@chromium.org2010-12-161-6/+13
| | | | | | | | | | | | | | | | | Reason: It broke the Win Builder (dbg)(shared), aka. shared_library bot. Search for defaultMaxLength on: http://build.chromium.org/p/chromium/builders/Win%20Builder%20(dbg)(shared)/builds/9/steps/compile/logs/stdio Review URL: http://codereview.chromium.org/5770002 BUG=none TEST=none TBR=isherman@chromium.org Review URL: http://codereview.chromium.org/5891003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69392 0039d316-1c4b-4281-b951-d872f2087c98
* render_view_browsertest.cc: Cast wchar_t to int for snprintf.hans@chromium.org2010-12-141-1/+2
| | | | | | | | | | | | | | | To print the character code, we should cast the wchar_t to an int. The code currently happens to work because we don't compile with -fshort-wchars, and thus wchar_t is four bytes, which coincides with what %d in the snprintf format string expects. However, it's not portable, and Clang complains about this. BUG=none TEST=browser_tests --gtest_filter=RenderViewTest.OnHandleKeyboardEvent Review URL: http://codereview.chromium.org/5755005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69145 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in a named constant from WebKitisherman@chromium.org2010-12-101-13/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5770002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68905 0039d316-1c4b-4281-b951-d872f2087c98
* Once a form has been partially autofilled, autofill should only update ↵isherman@chromium.org2010-11-291-8/+16
| | | | | | | | | | | fields one at a time. BUG=63437, 62638 TEST=unit_tests --gtest_filter=AutoFillManagerTest.* Review URL: http://codereview.chromium.org/5334005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67599 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a test for UpdateState messages after repeated back/forward navs.creis@google.com2010-11-231-0/+89
| | | | | | | | | | | | | Ensures that the fix for WebKit bug 48809 works in Chrome. Also re-enables a UI test that failed after a partial fix. BUG=58082, 62156 TEST=RenderViewTest.LastCommittedUpdateState TEST=SessionHistoryTest.FragmentBackForward Review URL: http://codereview.chromium.org/4444001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67166 0039d316-1c4b-4281-b951-d872f2087c98
* Autofill: Prefer maxLength to size attribute for form filling heuristics.isherman@chromium.org2010-11-201-6/+13
| | | | | | | | | BUG=63440 TEST=browser_tests --gtest_filter=FormManagerTest.* Review URL: http://codereview.chromium.org/5137004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66850 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PrintWebViewHelper::PrintPageAsJPEG. It's dead code.thestig@chromium.org2010-10-081-39/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3588011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61888 0039d316-1c4b-4281-b951-d872f2087c98
* Clang: make DCHECK_EQ(string16, string16) work.thakis@chromium.org2010-10-011-8/+11
| | | | | | | | | | | | | | | | | | | The problem is that string16 is a typedef for a std::basic_string with a custom base::char_traits, hence ADL looks for operator<< only in std and base, not in the global namespace. Since adding stuff to the global namespace isn't permitted, move the operator to namespace base instead. Also give WebString an explicit operator<< because clang can't figure out that it can use WebString's |operator string16| to print WebStrings. string16 is just wstring on windows, and gtest has special code to make printing wstrings to non-wide ostreams work already, so nothing is required on windows. Fix a few other minor issues. Based on a patch by hans@chromium.org BUG=57294 TEST=still compiles with gcc, fewer build errors in tests with clang Review URL: http://codereview.chromium.org/3515003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61218 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PrintLayoutTest as it fails on windows.satish@chromium.org2010-09-201-1/+8
| | | | | | | | BUG=56246 TEST=none TBR=jorlow git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59939 0039d316-1c4b-4281-b951-d872f2087c98
* Adds default constructors and destructors to ViewHostMsgs.hbono@chromium.org2010-09-151-1/+1
| | | | | | | | | | This change adds default constructors to ViewHostMsgs defined in 'chrome/common/render_messages_params.h' to prevent its variables from being used uninitialized, and adds destructors to prevent compilers from synthesizing them when including the header file. This change also removes code that inserts constants to the structs because we do not need it any more. BUG=none TEST=none Review URL: http://codereview.chromium.org/3252001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59482 0039d316-1c4b-4281-b951-d872f2087c98
* Re-lands 58186:bryeung@chromium.org2010-09-031-25/+25
| | | | | | | | | | | | | | | | | | | | Original message: """ Move the keyboard files from base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 """ TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58438 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from ↵akalin@chromium.org2010-09-021-25/+25
| | | | | | | | | | | | | | | | | | | | | base/ to app/. Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 TBR=bryeung@chromium.org Review URL: http://codereview.chromium.org/3337006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-021-25/+25
| | | | | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3361003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58388 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58186 - Move the keyboard files from base/ to app/.phajdan.jr@chromium.org2010-09-011-25/+25
| | | | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 TBR=bryeung@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58215 0039d316-1c4b-4281-b951-d872f2087c98
* Move the keyboard files from base/ to app/.bryeung@chromium.org2010-09-011-25/+25
| | | | | | | | | | | Also moves the associated classes/enums from base:: to app::. TEST=try bots compile BUG=NONE Review URL: http://codereview.chromium.org/3165064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58186 0039d316-1c4b-4281-b951-d872f2087c98
* This CL ensures we use the language specified in the language meta tag if any.jcivelli@chromium.org2010-09-011-0/+69
| | | | | | | | | | | Also IsPageTranslatable was moved to TranslateHelper as it is where it belongs. BUG=51454 TEST=Run the browser tests. Review URL: http://codereview.chromium.org/3236008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58175 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Make our handling of Windows pre-processor symbols more consistent.phajdan.jr@chromium.org2010-08-261-2/+1
| | | | | | | | | | | | | | For example, there are differences between unit_tests and browser_tests, which cause ridiculous problems when moving a test between those. We're using the symbols anyway, so let's centralize it for maintainability. TEST=compile BUG=none Review URL: http://codereview.chromium.org/3173044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57555 0039d316-1c4b-4281-b951-d872f2087c98
* Undisable tests that were crashy because of re-initializing WebKit:phajdan.jr@chromium.org2010-08-251-2/+1
| | | | | | | | | | | | | | - FormManagerTest.LabelsInferredFromParagraph - RenderViewTest.OnHandleKeyboardEvent TBR=dhollowa TEST=browser_tests BUG=52643, 52731 Review URL: http://codereview.chromium.org/3152051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57379 0039d316-1c4b-4281-b951-d872f2087c98
* Disable crashy RenderViewTest.DidFailProvisionalLoadWithErrorForErrorphajdan.jr@chromium.org2010-08-241-1/+2
| | | | | | | | | | | TBR=brettw TEST=browser_tests BUG=53247 Review URL: http://codereview.chromium.org/3141040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57242 0039d316-1c4b-4281-b951-d872f2087c98
* Band-aid a build failure, will land a proper fix soon.phajdan.jr@chromium.org2010-08-241-1/+2
| | | | | | | | TBR=rohitrao Review URL: http://codereview.chromium.org/3110036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57240 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: move tests that use WebKit from unit_tests to browser_testsphajdan.jr@chromium.org2010-08-241-0/+1091
to avoid crashes. TBR=dhollowa, sky, erikkay TEST=unit_tests, browser_tests BUG=52731, 52643 Review URL: http://codereview.chromium.org/3150034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57236 0039d316-1c4b-4281-b951-d872f2087c98