Andrew Quartey
3ca8d029a6
Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Patrick McManus
176f990f84
bug 799470 - pac dnsResolve wrong return code on error r=biesi
2012-10-09 13:52:26 -04:00
Patrick McManus
3f421578e3
bug 797684 - http-on-modify-request can reflect ProxyInfo r=biesi
...
--HG--
extra : rebase_source : b3da738e1b08575e037b2f67f0e58044eb6e55dd
2012-10-08 20:19:08 -04:00
Andrew Quartey
6a3e28f73b
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Patrick McManus
0f92e4019f
bug 795905 call proxyservice::asyncresolve() when direct in case of filters r=biesi
...
--HG--
extra : rebase_source : c0d97222a8c5bad3ed8120c5a5a9cfdb7d3b8d6f
2012-10-04 15:08:26 -04:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Patrick McManus
8dcda84536
bug 791527 check compiler return on pac thread r=biesi
2012-09-27 13:29:34 -04:00
Patrick McManus
0d87d4df42
bug 347307 - make pac myIPAddress() more accurate r=biesi
2012-09-14 16:27:46 -04:00
Patrick McManus
d70af841f6
bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh
2012-09-14 16:27:46 -04: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
Mounir Lamouri
bda1d14bb4
Bug 792828 - Fix warnings in netwerk/test/. r=Ms2ger
2012-09-21 11:28:56 +01: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
Ed Morley
fb64dc10dd
Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks
2012-09-17 16:54:09 +01:00
Patrick McManus
ebc86dda5f
bug 347307 - make pac myIPAddress() more accurate r=biesi
2012-09-14 16:27:46 -04:00
Patrick McManus
d64080bb5a
bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh
2012-09-14 16:27:46 -04:00
Ed Morley
483772a3a4
Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js
2012-09-13 22:42:29 +01:00
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
L. David Baron
2ca099cc22
Followup to bug 648603: increase the number of connections that our test HTTP server will serve to the larger of the server limit or the proxy limit.
...
This should fix intermittent oranges in bug 536603 and bug 576543 that
were reintroduced this morning.
This is needed because the mochitest HTTP server is accessed as a proxy;
we set network.proxy.autoconfig_url to a data: URL.
2012-09-05 22:43:21 -07:00
Makoto Kato
1356f06137
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Aryeh Gregor
ae8c41742c
Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz
2012-08-07 20:17:27 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -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
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
05d997c6df
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07: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
Mark Capella
daef2756b5
Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Final, r=ted
...
Remove last three references, final cleanup
2012-08-23 08:16:44 -04:00
Ehsan Akhgari
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
julian.reschke@gmx.de
56de728440
Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz
2012-08-22 06:57:02 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -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
Ms2ger
4c81482ae1
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Patrick McManus
9ebb689bfc
bug 765048 - backout 3 digit accept-language q values r=biesi
2012-08-06 21:42:38 -04:00
Gregory Szorc
847a1eba29
Bug 759664 - Register testing-only JS modules with mochitests; r=ted
2012-08-06 14:22:09 -07:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02: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
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03: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
Patrick McManus
5b9ce7432a
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
...
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -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
Ryan VanderMeulen
8b9c9fea4d
Merge m-c to inbound.
2012-07-09 20:53:11 -04:00
Gregory Szorc
59824469a6
Merge mozilla-central into services-central
2012-07-03 09:55:45 -07:00
Richard Newman
ed3f303f82
Merge m-c to s-c.
2012-06-29 23:45:13 -07:00
Gregory Szorc
e921c68d8f
Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus
2012-06-29 13:28:04 -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
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
Paul Adenot
d7c5822013
Bug 767087 - xpcshell test r=jduell
2012-06-26 10:35:00 -07:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04: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
Boris Zbarsky
579ddd678c
Bug 558220 part 2. Fix a bug in the test HTTP header that caused it to misread headers when a packet boundary fell between the CR and LF at the end of a header value. r=waldo
2012-06-28 00:26:13 -04:00
Boris Zbarsky
4c85cae6d2
Bug 558220 part 1. Add more debugging spew to the test HTTP server. r=waldo
2012-06-28 00:26:12 -04:00
Ehsan Akhgari
e0f2ea75a7
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell
2012-06-05 23:18:25 -04: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
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12: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
Mike Hommey
fe881f4ebe
Bug 748001 - Use explicit targets for object files. r=ted
2012-05-15 07:44:32 +02:00
Mook
3895fd07b1
Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi
2009-03-25 15:08:18 -07:00
Matt Brubeck
60b5d7f292
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07: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
Fabrice Desré
5397f4846a
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -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
Gavin Sharp
008fe44520
Bug 738992: add some debug logging to try and figure out why this test fails intermittently
2012-05-08 09:45:32 -07:00
Ehsan Akhgari
1efb879ece
Merge from mozilla-central
2012-05-03 17:33:52 -04:00