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

653 Коммитов

Автор SHA1 Сообщение Дата
Patrick McManus 4b5546ce7b bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-13 15:22:56 -04:00
Patrick McManus 2fbed15e29 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -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
julian.reschke@gmx.de 592ec87d72 Bug 783502. r=jduell 2012-08-29 15:37:07 -07:00
Patrick McManus 0033097044 bug 758673 - nsprotocolproxyservice::asyncResolve applies filters twice r=biesi
--HG--
extra : rebase_source : ffae3554c9f73886692d8947850949520c6171d7
2012-08-27 16:25:53 -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
Masatoshi Kimura b8af8f21d9 Bug 779845 - Update the PSL test to catch up with the .jp PSL update and fix test's bug about unlisted TLD. r=gerv. 2012-08-24 14:56:38 +01:00
Masatoshi Kimura 07751282ce Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:56:05 +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
Masatoshi Kimura e5d9d202ca Bug 779845 - Update the PSL test to catch up with the .jp PSL update and fix test's bug about unlisted TLD. r=gerv. 2012-08-24 14:02:25 +01:00
Masatoshi Kimura 4fea578ca1 Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:01:43 +01:00
julian.reschke@gmx.de 56de728440 Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz 2012-08-22 06:57:02 -04:00
Phil Ringnalda decb1792cf Bug 783738 - Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value, r=gavin 2012-08-14 23:32:06 -07:00
Mark Capella 571ba82385 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04: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
Michal Novotny b7ae28693b Bug 737615 - Remove use of synchronous cache API from unit tests - necko tests part2, r=honzab 2012-08-01 23:22:28 +02:00
Patrick McManus 956d2285f0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Mounir Lamouri d1caa102c7 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Jason Duell 7f7428d402 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Masatoshi Kimura 5fd3e2bc43 Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
Michal Novotny 830c27ae51 Bug 769531 - Intermittent TEST-UNEXPECTED-FAIL | test/build/xpcshell/tests/netwerk/test/unit/test_304_responses.js | undefined == 304, r=bsmith 2012-07-18 01:07:59 +02:00
Felix Moeller 9f9c5bfd15 Bug 774240 - Data URI parsing mis-detects "base64" parameter as extension. r=rjesup 2012-07-16 20:38:47 -04:00
Thinker K.F. Li f516a5abb5 Bug 767025 - Part 3: Testcase. r=gal 2012-07-16 20:38:47 -04:00
Honza Bambas 0abfde411a Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-11 20:20:17 +02:00
Michal Novotny 15b7354070 Bug 737615 - Remove use of synchronous cache API from unit tests - minor fixies in necko tests, r=bsmith 2012-07-11 11:18:00 +02:00
Ryan VanderMeulen 13fc9bf9b8 Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Josh Aas 9eb7222d1c Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
Honza Bambas 4c04a1f793 Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal 2012-07-10 23:49:17 +02:00
Paul Adenot d7c5822013 Bug 767087 - xpcshell test r=jduell 2012-06-26 10:35:00 -07:00
Brian Smith 2ed11f64db Backout change to netwerk/test/unit/test_bug651100.js from the patch for Bug 737615, a=bustage
--HG--
extra : rebase_source : 50d718395cafa292025452bb01a94fec9f4ae216
2012-06-28 19:39:48 -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
Julian Reschke 5bdcbbf5ea Bug 732369 - Content-Disposition parser does not require presence of ";" between params. r=jduell 2012-06-07 22:57:00 -07: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 4be6af5664 Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07: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
julian.reschke@gmx.de 5fcdbb550a Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell 2012-05-28 16:14:04 -04: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
Patrick McManus ba5ffc3931 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Josh Matthews 447c9b5f07 Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny 2012-05-24 16:31:54 +01:00
julian.reschke@gmx.de dc686f0a90 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas 0752696463 Bug 722197 - Add a preference to map some domain names to localhost r=mcmanus 2012-05-11 12:59:19 -07: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
Ehsan Akhgari 1efb879ece Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy 7c21b9fb8d Bug 670514 - LNK file test for Windows share security. r=bz 2012-05-03 15:23:32 -04:00
Geoff Brown f67d699aed Bug 750817 - Do not rely on xpcomlib in netwerk xpcshell tests. r=jduell 2012-05-03 06:22:58 -04:00
julian.reschke@gmx.de 8ec547df35 Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell 2012-04-29 13:40:00 -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
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 3beefc1252 Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-05-03 00:35:55 -07: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
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
Marco Bonardo 3b4530759b Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Ms2ger 67cc85db28 Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks. 2012-04-06 13:10:30 +02:00
Vivien Nicolas 452d6c8f14 Bug 722197 - Add a preference to map some domain names to localhost. r=mcmanus 2012-04-06 03:12:18 -07: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
julian.reschke@gmx.de cb943f718a Bug 714302: add suport for HTTP status code 308 r=mcmanus
--HG--
extra : rebase_source : 2e4a46ac5ebe89a36fb4b12b1985d07d674db5e8
2012-03-21 16:13:42 -04:00
julian.reschke@gmx.de 5510563e68 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell 2012-03-20 14:08:30 -07:00
Matt Brubeck 40f3f77d22 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus b4527a1fee bug 717350 doom cache entry on last-modified mismatch r=honzab
--HG--
extra : rebase_source : 5c8692c94bf7e5dcb2d381a85e06bddbabffe22c
2012-03-20 13:11:32 -04:00
Patrick McManus 92aaf5d2fc bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab
--HG--
extra : rebase_source : 26243e1af9e0554553520dae435cc4dcfd551746
2012-03-20 13:11:32 -04:00
Jason Duell 6f6fea1c3a Backed out changeset cd5ac132e763 2012-03-15 23:36:01 -07:00
Jason Duell 5f425f90fa Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
Jason Duell 933e449701 Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
Jason Duell a9a1ab5d46 Bug 664163: I will back this out when xpcshell test_traceable.js fails eventually. r=jduell 2012-03-15 18:54:58 -07:00
julian.reschke@gmx.de be32749df7 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Jason Duell 363ad0c493 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Jason Duell 34ca2b0ca5 Backed out c9265ada6f40 2012-03-15 15:05:41 -07:00
Jason Duell 0b3384a3d3 Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07: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
Phil Ringnalda b75cba0410 Back out 9899522b6ad9 (bug 664163) 2012-03-13 22:11:55 -07:00
Jason Duell 95eecd06bc Bug 664163: Yes this will get backed out: see bug. r=jdm 2012-03-13 18:46:30 -07:00
Jason Duell 5a8fe38d77 Backed out changeset fd30aea30b03 2012-03-13 15:10:01 -07:00
Jason Duell 676749395d Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-13 11:49:01 -07:00
Matt Brubeck 4cafa71138 Back out a2d511a124d7 (bug 664163) for causing failures in test_traceable_channel_wrap.js 2012-03-06 13:28:25 -08:00
Derrick Rice 50b93219f8 Bug 732363 - Avoid oranges in test_net_addr.js by retaining references to the transport and output stream. r=jdm 2012-03-06 05:02:00 -05:00
Jason Duell 6d24bfde17 bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:11:19 -08:00
Jason Duell bb442bc879 Backed out changeset 84a2ed6120c3: wrong bug name in comment msg 2012-03-05 23:10:19 -08:00
Jason Duell b723672dbe Bug 648878. e10s: fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:06:09 -08: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
Geoff Lankow ffee27c39f Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Julian Reschke 3e44c9c61a Bug 598304 - XHR rewrites non-POST methods upon 301/302 redirects. r=bz 2012-02-10 14:12:51 +01:00
Patrick McManus d6ed2294cf bug 704227 muddle through on some minor problems with content-length r=jduell 2012-02-09 14:47:30 -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
Makoto Kato d3414772c0 Bug 717121 - crash nsMIMEHeaderParamImpl::DoParameterInternal. r=bz 2012-02-03 15:09:40 +09:00
Josh Matthews 50d6f70243 Bug 649564 - Stupid typo in test_socks.js. rs=ted 2012-01-23 16:38:00 -05:00
Josh Matthews fc39f2dd0a Bug 649564 - Make kill never take down the test, and add a missing callback. rs=ted 2012-01-23 13:28:55 -05:00
Jason Duell 3c2e185988 Bug 716801: Location parsing. r=bz 2012-01-20 09:33:01 -08:00
Josh Matthews 000acebd52 Bug 649564 - Try to ensure that the socks client subprocess is never killed after the process completes. r=ted-irc 2012-01-18 14:13:33 -05:00
Masatoshi Kimura b71556db7e Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking
--HG--
rename : content/base/src/nsFileDataProtocolHandler.cpp => content/base/src/nsBlobProtocolHandler.cpp
rename : content/base/src/nsFileDataProtocolHandler.h => content/base/src/nsBlobProtocolHandler.h
2012-01-12 11:36:03 +01: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
Julian Reschke b91fee8432 Bug 562915 - Escape characters in content-type charset param not parsed properly. r=jduell 2011-12-03 15:59:55 +01:00
Randell Jesup 9c8c937ae9 Bug 706249 r=bz 2011-12-02 23:48:16 -05:00
julian.reschke@gmx.de 8bbf8765f8 Bug 700589 - Fix Content-Type parser to treat single quote as regular character instead of a delimiter. r=jduell r=bz 2011-11-29 14:06:32 -08:00
julian.reschke@gmx.de 14ebb50971 Bug 704989: add workaround for broken Outlook Web APP (OWA) attachment handling (and specifically for it sending broken headers only to Firefox). r=bzbarsky 2011-11-28 07:40:08 -05:00
Makoto Kato e999cc59bc Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
julian.reschke@gmx.de 7eb2828513 Bug 703015 - Revert change for bug 651185 - allow double-quotes for RFC 2231/5987 encoding again; r=bz 2011-11-20 11:13:40 +00: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@gmx.de 681bbba639 Bug 696849 - Add test cases observing cross-domain XHR in chrome code; r=bz 2011-10-28 15:05:06 +01:00
Boris Zbarsky 14a6858a3a Bug 684806. Make sure that zero-size files wrapped in buffered streams are correctly reopened by a seek after EOF. r=honza, sr=bsmedberg 2011-10-18 16:17:10 -04:00
Julian Reschke 2b59e05d5d Bug 685192 - In RFC2231/5987 encoding, a missing charset field should be treated as error; r=bz 2011-10-15 21:07:09 +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 07d0d35b47 Bug 692574 - RFC2231/5987 decoding should not tolerate missing single quotes. r=bz 2011-10-14 11:29:13 +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
julian.reschke@gmx.de 57488d2e17 Bug 610054 - Clean up MIME header parsing (allow different behavior for HTTP and EMail); r=bz 2011-10-10 15:27:05 +01:00
Kyle Huey bb038e3359 Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04: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
Steve Workman 309c5c36ae Bug 72444: Option to bypass proxy server for local addresses. r=honzab 2011-09-21 15:13:45 -04:00
Michal Novotny 795b4e1cc8 Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02: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
Julian Reschke af0dfc9e86 Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Geoff Brown fcf5c93a68 Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Randell Jesup e8b73e990b Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Randell Jesup d361bb4064 Bug 675710: Add tests for protocol-relative URIs (href=//site/foo) r=bz 2011-08-02 09:40:58 -04: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
Randell Jesup eb8a060ff4 Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup 005fce6837 Bug 622981: Fix relative query/ref/param-only URLs where the base URL has encoded chars. Also greatly expand test_URI.js coverage from RFC 3986. r=bz 2011-07-12 14:07:24 -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
Philipp von Weitershausen 45c351ac2c Back out bug 664163 (changeset cfb40abb9655) due to failure in test_traceable_channel_wrap.js 2011-06-15 11:00:04 +02:00
Jason Duell 216145aab8 Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2011-06-14 09:12:03 -07:00
Jason Duell aeeb58e404 Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07: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
Josh Matthews 45f7030e56 Bug 661998 - Fix risky use of nsITimer in xpcshell test. r=gavin 2011-06-07 04:45:36 -04: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
Daniel Holbert 10cede3f4c Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert c47ae25a87 Bug 660066 patch 0: Add some more test URIs to test_URIs.js xpcshell test. r=bz 2011-05-27 16:53:03 -07:00
Daniel Holbert 3019f5c45f Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -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
Daniel Holbert 0e1884e484 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz 2011-05-24 17:40:35 +02:00
Mounir Lamouri c82951ef5c Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert a094756416 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz a=sheriff 2011-05-24 03:39:31 -07:00
Jason Duell 52817aa73e Remove broken GetLocal calls in test_traceable_channel.js, r=jduell, a=queue 2011-05-24 02:29:02 -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
Daniel Holbert 270f56506c Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert 2ee75e0a93 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert f4110d2e96 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert cbdf2a3c2f Bug 308590 patch 1: Revamp test_URIs.js, including some tests for .ref (which will be supported on URIs after the rest of this bug's patches). r=bz 2011-05-21 18:12:45 -07:00
Joel Maher 193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri 627dcdb633 Backout bug 654926 because of perma orange on Win Opt xpcshell. 2011-05-19 18:54:26 +02:00
Bjarne 083ab03e55 Tests for bug 654926. r=michal 2011-05-19 12:54:02 +02:00
Zack Weinberg c526a0f788 Bug 541496 part 4: rewrite ns(I)UnicharStreamLoader to produce a string rather than a stream; use string-taking parser API for async style loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Siddharth Agarwal fbd92c4b61 Bug 656099 - bustage fix: add a null param to scheduleUpdate calls. CLOSED TREE
Bug 536295 changed the API, but these calls were missed.
2011-05-11 01:28:33 +05:30
Patrick McManus d4829d7fc0 bug 652761 ABORT: half open complete but no item: 'index != -1' with embedded src port 80000 r=honzab 2011-04-28 17:43:24 -04:00
Philipp von Weitershausen 1d43d57f19 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Julian Reschke bf61a37b99 Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky 2011-04-14 12:08:10 -07:00
Honza Bambas 27908b070b Bug 526207: Make IP address and port information available to HTTP activity observers. r=biesi 2011-04-10 10:33:08 -07:00
Boris Zbarsky 1e9351c279 Backed out changeset 4cadb299e5ef (bug 588389) to fix orange.
--HG--
extra : rebase_source : 02d07a9b1e784a3c8538ccae54c43e8eb17468d6
2011-04-08 14:07:07 -07:00
Julian Reschke 7f0465be6b Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky
--HG--
extra : rebase_source : fd30b81dc39dd0000270cc0dcce03302a8f7267e
2011-04-05 09:36:00 -07:00
Ehsan Akhgari 36a6723fd4 Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher 7d081ee3fa Bug 632227 - NetUtil should have a helper method to read an input stream asynchronously
r=bz
sr=biesi
2011-03-31 10:24:42 -07:00
chrisd.mang@gmail.com bbf80344bb Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
Karl Tomlinson 2c6bb15624 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com 8f46379f10 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
bjarne@runitsoft.com 884a180af5 Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Jason Duell 9d4ad5cc63 Bug 588781 - Content-Disposition: suboptimal fallback behavior when both "filename" and "filename*" params are present; r=biesi 2011-03-23 23:35:30 -04:00
Alon Zakai b651929fb3 Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
bjarne@runitsoft.com 7453b6a04c Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0 2011-02-04 14:49:05 -05:00
Ehsan Akhgari 2312c4c0f3 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
bjarne@runitsoft.com 490808e6df Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
--HG--
extra : rebase_source : 32ff74259046fd2f3a673df39620acb10accf2cb
2011-02-04 14:49:05 -05:00
Boris Zbarsky bdf44f5f2e Bug 629291. Don't use native leaf names in safe output streams; they lose information. r=bsmedberg, a=jst 2011-02-03 09:36:46 -08:00
Michal Novotny 875cbda8f1 bug 543805 - FTP list parse error when list returns twice space between date and file name. r=honzab.moz@firemni.cz, a=blocker 2011-01-17 20:50:08 +02:00
bjarne@runitsoft.com b62b8522af Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-09 00:38:42 +01:00
Ehsan Akhgari 4ffc0ab80d Set offline=false, if network manager init failed. Fixes xulrunner, and seamonkey+thunderbird test. Bug 616520, r=bz, a=bz
--HG--
extra : rebase_source : cb14db93d0b983bbec4e87127124bd4119e583fd
2010-12-08 18:08:09 +01:00
Henri Sivonen c34fe93a70 Back out changeset 465ac4717f88 due to orange. a=orange. 2010-12-08 16:17:18 +02:00
bjarne@runitsoft.com 2f7e196ec1 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-08 13:07:16 +01:00
Ehsan Akhgari 6651ae9849 Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Ehsan Akhgari 7daaa00ea9 Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari dfed869c9f Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Paul O’Shannessy 26de26b45a Fix xpcshell failure from bug 468246 revealed by bug 613516 [a=bustage] landed on a CLOSED TREE 2010-11-29 20:57:30 -05:00
Christian Biesinger 4c2c51437a Bug 614717 retry: Make test_bug369787.js not hang when the test fails by
ensuring that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:41:21 -08:00
Christian Biesinger 88ff626760 Backed out changeset dd249f45dc3d
Clearly I don't know hg well enough, didn't mean to commit all this. a=I-messed-up
2010-11-29 15:34:30 -08:00
Christian Biesinger 6f6cd3b97a Bug 614717 Make test_bug369787.js not hang when the test fails by ensuring
that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:28:40 -08:00
bjarne@runitsoft.com 5f604506d6 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Dan Witte f14720c3ee Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
bjarne@runitsoft.com c8089ba244 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01:00
Olli Pettay 9f84ca2d49 Backout bug 610654, a=backout 2010-11-10 14:19:38 +02:00
bjarne@runitsoft.com 3b3854a72b Bug 610654 - test failure xpcshell/tests/netwerk/test/unit/test_bug596443.js | Response1 == Response0, r=bz, a=bz 2010-11-10 13:21:48 +02:00
bjarne@runitsoft.com 01af56f4d0 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Bjarne Herland 727e552b95 Bug 586908 - Infinite requests when proxy from system settings is redirected r=biesi, a=blocker 2010-10-25 15:47:40 -07:00
Robert O'Callahan 9837d8160a Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Jae-Seong Lee-Russo b33b8c353d Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Boris Zbarsky 7e51113e58 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Justin Lebar aa38ca6673 Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky b6eb66e197 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Jonas Sicking 69f20b4502 Followup for bug 575946. Enable all the tests on windows by using a different way of testing that the full file was written. a=NPOTB 2010-10-13 21:13:16 -07:00
Jonas Sicking 1dee38609c Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Honza Bambas 33efabe286 Bug 537381 - -1 as port number cause default port to be used, should fail to load, r=bz, a=blocking:final 2010-10-11 21:39:09 +02:00
Ehsan Akhgari 5165d65a2c Bug 430910 - nsStandardURL gets confused when the query string or the anchor name contains slash characters; r=bzbarsky a=roc 2010-09-24 14:21:17 -04:00
Honza Bambas 8c7124ebac Bug 587146 - e10s http: fix auth test in test_resumable_channel.js, r=dwitte, a=testonly 2010-10-07 16:43:17 +02:00
Shawn Wilsher f7e6769fdc Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Dan Witte b2630233ec imported patch fix-tests 2010-08-13 21:18:05 -07:00
Dan Witte 8c1575ae89 Fix test_0010_timermanager.js test and disable e10s redirect/resume tests in test_resumable_channel.js. 2010-08-13 14:35:13 -07:00
Dan Witte fdc186d526 Reenable tests for bugs 586205 and 586238. 2010-08-13 13:28:14 -07:00
Jason Duell e5436ee5e0 Merge from m-c. 2010-08-13 00:51:25 -07:00
Dan Witte a7b4cd420a Bug 586802 - e10s http: fix test_httpcancel.js. r=jduell, a=wewanttoshipafennecalpha 2010-08-12 16:09:16 -07:00
Dan Witte 6d5a1d5e63 Bug 536317 - e10s HTTP: implement Cancel. r=jduell, a=blocker 2010-08-12 02:05:16 -07:00
Josh Matthews 00afa443f6 Bug 536321 - e10s HTTP: suspend/resume. r=dwitte 2010-08-10 23:07:09 -04:00
Josh Matthews 7ec8ac2aba Bug 584604 - e10s HTTP: Clean up IPDL buffering. r=jduell,cjones
jduell: Made a bunch of structural/naming changes.
Merged in test patches.
2010-08-06 00:59:37 -04:00
Johnny Stenback 3a85986c74 Disabling failing tests from bug 536321, followup bug 586238 filed to track this. 2010-08-11 04:13:25 -07:00
Jason Duell d6f58bdf36 Disable perma-orange xpcshell test for redirects (Bug 586205). 2010-08-11 01:33:42 -07:00
Bjarne ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Philipp von Weitershausen 7ec32fd94a Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Justin Dolske d819c762c2 backout bug 580508 / a2246039f70d due to test failure 2010-08-02 19:03:45 -07:00
Philipp von Weitershausen fd07fb90db Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Honza Bambas a5855be7e1 Bug 513086 - Make redirect API async, r=bz, sr=biesi
--HG--
rename : netwerk/test/unit/test_redirect_caching.js => netwerk/test/unit/test_redirect-caching_passing.js
2010-07-28 20:33:06 +02:00
Josh Matthews b181744bdc Bug 572980 - e10s: HttpChannelChild incorrectly refcounted. r=cjones, jduell.
This version adds checks to make sure child doesn't try to send any IPDL msgs to
parent after IPDL has been shut down.

--HG--
extra : rebase_source : 47ac7a7f8b5bc0ce3eee10cdc170ae27e9fc94aa
2010-06-27 12:44:15 -04:00
Benjamin Smedberg a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg e15eaaca54 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Jason Duell 386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Olli Pettay 93984b6736 m-c to e10 merge 2010-05-24 17:45:59 +03:00