Граф коммитов

210 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 9ed674d6b8 Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE. 2013-07-26 22:49:13 -04:00
Mook 5e1fa07d48 content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell) 2013-07-26 15:25:27 -07:00
Mihnea Dobrescu-Balaur de3e7988f4 Bug 888350 - Use a dynamic port in network/test/unit* xpcshell tests so they can be run in parallel. r=honzab 2013-07-19 10:19:28 -07:00
Georg Koppen 6b0e491600 Bug 856978 - Make authorization headers removable if they observe "http-on-modify-request". r=mayhemer 2013-06-10 08:30:25 -04:00
Patrick McManus 8bce508a80 bug 790388 part 5 - xpcshell tests for spdy/3 r=hurley
--HG--
extra : rebase_source : f6ca50052918d23d410a3f110323344472a62e6e
2013-05-29 00:07:03 -04:00
Patrick McManus 97fa570e8b bug 855185 - test for thread safety of resetIPFamily() r=honzab 2013-04-30 23:43:31 -04:00
Geoff Brown a240001cc0 Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Gavin Sharp decd2dd5c1 Bug 851586, r=bz
--HG--
extra : rebase_source : 4144764238b0f38f1457358b1c9f61bc4d347424
2013-03-19 12:23:43 +01:00
Jason Duell e03559f181 Bug 795254. Intermittent test_private_channel.js failure r=jdm
--HG--
rename : netwerk/test/unit/test_private_channel.js => netwerk/test/unit/test_private_necko_channel.js
2013-03-07 12:12:10 -08:00
Simon Montagu 89a745b389 Tests for bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Ryan VanderMeulen 776b5a4ffa Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Simon Montagu 65b377e25f Tests for bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Josh Matthews 943b369860 Bug 837091 - Rename cookie-changed notification for private cookies. r=ehsan 2013-02-05 10:44:21 +00:00
Mounir Lamouri 8ad54869c8 Bug 823175 - Add a method to return the next sub domain of a given host in nsIEffectiveTLDService. r=bz 2013-02-04 17:59:49 +00:00
Honza Bambas 16179f229b Bug 812167 - Redirect Responses are Cached to disk despite Cache-control: no-store, Expires: -1, r=michal 2013-01-30 16:01:16 +01:00
Peter Eckersley f8453319f2 Bug 765934: Test cases for the redirectTo API. r=honza 2013-01-24 12:49:41 -08:00
Raymond Lee 8ceb72cf5e Bug 830703 - test_httpauth.js doesn't run. r=josh
--HG--
rename : browser/components/privatebrowsing/test/unit/test_httpauth.js => netwerk/test/unit/test_httpauth.js
2013-01-24 00:37:42 +08:00
Nils Maier 800446f4b7 Bug 826063 - Part 2: Add tests for nsIPrivateBrowsingChannel::isChannelPrivate; r=ehsan 2013-01-03 19:41:12 -05:00
Josh Matthews b8e77d1643 Bug 818667 - Put HTTP cache into app jars. r=michal.novotny 2012-12-28 12:50:23 -05:00
Josh Matthews 84d274cfbc Backed out changeset d924c6aa0a8f (bug 818667) 2012-12-28 12:31:44 -05:00
Josh Matthews c7bb6fdcf9 Bug 818667 - Put HTTP cache into app jars. r=michal.novotny 2012-12-28 11:56:31 -05:00
Josh Matthews fbf5889d74 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Masatoshi Kimura 99f71644f2 Bug 803713 - Skip the SP after finding it. r=biesi 2012-12-20 21:47:40 +09:00
Ed Morley c9fbc69d96 Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews f3cffe3040 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley 04df34db2b Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews 709ee1417f Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Paolo Amadini 6b7359cb4d Bug 789932 - Add a component to save files asynchronously on a background thread, handling temporary download locations. r=biesi 2012-12-10 21:06:37 +01:00
Oonishi Atsushi 0638bc0fda Bug 282432 - XPCShell test. r=bz 2012-11-01 19:23:13 -04:00
Nick Hurley 694269fca2 Bug 536324 part 4 - Test to make sure 64-bit content length works. r=sworkman 2012-10-22 10:51:07 -07:00
Brian Smith aa292f0252 Bug 770243: Close cache input stream only when we're sure we don't need it in nsHttpChannel, r=bsmith for Honza's code, r=honzab for bsmith's changes
--HG--
extra : rebase_source : 6ea99a3a3cd3703cdd0b9a2e0c17dd71ffc3b3ac
2012-09-24 10:20:11 -07:00
Jason Duell fa09e23fb6 Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Ehsan Akhgari d58d386309 Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Gordon P. Hemsley 0201a5df77 Bug 672448 - Allow the Accept-Language header to have quality ('q') values up to 2 decimal places. r=biesi 2012-08-29 22:49:31 -04:00
Gordon P. Hemsley 2616be648a Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ryan VanderMeulen 39576f0657 Backout 69154d62012c and b0b07ef904ea (bug 672448) due to warnings-as-errors red. 2012-08-29 22:22:16 -04:00
Gordon P. Hemsley 306f0c1cda Bug 672448 - Allow Accept-Language header to have quality ('q') values up to 3 decimal places. r=biesi
--HG--
extra : rebase_source : 1257eb6a0a79d910821657582111fbb592443e9f
2012-08-29 17:58:25 -04:00
Gordon P. Hemsley c51a9e44e7 Bug 672448 - Remove trailing whitespace. r=biesi
--HG--
extra : rebase_source : e63c293d05aef2e8c34abbb12c5bd3ca355f0d7c
2012-08-27 21:21:20 -04:00
Masatoshi Kimura 599c8bd984 Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:57:51 +01:00
Ms2ger e7364eb3f0 Revert to changeset e048ac9eb279 for bustage. 2012-08-24 15:44:54 +02:00
Masatoshi Kimura f33bf4e7f8 Bug 779845 - Incorporate the PSL test into our test system. r=bsmith. 2012-08-24 14:03:15 +01:00
Patrick McManus d28df5aea5 bug 780522 invalid port handling test case r=honzab 2012-08-09 20:38:37 -04:00
Patrick McManus 9ebb689bfc bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Patrick McManus 956d2285f0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Thinker K.F. Li f516a5abb5 Bug 767025 - Part 3: Testcase. r=gal 2012-07-16 20:38:47 -04:00
Josh Aas 9eb7222d1c Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
Paul Adenot d7c5822013 Bug 767087 - xpcshell test r=jduell 2012-06-26 10:35:00 -07:00
Brian Smith 5e3d5c6051 Bug 761228: Fix 304 response handling for custom conditional responses to prevent crash, r=jduell
--HG--
extra : rebase_source : 26494ad6bf23c3290f74fdd6ffc21a1db0b7f429
2012-06-28 12:34:32 -07:00
Michal Novotny 2ec7aba459 Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith
--HG--
extra : rebase_source : 626a90178480b47f24956a86914fdc3e76cbd20b
2012-06-12 14:23:32 -07:00
Brian Smith 1fff8fcb92 Bug 760955 - Fix null pointer dereference in mozilla::net::nsHttpChannel::InstallOfflineCacheListener, r=hurley
--HG--
extra : rebase_source : 7cc662e898a48b05836441591b72587d8e988b2f
2012-06-12 14:25:24 -07:00
Ryan VanderMeulen 5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Gordon P. Hemsley ac029fe4c9 Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Jason Duell 5575a9f9e0 Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Honza Bambas ae90275e78 Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Magnus Melin b9a8563603 Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
Ryan VanderMeulen a1c0d1beb6 Backout ff1f86491512:29e94992504b due to orange. 2012-05-09 20:02:40 -04:00
Oonishi Atsushi 5615fc9ed3 Bug 282432 - Test. r=bz 2012-05-09 18:46:44 -04:00
Ed Morley 85d9671a40 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell 8eee3ee3f5 Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus 2012-05-03 00:28:57 -07:00
Nick Hurley eb2547b5d4 Bug 719609 - Part 2: xpcshell harness support for running the node spdy server. r=ted 2012-04-25 20:12:33 -04:00
Nick Hurley 0c15861202 Bug 719609 - Part 1: Add some basic unit tests for SPDY. r=mcmanus,ted 2012-04-25 20:12:33 -04:00
Patrick McManus 5e480acc77 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Jason Duell 782d6e31be Bug 742174 - Allow empty Location header. r=mcmanus 2012-04-09 16:50:35 -07:00
Patrick McManus 98241f9023 bug 742935: fix landing problem with 717350 r=honzab
--HG--
rename : netwerk/test/unit/test_mismatch_lm.js => netwerk/test/unit/test_mismatch_last-modified.js
2012-04-09 10:21:28 -04:00
Sinker Li c2f379dfff Bug 674728 - Part 2: Testcase for pinned application caches. r=honzab 2012-03-30 20:52:07 -04:00
Nick Hurley 729c70c97b bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Patrick McManus 38d01f9f70 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus e79097d459 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Michal Novotny 6251530d71 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Derrick Rice b9bda1d71d Bug 732363 - Avoid running test_net_addr on windows; it is failing for unknown reasons (race?) r=jdm 2012-03-15 07:10:00 -04:00
Derrick Rice 48b237aaa3 Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
2012-02-29 06:19:00 -05:00
Ed Morley aeae567210 Backout 6d239fd74f71 (bug 720846) for Windows build failures 2012-02-28 16:00:18 +00:00
Derrick Rice baee310a8f Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport. r=biesi sr=bz 2012-02-28 05:34:00 -05:00
Patrick McManus 56de1183e9 bug 717524 - process a list of content-encoding response headers r=bz
--HG--
extra : rebase_source : 06599a663ecb6374196ca25be0ac74e68bbe78d9
2012-02-07 22:46:43 -05:00
Jeff Muizelaar 434b3df862 Bug 235853 - Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution. r=biesi,sworkman 2008-11-04 16:50:00 -05:00
bjarne@runitsoft.com 8a0dd2a595 Bugs 715418 and 685804 - Test case for bug 650995 has wrong name / Intermittent failure in test_bug650955.js r=michal.novotny
--HG--
rename : netwerk/test/unit/test_bug650955.js => netwerk/test/unit/test_bug650995.js
2012-01-09 11:02:39 -05:00
Geoff Brown 4490e77b41 Bug 648429: HTTP cache: compress all compressible files - new test for appending to compressed stream; r=michal.novotny 2011-12-17 11:32:02 +01:00
Honza Bambas 53964e3f33 Bug 669001 - Vary: User-Agent + new UA string (i.e. after update) + HTTP 304 = broken cache, r=bz 2011-11-09 18:19:00 +01:00
Panu Horsmalahti 01fa622df7 Bug 678978 - Defined and implemented AutoFree class and replaced ERR_OUT macros with return calls, r=honzab (test by honzab, r=bz)
--HG--
rename : netwerk/test/unit/test_multipart_streamconv.js => netwerk/test/unit/test_multipart_streamconv_missing_lead_boundary.js
2011-11-09 18:19:00 +01:00
Julian Reschke e5d7b34244 Bug 676059 - Make redirect prompting depend on HTTP-safeness of method, not presence of request body. r=bz
--HG--
extra : rebase_source : 758d5f6a873e072dee96da181cbb0b1c8419fcd3
2011-10-14 17:46:33 +02:00
Julian Reschke 81fe2deccc Bug 686429: test cases for MIME headers need refactoring; r=bz 2011-10-12 20:30:22 +02:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Julian Reschke 7ad88e2459 Bug 686429: test cases for MIME headers need refactoring; r=bz 2011-10-12 20:30:22 +02:00
Kyle Huey a4b1332fbc Backout Bug 477578 because it causes us to refcount atoms off the main thread. 2011-09-22 10:43:11 -04:00
Patrick McManus d575e7e449 bug 255119 do not display http response body of 3xx with javascript: location header r=honzab 2011-09-22 08:59:12 -04:00
julian.reschke@greenbytes.de 65b4b6ed3c Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Michal Novotny 0086f64ec1 Bug 477578 - uppercase selected HTTP methods (CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE and TRACK) and make other methods case sensitive 2011-09-12 18:00:15 +02:00
Nick Hurley 924d548d31 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Geoff Brown bc602a67f0 Bug 677427: netwerk/test/unit/test_bug650955.js fails on Android; r=bjarne 2011-09-06 16:52:00 -07:00
Geoff Brown fcf5c93a68 Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Boris Zbarsky 897fccac82 Bug 667818. When computing cookie expiration times, watch out for division by unsigned PR_USEC_PER_SEC screwing things up. r=dwitte 2011-07-26 16:34:11 -04:00
arno renevier 8b113fa3f1 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Marco Bonardo dd95675537 Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt 2011-07-22 14:35:41 +02:00
Geoff Brown 4dea7e2ccc Bug 648429: HTTP cache: compress all compressible files - new test for appending to compressed stream; r=michal.novotny 2011-07-21 14:10:48 -04:00
Julian Reschke 2860dbbfea Bug 670333. Make sure that when parsing MIME header params we check for the actual presence of a '=' between the name and the value. r=bzbarsky 2011-07-11 15:27:26 -04:00
Boris Zbarsky 91dfb50099 Bug 667907. For HTTP 0.9 on non-default ports, be more conservative. r=jduell 2011-07-07 14:17:13 -04:00
Julian Reschke 553ac96cf1 Bug 651185. Only process RFC 2231 and RFC 5987 syntax when the value comes from a token (as opposed to a quoted-string). r=bzbarsky 2011-07-05 17:33:04 -04:00
Patrick McManus 71ea7f9c8f bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
bjarne@runitsoft.com 8cbce8439c Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Michal Novotny 60e90c98b0 Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
bjarne@runitsoft.com f214931bd5 Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne 2011-06-22 10:49:35 +02:00
bjarne@runitsoft.com d706b41eb1 Bug 618835 - Cannot login to phpmyadmin if I made a typo during my first login attempt r=bz 2011-06-11 16:57:10 +02:00
Patrick McManus 3199602600 bug 597706 - test for double content length in response header r=jduell
--HG--
extra : rebase_source : 66ce23e335720742724250d248c9947dfd4eb33c
2011-06-02 20:48:05 -04:00
Daniel Holbert f7a686456c Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Bjarne 65fdcea436 Fixing part of bug 659569. Fix issue with Firefox getting stuck in a redirect loop when connecting to Ubiquiti radio equipment. r=bzbarsky@mit.edu 2011-05-25 15:23:05 -07:00
Matt Brubeck 8349139224 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Michal Novotny c6be565fcc Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
bjarne@runitsoft.com 39045fbf7d Bug 633743 - reverting closed tab with pushState changes sends request with HTTP_X_REQUESTED_WITH:XMLHttpRequest r=bzbarsky
With this change, we check for ResponseWouldVary() to make sure that we're talking about the same entity as the caller before we worry about whether the caller passed LOAD_FROM_CACHE and such.  If what we have cached is just fundamentally different from what the caller wants, we don't want to return it.
2011-05-23 16:47:02 -04:00
Joel Maher 193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00