summaryrefslogtreecommitdiffstats
path: root/net/data
Commit message (Collapse)AuthorAgeFilesLines
* Add the empty_subject_cert.der certificate for the upcomingwtc@chromium.org2011-03-111-0/+0
| | | | | | | | | | | | | X509CertificateTest.EmptySubject unit test. Original code review URL: http://codereview.chromium.org/6656015 R=rsleevi BUG=63988 TEST=none Review URL: http://codereview.chromium.org/6665019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77768 0039d316-1c4b-4281-b951-d872f2087c98
* Add the invalid_key_usage_cert.der certificate for thewtc@chromium.org2011-03-091-0/+0
| | | | | | | | | | | | | upcoming X509CertificateTest.InvalidKeyUsage unit test. Original code review URL: http://codereview.chromium.org/6626033 TBR=rsleevi BUG=70293 TEST=none Review URL: http://codereview.chromium.org/6658007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77515 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bzip2-encoded test data file left behind when bzip2 support was ↵adamk@chromium.org2011-03-021-0/+0
| | | | | | | | | | | removed in r34047, as well as supporting code in testserver.py. BUG=none TEST=none Review URL: http://codereview.chromium.org/6591051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76603 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: More files for unit tests.rvargas@google.com2011-02-166-0/+166
| | | | | | | | | | BUG=62085 TEST=none TBR=gavinp@chromium.org Review URL: http://codereview.chromium.org/6519028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75202 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: Compatibility fix for "ls -l" style directory listing parser.phajdan.jr@chromium.org2011-02-162-0/+10
| | | | | | | | | | | | | | | Some servers, for example smallftpd, add an empty line at the end of the listing. We should not fail on those. I think this bug was introduced in 2009 by http://codereview.chromium.org/449011 Now we have more test cases, and this change shouldn't introduce new compatibility problems. BUG=72060 TEST=net_unittests Review URL: http://codereview.chromium.org/6515009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75079 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: More data files for unit tests.rvargas@google.com2011-01-2124-0/+776
| | | | | | | | | | | BUG=69135 TEST=none TBR=gavinp Review URL: http://codereview.chromium.org/6300009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72063 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: correctly handle directory listings containing "Permission denied" errors.phajdan.jr@chromium.org2011-01-042-0/+2
| | | | | | | | | BUG=67797 TEST=net_unittests Review URL: http://codereview.chromium.org/6096006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70435 0039d316-1c4b-4281-b951-d872f2087c98
* Test files containing a self-signed certificate and private keyhclam@chromium.org2010-12-233-0/+5
| | | | | | | | | | | Test files used by SSLServerSocktNSS BUG=None TEST=None Review URL: http://codereview.chromium.org/6065006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70025 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69356 - Regenerate the root certificate and end-entity certificates ↵rsleevi@chromium.org2010-12-167-354/+116
| | | | | | | | | | | | | | | used for various tests in net_unittests, now that Windows can temporarily trust certificates for the duration of tests. In addition, add unittests for net::TestRootCerts, which depend on the certs being tested not being trusted by the system beforehand. BUG=8470, 5552 TEST=TestRootCertsTest.* Review URL: http://codereview.chromium.org/5535006 TBR=rsleevi@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69363 0039d316-1c4b-4281-b951-d872f2087c98
* Regenerate the root certificate and end-entity certificates used for various ↵rsleevi@chromium.org2010-12-167-116/+354
| | | | | | | | | | | | | tests in net_unittests, now that Windows can temporarily trust certificates for the duration of tests. In addition, add unittests for net::TestRootCerts, which depend on the certs being tested not being trusted by the system beforehand. BUG=8470, 5552 TEST=TestRootCertsTest.* Review URL: http://codereview.chromium.org/5535006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69356 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: fix compatibility problems with MLSD by removing MLSD support.phajdan.jr@chromium.org2010-12-1010-145/+0
| | | | | | | | | | | | | | | | | | | | | | | | Some FTP servers send MLSD listings with no facts, just the file names. This is a valid RFC-3659 listing, but is useless for web browsers. In theory we could check whether a server advertises MLSD support in FEAT response, or use LIST when MLSD only returns file names, but the extra complexity is not worth it. All servers supporting MLSD must also support LIST, so this should not regress compatibility. This change also removes the "HPRC" directory listing parser. Actually, it was just MLSD listing with no facts. BUG=65328, 65584 TEST=net_unittests, also see the bugs Review URL: http://codereview.chromium.org/5669001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68859 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: improve character encoding detection in cases where ICU's first guess ↵phajdan.jr@chromium.org2010-11-186-0/+767
| | | | | | | | | | | | | | | | | | | is wrong. Instead of using ICU's first guessed encoding immediately, we ask it for all possible encodings, try them in order, and use the first one that works. For some sites this still results in a gibberish being displayed, but at least the links are clickable so the site navigation is possible. BUG=61073 TEST=see bug Review URL: http://codereview.chromium.org/4967001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66664 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Add test files for another unit test.rvargas@google.com2010-11-176-0/+92
| | | | | | | | | | BUG=38859 TEST=none Review URL: http://codereview.chromium.org/5112002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66468 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: fix directory listing parser for ftp://ftp.dd-wrt.com/others/juno6/phajdan.jr@chromium.org2010-10-282-0/+10
| | | | | | | | | | | | Now the "ls -l" parser ignores lines with empty file names instead of failing. BUG=60065 TEST=net_unittests Review URL: http://codereview.chromium.org/4182002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64208 0039d316-1c4b-4281-b951-d872f2087c98
* Move all Valgrind/TSan/Dr.Memory gtest exclude files to ↵timurrrr@chromium.org2010-10-2411-193/+4
| | | | | | | | | | | | | | | | | | | | tools/valgrind/gtest_exclude If I receive an LGTM, I'll land this patch (with updated .txt files of course) during the weekend in the Europe afternoon to minimize possible damages. Then I'll update all the docs accordingly For the record, I got the list of the files by doing find . | grep -v "\.svn" | grep "valgrind.*gtest" | sed "s/\.gtest.*$//" | \ sed "s/\/[a-z_]\+$//" | sort | uniq | tee list_dirs And then for F in `cat list_dirs`; do svn mv $F/*.txt tools/valgrind/gtest_exclude/; done TEST=ran a few tests locally under Valgrind and TSan Review URL: http://codereview.chromium.org/4054004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63681 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the disable test to correct file.oshima@chromium.org2010-10-191-0/+3
| | | | | | | | | BUG=59642 TEST=win32 tsan bot goes green. Review URL: http://codereview.chromium.org/3808011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62995 0039d316-1c4b-4281-b951-d872f2087c98
* Fix poorly performancing implementation of MockSimplePersistentCookieStorerdsmith@google.com2010-10-181-3/+0
| | | | | | | | | BUG=57686 TEST=net_unittests CookieMonsterTest.* on Linux, running original valgrind test and confirming that it completed. Review URL: http://codereview.chromium.org/3752004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62942 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FTP directory listing for ftp.cisco.com.phajdan.jr@chromium.org2010-10-142-0/+29
| | | | | | | | | BUG=58963 TEST=net_unittests Review URL: http://codereview.chromium.org/3774002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62515 0039d316-1c4b-4281-b951-d872f2087c98
* Add test self-signed cert for http://codereview.chromium.org/3576016/show.mattm@chromium.org2010-10-062-0/+3
| | | | | | | | | BUG=19991 TEST=none Review URL: http://codereview.chromium.org/3548018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61732 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run CookieMonsterTest.GarbageCollectionTriggers under Valgrind as it ↵rsesek@chromium.org2010-10-021-0/+3
| | | | | | | | | | | hangs forever. BUG=57686 TEST=Valgrind net_unittests Review URL: http://codereview.chromium.org/3571012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61296 0039d316-1c4b-4281-b951-d872f2087c98
* Update Dr. Memory suppressions, gtest_filters and also skip oob-write sanity ↵timurrrr@chromium.org2010-10-011-3/+5
| | | | | | | | | tests on Windows. TBR=glider Review URL: http://codereview.chromium.org/3616001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61171 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: fix directory listing parser for ftp.usa.hp.comphajdan.jr@chromium.org2010-09-306-0/+87
| | | | | | | | | BUG=56547 TEST=net_unittests Review URL: http://codereview.chromium.org/3448029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61052 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60765 - FTP: fix directory listing parser for ftp.usa.hp.comphajdan.jr@chromium.org2010-09-286-87/+0
| | | | | | | | | | | BUG=56547 TEST=net_unittests Review URL: http://codereview.chromium.org/3448029 TBR=phajdan.jr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60766 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: fix directory listing parser for ftp.usa.hp.comphajdan.jr@chromium.org2010-09-286-0/+87
| | | | | | | | | BUG=56547 TEST=net_unittests Review URL: http://codereview.chromium.org/3448029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60765 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run HttpNetworkLayerTest.GET under TSan/Wintimurrrr@chromium.org2010-09-061-0/+1
| | | | | | | | TEST=TSan/Win bot should go green BUG=51145 Review URL: http://codereview.chromium.org/3316006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58638 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run HttpNetworkTransactionTest.* under TSan/Win;timurrrr@chromium.org2010-09-062-14/+1
| | | | | | | | | | also remove obsolete excludes for TSan issue 11 and bug 36657 TBR=glider BUG=51145,36657 TEST=TSan/Mac should remain green, TSan/Win should go green Review URL: http://codereview.chromium.org/3350010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58635 0039d316-1c4b-4281-b951-d872f2087c98
* Disable HttpNetworkTransactionTest.SimpleGET under TSan on Win32glider@chromium.org2010-09-061-0/+3
| | | | | | | | | BUG=51145 TBR=timurrrr Review URL: http://codereview.chromium.org/3308009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58626 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the ridiculously long and redundant 'SpdyNetworkingTest' prefixmbelshe@chromium.org2010-09-031-3/+3
| | | | | | | | | | | | | | | | | | to just 'Spdy'. Now, instead of tests being named: SpdyNetworkingTest/SpdyNetworkTransactionTest.Foo they are Spdy/SpdyNetworkingTest.Foo BUG=none TEST=none Review URL: http://codereview.chromium.org/3354007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58550 0039d316-1c4b-4281-b951-d872f2087c98
* Make heapcheck runner use the shadow stacks.glider@chromium.org2010-08-311-6/+0
| | | | | | | | | | | | Enable CertDatabaseNSSTest.ImportFromPKCS12 back, since the leaks are suppressible now. TBR=mattm BUG=51988 Review URL: http://codereview.chromium.org/3218011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57980 0039d316-1c4b-4281-b951-d872f2087c98
* Add SSL test certificate data: dod_ca_13_cert.dermattm@chromium.org2010-08-311-0/+0
| | | | | | | | | | | | (For http://codereview.chromium.org/3106028/show) BUG=19991 TEST=none TBR=wtc Review URL: http://codereview.chromium.org/3214010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57937 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: For an AppCache, now we only update thervargas@google.com2010-08-272-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | LRU list when an entry is created. This means that we don't update the list anymore when an entry is accessed, even if we are writing to the entry. The general idea is that now we should be able to open an AppCache and read from it without modifying the contents of the cache, so that if the browser crashes, we won't find "dirty" entries to discard. By minimizing writes to the LRU list, we reduce the chances that the list will get corrupt beyond the point where we cannot trust it anymore if the whole system crashes (and not just the browser). BUG=51870 TEST=net_unittests Review URL: http://codereview.chromium.org/3186032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57697 0039d316-1c4b-4281-b951-d872f2087c98
* Remove exe perms from text files to fix checkprops failuredmazzoni@chromium.org2010-08-271-0/+0
| | | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57679 0039d316-1c4b-4281-b951-d872f2087c98
* Update --gtest-filter files and suppressions for Dr. Memorytimurrrr@chromium.org2010-08-271-0/+12
| | | | | | | TBR=glider Review URL: http://codereview.chromium.org/3267001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57676 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing MS PAC extensions for IPv6:ziadh@chromium.org2010-08-261-0/+81
| | | | | | | | | | | | + sortIpAddressList() + isInNetEx() BUG=25407 r=eroman Review URL: http://codereview.chromium.org/2818006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57606 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run URLRequestTest under ThreadSanitizer on Windowstimurrrr@chromium.org2010-08-251-0/+3
| | | | | | | | BUG=53304 TBR=glider Review URL: http://codereview.chromium.org/3122040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57318 0039d316-1c4b-4281-b951-d872f2087c98
* Heapcheck: Don't run net_unittests that simulate crashes.rvargas@google.com2010-08-241-0/+14
| | | | | | | | | | BUG=53141 TEST=none Review URL: http://codereview.chromium.org/3159035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57209 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run some more HttpNetworkTransactionTest under ThreadSanitizertimurrrr@chromium.org2010-08-193-8/+6
| | | | | | | | BUG=51145 TBR=glider Review URL: http://codereview.chromium.org/3174018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56678 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run ↵timurrrr@chromium.org2010-08-191-0/+4
| | | | | | | | | | HttpNetworkTransactionTest.UseAlternateProtocolForNpnSpdyWithExistingSpdySession under ThreadSanitizer on Windows TBR=glider BUG=52699 Review URL: http://codereview.chromium.org/3126019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56658 0039d316-1c4b-4281-b951-d872f2087c98
* Skip CertDatabaseNSSTest.ImportFromPKCS12 on heapcheck, since the leaks ↵mattm@chromium.org2010-08-121-1/+6
| | | | | | | | | | | can't be suppressed cleanly. BUG=51988,51332,51330,51328 TEST=heapcheck bot should go green Review URL: http://codereview.chromium.org/3112007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55955 0039d316-1c4b-4281-b951-d872f2087c98
* Disable all SPDY tests under tsan, as SPDY tests are non-deterministic, and ↵erikchen@google.com2010-08-051-1/+2
| | | | | | | | | | | will fail randomly. BUG=51087 TEST=none Review URL: http://codereview.chromium.org/3030052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55123 0039d316-1c4b-4281-b951-d872f2087c98
* Add test PKCS12 datafile.mattm@chromium.org2010-08-052-0/+3
| | | | | | | | | BUG=19991 TEST=none Review URL: http://codereview.chromium.org/3050037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55118 0039d316-1c4b-4281-b951-d872f2087c98
* Disable HttpNetworkTransactionTest.Incomplete100ThenEOF under ThreadSanitizerglider@chromium.org2010-08-043-2/+10
| | | | | | | | | | | | | | on Mac. Disable SpdyNetworkingTest/SpdyNetworkTransactionTest.SocketWriteReturnsZero* and SpdyNetworkingTest/SpdyNetworkTransactionTest.CancelledTransactionSendRst* under ThreadSanitizer on all platforms (crash on Mac and Win) BUG=51145,51144,50918 TBR=timurrrr Review URL: http://codereview.chromium.org/3074028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54880 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress socket write zero windows tsan error.erikchen@google.com2010-08-031-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3069023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54797 0039d316-1c4b-4281-b951-d872f2087c98
* Supress spdy cancelledtransactionsendrst windows tsan error.erikchen@google.com2010-08-031-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3071017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54787 0039d316-1c4b-4281-b951-d872f2087c98
* Update valgrind files after unit test renaming.agl@chromium.org2010-08-031-1/+1
| | | | | | | | | | KeygenHandlerTest.FLAKY_SmokeTest was renamed to KeygenHandlerTest.SmokeTest by r54314. BUG=none TEST=valgrind git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54783 0039d316-1c4b-4281-b951-d872f2087c98
* Add two client certificates for use with unit testsdavidben@chromium.org2010-08-033-0/+30
| | | | | | | | | | | | | The first is a FOAF.ME cert generated for this purpose. The second is one of my expired MIT certificates. R=wtc BUG=50980 TEST=none Review URL: http://codereview.chromium.org/2836082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54650 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SpdyHttpStreamTest windows tsan bug.erikchen@google.com2010-08-021-3/+0
| | | | | | | | | BUG=50929 TEST=net_unittests Review URL: http://codereview.chromium.org/2836079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54601 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run SpdyHttpStreamTest.SpdyURLTest under ThreadSanitizer on Windowstimurrrr@chromium.org2010-08-021-0/+3
| | | | | | | | BUG=50929 TBR=glider Review URL: http://codereview.chromium.org/3017048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54527 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY sends RST_STREAM upon cancelling request, or bad header parse data.erikchen@google.com2010-07-271-3/+0
| | | | | | | | | | | | Also fix tsan failure for spdy_http_stream_unittest. Attempted to commit in http://codereview.chromium.org/3014030/show, ran into different tsan failure. TEST=net_unittests, tsan on windows for SpdyHttpStreamTest. BUG=46589, 47478, 50198 Review URL: http://codereview.chromium.org/2811072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53829 0039d316-1c4b-4281-b951-d872f2087c98
* Follow-up to r53769 - forgot to add a new file to the CLtimurrrr@chromium.org2010-07-271-0/+3
| | | | | | | TBR=glider Review URL: http://codereview.chromium.org/3064010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53771 0039d316-1c4b-4281-b951-d872f2087c98