summaryrefslogtreecommitdiffstats
path: root/net/data
Commit message (Collapse)AuthorAgeFilesLines
* Add performance tests for the proxy resolver implementations.ericroman@google.com2009-03-061-0/+1362
| | | | | | | | | I downloaded the test data "no-ads.pac" from <http://ap.coova.org/wpad.dat>. BUG=2764 Review URL: http://codereview.chromium.org/40149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11066 0039d316-1c4b-4281-b951-d872f2087c98
* Fix error being thrown in isInNet() PAC js.ericroman@google.com2009-03-041-19/+173
| | | | | | | | | | | | | | | | | | | Mozilla is using notation which treats regexp like a function: var regex = /foo/; var result = regex("str"); However v8 does not allow this (nor does IE), so we rewrite it in standard form: var regex = /foo/; var result = regex.exec("str") Also finishes off the tests in pac_library_unittest.js. I didn't test every single permutation of dateRange() and timeRange() as there are way too many; but did hit most common flavors. BUG=2764 Review URL: http://codereview.chromium.org/40006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10843 0039d316-1c4b-4281-b951-d872f2087c98
* Add js bindings layer for ProxyResolverV8 {"alert()", "dnsResolve()", ↵ericroman@google.com2009-03-021-0/+46
| | | | | | | | | | | "myIpAddress" <-- [partial]}. Also adds a utility function to net_util for turning a addrinfo into an IP address string. BUG=2764 Review URL: http://codereview.chromium.org/31009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10730 0039d316-1c4b-4281-b951-d872f2087c98
* Add ProxyResolverV8 class.darin@chromium.org is the original author of ↵ericroman@google.com2009-02-2314-0/+230
| | | | | | | | 'proxy_resolver_v8.cc' and 'proxy_resolver_script.h'. Review URL: http://codereview.chromium.org/21391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10199 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused invalid_cert.pem.dkegel@google.com2009-01-271-41/+0
| | | | | | | | | | | | | (wtc says: Jay Campan created the three certificates. He said he created invalid_cert.pem by changing one byte in the certificate's signature. The reason we aren't using invalid_cert.pem is that our test server won't start up with an invalid certificate.) Review URL: http://codereview.chromium.org/18793 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8687 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for per-module suppression files.erg@google.com2009-01-091-0/+31
| | | | | | | | | Also fixes a typo in logging. Review URL: http://codereview.chromium.org/17321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7837 0039d316-1c4b-4281-b951-d872f2087c98
* 307 redirects of POST should generate POSTs instead of GETs.abarth@chromium.org2008-12-122-0/+3
| | | | | | | | | BUG=4875 R=darin Review URL: http://codereview.chromium.org/13334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6879 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ProxyScriptFetcher class for doing asynch downloads of PAC ↵ericroman@google.com2008-12-1014-0/+22
| | | | | | | | scripts.This object will be owned by ProxyService. It will be used to manage the fetching of PAC scripts (on the IO thread, using the primary URLRequestContext).BUG=74,2764 (partial) Review URL: http://codereview.chromium.org/13251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6699 0039d316-1c4b-4281-b951-d872f2087c98
* Third time's a charm?dkegel@google.com2008-12-074-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix part of http://code.google.com/p/chromium/issues/detail?id=4510 and improve https support in test shell on linux. This is the same as the earlier ssl cert cl (see http://codereview.chromium.org/11249), but with the certs moved so net can use them without reaching over into chrome's pants and causing test failure on the 'modules' Windows build server, which is set up to test net and base but not chrome. For this to pass, we will need to install the certs on the windows module and try servers. (And make sure tlslite is present.) (A later CL will finish implementing SSLInfo for Linux, and probably reference net/base/ssl_test_util.cc from all three vcproj files that need it, even though that's ugly, because that's less ugly that referencing it from net.lib's vcproj.) Review URL: http://codereview.chromium.org/12930 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6495 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Add support for an extra data stream for each cache entry.rvargas@google.com2008-12-04128-0/+360
| | | | | | | | | | | | This is the first step to allow the http cache to store additional metadata for certain entries. The cache file format changes to version 2.0 so an effect of this cl is that the borwser will discard the old cache files. Review URL: http://codereview.chromium.org/12880 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6392 0039d316-1c4b-4281-b951-d872f2087c98
* Don't send Content-Type when redirecting from a POST.ericroman@google.com2008-11-152-0/+3
| | | | | | | | http://code.google.com/p/chromium/issues/detail?id=843 Review URL: http://codereview.chromium.org/10873 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5532 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bogus net_unittests purify error caused by a stack change to ↵erikkay@google.com2008-10-311-11/+0
| | | | | | | | | | | file_util::ShellCopy. BUG=http://code.google.com/p/chromium/issues/detail?id=3959 TBR=evanm Review URL: http://codereview.chromium.org/8977 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4324 0039d316-1c4b-4281-b951-d872f2087c98
* a filename changed in this stackerikkay@google.com2008-08-251-2/+2
| | | | | | | TBR=paulg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1307 0039d316-1c4b-4281-b951-d872f2087c98
* Filter out tests from purify tests that intentionally leak.erikkay@google.com2008-08-223-182/+7
| | | | | | | | | | Remove stacks for these tests from the known errors list. BUG=1339773 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1262 0039d316-1c4b-4281-b951-d872f2087c98
* Some stacks for known memory leaks in net_unittests have changed.erikkay@google.com2008-08-221-12/+4
| | | | | | | | TBR=pamg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1221 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the binary bz2 to have LF and force google.txt totc@google.com2008-08-142-1/+19
| | | | | | | | | | have LF because I can't seem to get svn to check in the right version with CR. TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@914 0039d316-1c4b-4281-b951-d872f2087c98
* Now force it back to CR for everyone.tc@google.com2008-08-141-19/+1
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@913 0039d316-1c4b-4281-b951-d872f2087c98
* Force the eol style to LF so we always get the CR character.tc@google.com2008-08-141-1/+19
| | | | | | | TBR=evanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@912 0039d316-1c4b-4281-b951-d872f2087c98
* Force the line ending on this test data file to be CR. Thetc@google.com2008-08-141-19/+1
| | | | | | | | test for this compares this file to a bzip2'ed copy of the file. The bzip2'ed copy is based on there being a CR so force this to be the case on linux as well. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@910 0039d316-1c4b-4281-b951-d872f2087c98
* If a disk cache entry is stored as an external file, and it is reused ↵rvargas@google.com2008-08-02125-0/+0
| | | | | | | | | (open/truncate/write/close), the current cache size should be modified accordingly. I'm also bumping up the version number for the cache files, to force re-creation with this revision. BUG=1305909 TEST=Unit test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291 0039d316-1c4b-4281-b951-d872f2087c98
* further adjust test results to match the new realitydarin@google.com2008-07-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129 0039d316-1c4b-4281-b951-d872f2087c98
* DirectoryListing is now in the net namespace.darin@google.com2008-07-301-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122 0039d316-1c4b-4281-b951-d872f2087c98
* Fix signature for a known FIM purify warning.nsylvain@google.com2008-07-301-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98 0039d316-1c4b-4281-b951-d872f2087c98
* Update signature for a known purify FIM warning.nsylvain@google.com2008-07-271-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24 0039d316-1c4b-4281-b951-d872f2087c98
* Add net to the repository.initial.commit2008-07-26144-0/+330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14 0039d316-1c4b-4281-b951-d872f2087c98