Commit Graph

650 Commits

Author SHA1 Message Date
Brian Smith
6c05169f5f 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
1f63068bcf Bug 792828 - Fix warnings in netwerk/test/. r=Ms2ger 2012-09-21 11:28:56 +01:00
Jason Duell
e8292ead1f 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
c4c18521be 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
946a13d148 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
b6479d75e2 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-14 16:27:46 -04:00
Patrick McManus
cafe3619a5 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
1525bc6440 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
9d7ced3202 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-13 15:22:56 -04:00
Patrick McManus
22205a5249 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
25da45cb30 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
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
010dc0fdf5 Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz 2012-08-07 20:17:27 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gordon P. Hemsley
0b0f9f7fde 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
98660593a8 Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ryan VanderMeulen
ebd9d07ef7 Backout 69154d62012c and b0b07ef904ea (bug 672448) due to warnings-as-errors red. 2012-08-29 22:22:16 -04:00
Gordon P. Hemsley
da16040116 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
f6a87dc55a Bug 672448 - Remove trailing whitespace. r=biesi
--HG--
extra : rebase_source : e63c293d05aef2e8c34abbb12c5bd3ca355f0d7c
2012-08-27 21:21:20 -04:00
julian.reschke@gmx.de
3405cca653 Bug 783502. r=jduell 2012-08-29 15:37:07 -07:00
Patrick McManus
fe8240cc4a 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)
b32522b36e Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Masatoshi Kimura
cad520f40a Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:57:51 +01:00
Masatoshi Kimura
aa9efc7177 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
996e736045 Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:56:05 +01:00
Ms2ger
68106866d0 Revert to changeset e048ac9eb279 for bustage. 2012-08-24 15:44:54 +02:00
Masatoshi Kimura
b269e1f395 Bug 779845 - Incorporate the PSL test into our test system. r=bsmith. 2012-08-24 14:03:15 +01:00
Masatoshi Kimura
3af563e16b 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
6b5338284d Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:01:43 +01:00
Mark Capella
c33263eef6 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
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
julian.reschke@gmx.de
3d8ca5b94f Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz 2012-08-22 06:57:02 -04:00
Ehsan Akhgari
0fd9123eac 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
34d464d80a 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
65f6ce1100 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
Patrick McManus
ec32390333 bug 780522 invalid port handling test case r=honzab 2012-08-09 20:38:37 -04:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Patrick McManus
e0aa811d8b bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Gregory Szorc
e1f974fe11 Bug 759664 - Register testing-only JS modules with mochitests; r=ted 2012-08-06 14:22:09 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Michal Novotny
f2d8f5e352 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
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Patrick McManus
69378be6f2 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Mounir Lamouri
72b86db435 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Jason Duell
297baa7909 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Masatoshi Kimura
4810c8b895 Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
Patrick McManus
4c858109e4 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
45ff7d8227 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