summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite old unit tests to avoid connecting to google.com; fixes TODO(darin)dkegel@google.com2009-01-132-14/+55
| | | | | | | | | | | | | | | | fix typo in listen_socket.h include guard I would have liked to use scoped_refptr for listen_sock_ and connected_sock_, but that crashes on the mac (possibly because the sockets need to be closed before TCPClientSocketTest is destroyed; that will be easier once ListenSocket is refactored, but that's beyond the scope of this change). Review URL: http://codereview.chromium.org/18001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7984 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the test tables/mozilla/bugs/bug43854-1.html . The CSS ofsky@google.com2009-01-134-75/+75
| | | | | | | | | | | | | | | | | | the test changed upstream from: font-family: sans-serif; to: font-family: "MS Sans Serif", sans-serif; So that we need to rebaseline. BUG=none TEST=none Review URL: http://codereview.chromium.org/18024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7983 0039d316-1c4b-4281-b951-d872f2087c98
* Oops, we need config.h. This file really shouldn't be includingdarin@chromium.org2009-01-131-0/+3
| | | | | | | | | | stuff from WebCore! TBR=tony Review URL: http://codereview.chromium.org/18207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7981 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to pick up cleaned platform/chromium files.darin@chromium.org2009-01-131-1/+1
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/18202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7978 0039d316-1c4b-4281-b951-d872f2087c98
* Call logging::InitLogging. The lack of this was causing some hangs (and ↵erikkay@google.com2009-01-1317-135/+90
| | | | | | | | | | | possibly crashes) in ObserverListTest.BUG=6286 This CL has expanded to include some cleanup and refactoring of test_suite and related files, so that this logging change (and other improvements) are applied to all unit tests. Review URL: http://codereview.chromium.org/18003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7977 0039d316-1c4b-4281-b951-d872f2087c98
* Pixel perfection on tabstrip for non-Aero frame. This gets both ends of the ↵pkasting@chromium.org2009-01-135-36/+42
| | | | | | | | tabstrip positioned correctly for normal and incognito windows, in both restored and maximized modes.The chief change was to correctly transform the bounds returned by the non-client view into the BrowserView's coordinate system, as the Views system expected. To make this not break the world I then had to actually return the right coordinates in the non-client view :). Updated comments on function declarations to hopefully match reality.For convenience this also introduces a function to get the horizontal border size and cleans up existing code to use it.BUG=5054 Review URL: http://codereview.chromium.org/18019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7976 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to update third_party/WebKit to pick up CRLF change.levin@chromium.org2009-01-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/18022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7975 0039d316-1c4b-4281-b951-d872f2087c98
* Update tests_fixable.txt to note my crash fix.evan@chromium.org2009-01-131-3/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7974 0039d316-1c4b-4281-b951-d872f2087c98
* DEPS change to pick up Linux crash fix.evan@chromium.org2009-01-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7972 0039d316-1c4b-4281-b951-d872f2087c98
* Remove HttpTransactionWinHttp and the --winhttp command-linewtc@google.com2009-01-1323-2713/+20
| | | | | | | | | | | | | | | switch. Remove WinHttpThrottle and CertStatusCache, which are only used by HttpTransactionWinHttp. Fix nits reported by cpplint.py. R=eroman,darin BUG=6323 Review URL: http://codereview.chromium.org/17635 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7970 0039d316-1c4b-4281-b951-d872f2087c98
* Make resource_bundle compile on Linux.evan@chromium.org2009-01-135-2/+17
| | | | | | | | | | | It's still missing implementations of many functions, but those will be easier to implement once we have the data file generation working, which Tony has underway. Review URL: http://codereview.chromium.org/17392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7969 0039d316-1c4b-4281-b951-d872f2087c98
* Apply Gears modifications to zlib to our copy, so we're both using the samempcomplete@google.com2009-01-133-17/+24
| | | | | | | version. Review URL: http://codereview.chromium.org/17358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7968 0039d316-1c4b-4281-b951-d872f2087c98
* get in sync with scons changes in browserpinkerton@google.com2009-01-131-0/+2
| | | | | | Review URL: http://codereview.chromium.org/18020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7967 0039d316-1c4b-4281-b951-d872f2087c98
* Remove grit hack and inline a 30x30 red square for atc@google.com2009-01-138-27/+19
| | | | | | | | | data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
* Re-baselining a few SVG batik tests to fix 5 layoutfinnur@google.com2009-01-1323-812/+1153
| | | | | | | | | | | | | | | | | | | | tests. Also added a few expected text baselines. The changes are mainly due to subtle differences in the way we render text, missing Z's from text diff and in some cases I rebaselined because the actual output is a lot more like the mac output than our expected output and given that when we baselined SVG we just put a stake in the ground at some point so there are errors in some baselines. In some cases I just added the missing Z's to make text baseline correct (although it still fails image diff due to other issues). Review URL: http://codereview.chromium.org/18016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7964 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the regression where Gears didn't load.jam@chromium.org2009-01-131-7/+5
| | | | | | | BUG=6375 Review URL: http://codereview.chromium.org/17393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7962 0039d316-1c4b-4281-b951-d872f2087c98
* roll DEPS to pick up bustage fixdarin@chromium.org2009-01-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7961 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/ side of moving RenderThemeGtk.{h,cpp} into rendering/darin@chromium.org2009-01-132-2/+3
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/17391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7959 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-01-134-250/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tables/mozilla_expected_failures/bugs/bug14007-2.html. This test needs to be rebaselined as prior to the merge we treated font-weight:600 as bold, after the merge we don't. The changed code is in FontCacheChromiumWin, it's now: winfont->lfWeight = toGDIFontWeight(fontDescription.weight()); static LONG toGDIFontWeight(FontWeight fontWeight) { static LONG gdiFontWeights[] = { FW_THIN, // FontWeight100 FW_EXTRALIGHT, // FontWeight200 FW_LIGHT, // FontWeight300 FW_NORMAL, // FontWeight400 FW_MEDIUM, // FontWeight500 FW_SEMIBOLD, // FontWeight600 FW_BOLD, // FontWeight700 FW_EXTRABOLD, // FontWeight800 FW_HEAVY // FontWeight900 }; return gdiFontWeights[fontWeight]; } where as previously it was: winfont->lfWeight = fontDescription.bold() ? 700 : 400; BUG=none TEST=none Review URL: http://codereview.chromium.org/18002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7956 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline a layout test that fails in Linux. Difference is one pixel on ↵jhawkins@chromium.org2009-01-135-4/+2
| | | | | | | | 'a' characters. Win baseline might need to be fixed to match platform/mac. Review URL: http://codereview.chromium.org/17626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7953 0039d316-1c4b-4281-b951-d872f2087c98
* Make the focus handling in test_shell a bit closer to howojan@google.com2009-01-132-3/+9
| | | | | | | | | Chrome handles focus. Fixes a few issues where the page would not correctly get focus (e.g. a page that alerts on a keydown handler would never get focus again). Review URL: http://codereview.chromium.org/18009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7952 0039d316-1c4b-4281-b951-d872f2087c98
* Add all the WebCore cursors/supporting images to chromium projectpinkerton@google.com2009-01-131-0/+129
| | | | | | Review URL: http://codereview.chromium.org/18007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7951 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an invalid path in MSVC generation of new webkit_resources.vcproj.tc@google.com2009-01-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/17370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7950 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that merged files use LF rather than CRLF. This will hopefully keep thepamg@google.com2009-01-131-2/+8
| | | | | | | | | | | | | CRLFs out of our repository, so the Mac andLinux tryservers can apply patches to the files successfully. BUG=6117 TEST=run a WebKit merge using BeyondCompare, and another using kdiff3. Make sure no CRLFs appear in the files checked in. Review URL: http://codereview.chromium.org/17387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7949 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TODOs in base/ :phajdan.jr@chromium.org2009-01-132-8/+10
| | | | | | | | | | - switch to FilePath inside CopyDirectory - be less racy in ProcessUtilTest.KillSlowChild Review URL: http://codereview.chromium.org/17013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7948 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselining the scrollbar layout tests.jcampan@chromium.org2009-01-1316-5/+620
| | | | | | | | They are failing because of font size differences. Review URL: http://codereview.chromium.org/17372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7947 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/ side of moving TextBreakIteratorInternalICUChromium.cppdarin@chromium.org2009-01-134-10/+11
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/17385 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7945 0039d316-1c4b-4281-b951-d872f2087c98
* Correct latency histograms for SDCH encodingjar@chromium.org2009-01-139-23/+37
| | | | | | | | | | | | | | Add a boolean to indicate if the request_time_ was set via a call to Now(), vs unpickling from the cache, so that cached results can be excluded from latency measurements. bug=1561947 r=darin,rvargas Review URL: http://codereview.chromium.org/17371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7942 0039d316-1c4b-4281-b951-d872f2087c98
* - move a block of flakey tests into the other block of them.thomasvl@chromium.org2009-01-131-19/+23
| | | | | | | - marked some more tests that are flaky on the mac to get to a green build. Review URL: http://codereview.chromium.org/18004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7941 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the test case name to the browser process in order topaulg@google.com2009-01-134-0/+25
| | | | | | | simplify parsing the Purify error output from the ui_tests. Review URL: http://codereview.chromium.org/17373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7940 0039d316-1c4b-4281-b951-d872f2087c98
* Port crash_cache tool to Linux.phajdan.jr@chromium.org2009-01-137-74/+101
| | | | | | Review URL: http://codereview.chromium.org/17353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7939 0039d316-1c4b-4281-b951-d872f2087c98
* A simple one-at-a-time test runner that can be driven by chrome_tests.py.erikkay@google.com2009-01-132-2/+64
| | | | | | | | | This allows memory errors to be isolated to a particular test and a crash in one test to affect the tests of others. Review URL: http://codereview.chromium.org/17634 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7938 0039d316-1c4b-4281-b951-d872f2087c98
* roll deps to pick up latest WebKitdarin@google.com2009-01-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7937 0039d316-1c4b-4281-b951-d872f2087c98
* roll deps to pick up latest webkitdarin@chromium.org2009-01-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7935 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in preparation for upstreaming.darin@chromium.org2009-01-133-31/+31
| | | | | | | | R=macdome Review URL: http://codereview.chromium.org/17623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7933 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a std::string static constructor in the new history dom ui.deanm@chromium.org2009-01-131-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/17361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7932 0039d316-1c4b-4281-b951-d872f2087c98
* fix some missing rebased expectation files for macpinkerton@google.com2009-01-133-3/+84
| | | | | | Review URL: http://codereview.chromium.org/17381 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7931 0039d316-1c4b-4281-b951-d872f2087c98
* - record some mac tests that are failingthomasvl@chromium.org2009-01-131-26/+68
| | | | | | | | - start making what are flaky tests on mac w/ all their common statuses so we can get a green buildbot so failures are new and fixed sooner. Review URL: http://codereview.chromium.org/17379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7930 0039d316-1c4b-4281-b951-d872f2087c98
* add text field resizer image to resourcespinkerton@google.com2009-01-131-0/+4
| | | | | | Review URL: http://codereview.chromium.org/17801 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7929 0039d316-1c4b-4281-b951-d872f2087c98
* Inline the TimeDelta::From* construction functions.deanm@chromium.org2009-01-132-30/+32
| | | | | | | | | With GCC, we don't have much hope of inlining unless the defintion is in the header. This should also hopefully allow the compiler to do things like constant folding on the multiplications, etc. Review URL: http://codereview.chromium.org/17802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7928 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a static initializer for a TimeDelta constant.deanm@chromium.org2009-01-133-8/+5
| | | | | | | Review URL: http://codereview.chromium.org/17631 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7927 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGE. Whitespace change just to force a compilation.maruel@chromium.org2009-01-131-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7926 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a static initializer while reducing a bit of casting.deanm@chromium.org2009-01-131-7/+4
| | | | | | | Review URL: http://codereview.chromium.org/17628 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7925 0039d316-1c4b-4281-b951-d872f2087c98
* Remove two static initializers in webkit glue entity map.deanm@chromium.org2009-01-131-8/+5
| | | | | | | Review URL: http://codereview.chromium.org/17360 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7924 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a typo in a comment.deanm@chromium.org2009-01-131-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/17630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7923 0039d316-1c4b-4281-b951-d872f2087c98
* Update PluginInstance to use the newer TLS APIs. This also removes a static ↵deanm@chromium.org2009-01-132-17/+11
| | | | | | | | | initializer. Review URL: http://codereview.chromium.org/17625 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7922 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in views/phajdan.jr@chromium.org2009-01-138-25/+168
| | | | | | | | | | This actually manages to compile few files on Linux. Porting some other files from views/ would be more difficult, but this view.h change unblocks porting opportunities in other areas. Review URL: http://codereview.chromium.org/17352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7921 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the code that computes the receiver for an event listener.ager@google.com2009-01-133-79/+41
| | | | | | | | | | | | | The code can be shared for both types of event listeners and it should use EventTargetToV8Object for converting the target to a V8 wrapper object. Additionally add an empty-handle check of the receiver object to fix a crash bug. Review URL: http://codereview.chromium.org/17643 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7920 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off some SVG layout tests till we can fix the regressions.estade@chromium.org2009-01-131-0/+16
| | | | | | | | | | Probably mostly just need to be rebaselined. TBR=finnur Review URL: http://codereview.chromium.org/17375 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7919 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline 9 SVG tests.estade@chromium.org2009-01-1319-10/+10
| | | | | | | | These have all been manually reviewed. They are each off by just a couple of pixels due to recent SVG rendering changes. This patch is to follow http://codereview.chromium.org/17633/show and will include a DEPS update. Review URL: http://codereview.chromium.org/17636 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7918 0039d316-1c4b-4281-b951-d872f2087c98