Commit Graph

875 Commits

Author SHA1 Message Date
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nick Hurley
684928aad9 Bug 536324 part 4 - Test to make sure 64-bit content length works. r=sworkman 2012-10-22 10:51:07 -07:00
Nick Hurley
e7f284c9d3 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Jeff Walden
339a6906ed Bug 532369 - Replace octal numbers in httpd.js with manual bit-shifts and bit-ors, to avoid strict warnings. Obvious enough for r=try
--HG--
extra : rebase_source : d110239cac4967d7bd278c3c931f10fe78229860
2012-10-05 17:04:12 -07:00
Brian Smith
035e8b8432 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Isaac Aggrey
6058184f25 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
David Zbarsky
04db569bf4 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky
a5c86e49fb Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky
6047fde4c1 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
David Zbarsky
e6f0a2a45d Backout 14f09c2fb04c on CLOSED TREE 2012-10-15 21:19:30 -04:00
David Zbarsky
4dfd290449 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 21:00:20 -04:00
David Keeler
3b999cffca bug 786417 - filter the hsts preload list to sites that actually send the header r=bsmith, mayhemer 2012-10-15 14:43:57 -07:00
David Zbarsky
ad0e043a24 Bug 801803 - nsresult as enum class creates warnings in test files r=ehsan 2012-10-15 17:12:50 -04:00
Andrew Quartey
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Patrick McManus
e86bc6a536 bug 799470 - pac dnsResolve wrong return code on error r=biesi 2012-10-09 13:52:26 -04:00
Patrick McManus
a8264465aa 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
1839819e70 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Patrick McManus
113f287057 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
a53c93b026 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Patrick McManus
189d4dd6fd bug 791527 check compiler return on pac thread r=biesi 2012-09-27 13:29:34 -04:00
Patrick McManus
e4c5832a41 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-14 16:27:46 -04:00
Patrick McManus
0f871afc27 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
368d06569b 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
7c3257e34c Bug 792828 - Fix warnings in netwerk/test/. r=Ms2ger 2012-09-21 11:28:56 +01:00
Jason Duell
fa9262e827 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
5236854e21 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
51dcc7dff7 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
b7a0d2b1de bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-14 16:27:46 -04:00
Patrick McManus
cd31dfef08 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
2ee5369324 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
03e8a539c1 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-13 15:22:56 -04:00
Patrick McManus
183e115253 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
5a0d4ccc3d 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
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
fc63980e27 Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz 2012-08-07 20:17:27 +03:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gordon P. Hemsley
5ac9e32ef9 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
9fb701aebc Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ryan VanderMeulen
6a3f400fea Backout 69154d62012c and b0b07ef904ea (bug 672448) due to warnings-as-errors red. 2012-08-29 22:22:16 -04:00
Gordon P. Hemsley
45c9f7dcaa 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
99ae08ba91 Bug 672448 - Remove trailing whitespace. r=biesi
--HG--
extra : rebase_source : e63c293d05aef2e8c34abbb12c5bd3ca355f0d7c
2012-08-27 21:21:20 -04:00
julian.reschke@gmx.de
d72a57838f Bug 783502. r=jduell 2012-08-29 15:37:07 -07:00
Patrick McManus
07eb7fa6c2 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)
79b6b7fa0b Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Masatoshi Kimura
ccb46c9985 Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:57:51 +01:00
Masatoshi Kimura
667034f97f 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
df6e8f259a Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:56:05 +01:00
Ms2ger
789db6da1e Revert to changeset e048ac9eb279 for bustage. 2012-08-24 15:44:54 +02:00
Masatoshi Kimura
f3e77b149a Bug 779845 - Incorporate the PSL test into our test system. r=bsmith. 2012-08-24 14:03:15 +01:00
Masatoshi Kimura
7d19f74fc3 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
9184658668 Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:01:43 +01:00
Mark Capella
a2d27e5a14 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
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
julian.reschke@gmx.de
af0b6eb296 Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz 2012-08-22 06:57:02 -04:00
Ehsan Akhgari
8c296bbcd4 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
b528f5812a 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
602a61a01d Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
Patrick McManus
bf2fc7df29 bug 780522 invalid port handling test case r=honzab 2012-08-09 20:38:37 -04:00
Ms2ger
8fcd7f8f16 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Patrick McManus
9da8009da8 bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Gregory Szorc
e92683a248 Bug 759664 - Register testing-only JS modules with mochitests; r=ted 2012-08-06 14:22:09 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Michal Novotny
12788e4cf0 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
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Patrick McManus
5452bacad0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Mounir Lamouri
d890fdb95e Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Jason Duell
4cc41fe65d Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Masatoshi Kimura
c9d6e58c80 Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
Patrick McManus
7a2776aa29 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
b8dd846650 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
6b4e843fad 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
f1aaa2b94e Bug 767025 - Part 3: Testcase. r=gal 2012-07-16 20:38:47 -04:00
Honza Bambas
1cae6b45ae 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
02c67a9fac 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
d803ddbb37 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
9522e82e53 Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
Honza Bambas
e2a8bfcd65 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
54b1ac51b6 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Gregory Szorc
f7ca1169f8 Merge mozilla-central into services-central 2012-07-03 09:55:45 -07:00
Richard Newman
096b184aab Merge m-c to s-c. 2012-06-29 23:45:13 -07:00
Gregory Szorc
86b0a7581c Bug 755196 - Allow httpd.js to be loaded as a testing module; r=mcmanus 2012-06-29 13:28:04 -07:00
Brian Smith
f08389ffdb 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
ec6590bcd5 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
d49383d722 Bug 767087 - xpcshell test r=jduell 2012-06-26 10:35:00 -07:00
Nathan Froyd
5b30baa4c3 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
8f74a5debf 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
262448ab75 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
fb375c3a73 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
ce9b6f7413 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
c8be8664d9 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
3bf0f02026 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
c8aa808d36 Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Jason Duell
78dd9bf434 Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
Jason Duell
81c6e2d90c Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas
22565351ec 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
21e88e9b1d Bug 730574: handle quoted-string unescaping in RFC 2231 continuation parameters. r=jduell 2012-05-28 16:14:04 -04:00
Magnus Melin
bf65b90123 Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
Patrick McManus
5ce388e01a 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
7bd0db46c8 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
a492595d68 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey
c20538e54d Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Mook
adc74e86ad Bug 485255 - Add path prefix handler to nsIHttpServer; r=biesi 2009-03-25 15:08:18 -07:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Vivien Nicolas
194d0680ac Bug 722197 - Add a preference to map some domain names to localhost r=mcmanus 2012-05-11 12:59:19 -07:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Ryan VanderMeulen
0757671832 Backout ff1f86491512:29e94992504b due to orange. 2012-05-09 20:02:40 -04:00
Oonishi Atsushi
592e502de4 Bug 282432 - Test. r=bz 2012-05-09 18:46:44 -04:00
Gavin Sharp
2ea332e309 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
381dadb912 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
512194e278 Bug 670514 - LNK file test for Windows share security. r=bz 2012-05-03 15:23:32 -04:00
Geoff Brown
ee3a9d74b6 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
377485b3da Bug 693806: RFC2231/5987 encoding: charset information should be treated as authoritative. r=jduell 2012-04-29 13:40:00 -07:00
Nick Hurley
6f00f04785 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
8a69e692d9 Bug 719609 - Part 1: Add some basic unit tests for SPDY. r=mcmanus,ted 2012-04-25 20:12:33 -04:00
Ed Morley
50eb27b549 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell
065e1ea766 Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-05-03 00:35:55 -07:00
Jason Duell
2026a449d3 Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus 2012-05-03 00:28:57 -07:00
Patrick McManus
b364acbc36 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Ms2ger
630bc4c173 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell
03721779fd Bug 742174 - Allow empty Location header. r=mcmanus 2012-04-09 16:50:35 -07:00
Patrick McManus
90c7b53cb5 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
98ac9c56b8 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
9168447887 Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks. 2012-04-06 13:10:30 +02:00
Vivien Nicolas
8da5af3916 Bug 722197 - Add a preference to map some domain names to localhost. r=mcmanus 2012-04-06 03:12:18 -07:00
Sinker Li
571cafb2af Bug 674728 - Part 2: Testcase for pinned application caches. r=honzab 2012-03-30 20:52:07 -04:00
Nick Hurley
44b99508e8 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
31504a7ee5 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bba26f5a30 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Michal Novotny
2e1c0f11ff Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
julian.reschke@gmx.de
2cf0629cb1 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
db53688a39 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell 2012-03-20 14:08:30 -07:00
Matt Brubeck
b1e708752d Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus
ace7949788 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
7200e2b607 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
2f5f7cb248 Backed out changeset cd5ac132e763 2012-03-15 23:36:01 -07:00
Jason Duell
9e91c23e8d Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
Jason Duell
e1a70438bd Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
Jason Duell
6ddc2df4a6 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
ee67bebbe2 Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Jason Duell
2823d113a3 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Jason Duell
406a6ac98a Backed out c9265ada6f40 2012-03-15 15:05:41 -07:00
Jason Duell
6d25ca614d Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07:00
Derrick Rice
a921c7c6cf 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
57a4a15d09 Back out 9899522b6ad9 (bug 664163) 2012-03-13 22:11:55 -07:00
Jason Duell
60a0003b1e Bug 664163: Yes this will get backed out: see bug. r=jdm 2012-03-13 18:46:30 -07:00
Jason Duell
90a9174f19 Backed out changeset fd30aea30b03 2012-03-13 15:10:01 -07:00
Jason Duell
1255fb01e1 Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-13 11:49:01 -07:00
Matt Brubeck
6e082dacc8 Back out a2d511a124d7 (bug 664163) for causing failures in test_traceable_channel_wrap.js 2012-03-06 13:28:25 -08:00
Derrick Rice
89160245ce 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
cc157568b6 bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:11:19 -08:00
Jason Duell
08fa085cc3 Backed out changeset 84a2ed6120c3: wrong bug name in comment msg 2012-03-05 23:10:19 -08:00
Jason Duell
6c977731d8 Bug 648878. e10s: fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:06:09 -08:00
Derrick Rice
ef2394dd2f 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
2d6b93358f Backout 6d239fd74f71 (bug 720846) for Windows build failures 2012-02-28 16:00:18 +00:00
Derrick Rice
4c7b066287 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
Daniel Holbert
df204fac8a Bug 727970: Check formerly-unused rv in TestProtocols.cpp, to fix build warning. r=jduell 2012-02-16 15:16:14 -08:00
Geoff Lankow
81941603bb 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
ef6216abfe Bug 598304 - XHR rewrites non-POST methods upon 301/302 redirects. r=bz 2012-02-10 14:12:51 +01:00
Patrick McManus
10cd700390 bug 704227 muddle through on some minor problems with content-length r=jduell 2012-02-09 14:47:30 -05:00
Patrick McManus
652c3b7d0b 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
995c62066b 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
41d240e25b Bug 717121 - crash nsMIMEHeaderParamImpl::DoParameterInternal. r=bz 2012-02-03 15:09:40 +09:00
Josh Matthews
518844fcd9 Bug 649564 - Stupid typo in test_socks.js. rs=ted 2012-01-23 16:38:00 -05:00
Josh Matthews
f40c0cbce3 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
caf6f69e95 Bug 716801: Location parsing. r=bz 2012-01-20 09:33:01 -08:00
Marco Bonardo
f595b05ddb Bug 712767: Send profile shutdown topics to cpp tests requesting a profile.
r=waldo
2012-01-20 14:47:51 +01:00
Josh Matthews
89e76bb5fd 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
940decf815 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
269dcf2b93 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
069d4aa103 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
Mark Banner
741ef0f1a0 Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky 2011-12-05 12:35:23 +00:00
Julian Reschke
b539ab56a3 Bug 562915 - Escape characters in content-type charset param not parsed properly. r=jduell 2011-12-03 15:59:55 +01:00
Randell Jesup
27664e5a98 Bug 706249 r=bz 2011-12-02 23:48:16 -05:00
julian.reschke@gmx.de
bbb8546eeb 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
9bcb7e56d1 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
fc3b1a3f9e 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
a47b192d59 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
6cf12d45c8 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
9c0e0ddbd9 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
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
julian.reschke@gmx.de
b6884bf905 Bug 696849 - Add test cases observing cross-domain XHR in chrome code; r=bz 2011-10-28 15:05:06 +01:00
Boris Zbarsky
270802167b 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
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Julian Reschke
2b46d85c3d 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
e005d63561 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
247d1beff0 Bug 692574 - RFC2231/5987 decoding should not tolerate missing single quotes. r=bz 2011-10-14 11:29:13 +02:00
Julian Reschke
9c5cefdd09 Bug 686429: test cases for MIME headers need refactoring; r=bz 2011-10-12 20:30:22 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Julian Reschke
3c51eacdcc Bug 686429: test cases for MIME headers need refactoring; r=bz 2011-10-12 20:30:22 +02:00
julian.reschke@gmx.de
0c968928b1 Bug 610054 - Clean up MIME header parsing (allow different behavior for HTTP and EMail); r=bz 2011-10-10 15:27:05 +01:00
Brian Smith
752bfc82a7 Bug 682329: Fix test for default SSL error UI, r=honzab.moz 2011-10-06 17:42:11 -07:00
Kyle Huey
d822544c8a Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Kyle Huey
94f9d1607c Backout Bug 477578 because it causes us to refcount atoms off the main thread. 2011-09-22 10:43:11 -04:00
Patrick McManus
356caee1ca 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
1958c5e072 Bug 72444: Option to bypass proxy server for local addresses. r=honzab 2011-09-21 15:13:45 -04:00
Michal Novotny
ffb20c1b6e Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02:00
julian.reschke@greenbytes.de
d194959f71 Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Michal Novotny
8963489cac 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
7400a85df3 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Geoff Brown
d5d6426ad8 Bug 677427: netwerk/test/unit/test_bug650955.js fails on Android; r=bjarne 2011-09-06 16:52:00 -07:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Julian Reschke
5165a2154a Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Benjamin Smedberg
9260a95563 Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Randell Jesup
c1d7fc5bac Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Randell Jesup
4b9170d19a Bug 675710: Add tests for protocol-relative URIs (href=//site/foo) r=bz 2011-08-02 09:40:58 -04:00
Jeff Walden
29112e0704 Bug 568663 - Always append bytes to arrays using increments guaranteed to be substantially below the maximum function argument count. r=honzab
--HG--
extra : rebase_source : 7e47afc5e98219089029d771eaaec9514abcef3d
2011-07-25 15:25:38 -07:00
Boris Zbarsky
0253585378 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
6b41f8ec70 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Jeff Walden
fe8cdbd90b Diagnostic additions for debugging bug 568663. r=itsatest
--HG--
extra : rebase_source : f1706458ff0a32253e5592d48a34364592083a8b
2011-07-23 00:14:14 -07:00
Marco Bonardo
3daa3b7be0 Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt 2011-07-22 14:35:41 +02:00
Geoff Brown
7eb96a8a79 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
Paul A. Adeyenuwo
b1fc7c688c Bug 660158 - Remove all references to head_ipc.js; r=jduell 2011-07-17 12:07:42 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Randell Jesup
15fa7595a6 Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup
11ddf50250 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
961da6fd61 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
bd8923f8be 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
f8047a1b9d 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
054a2164a5 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
bjarne@runitsoft.com
14b041f05f Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Michal Novotny
6d1f6742fe Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
bjarne@runitsoft.com
ec668f29cd 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
5519419262 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
380d97da7d Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2011-06-14 09:12:03 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Jason Duell
d062346c8e Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
bjarne@runitsoft.com
1b7ff0ec91 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
0bb92cb891 Bug 661998 - Fix risky use of nsITimer in xpcshell test. r=gavin 2011-06-07 04:45:36 -04:00
Patrick McManus
69dd10b7f4 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
Chris Pearce
7faba3664c Bug 508128 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=jwalden 2009-08-04 16:55:00 -04:00
Daniel Holbert
2cae6f9959 Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Daniel Holbert
1ff06e3afb Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert
a688dcaeef 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
54188974e6 Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Bjarne
94e5da14c6 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
ec953fc5a6 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Daniel Holbert
c6200a94b0 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz 2011-05-24 17:40:35 +02:00
Mounir Lamouri
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00