Commit Graph

3454 Commits

Author SHA1 Message Date
Honza Bambas
35c316e44f Bug 779100 - HSTS redirect load group management fix, r=jduell 2012-09-27 21:35:08 +02: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
Patrick McManus
0d22812f2d bug 773255 nsHttpConnection::Close() on error remove callbacks on mSocketOut r=honzab r=biesi 2012-09-27 13:29:34 -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
Brian Smith
3c9aa3c046 Bug 788365: Do not require securityInfo for AppCache entries, r=honzab
--HG--
extra : rebase_source : 69a0eac6fb9e55bd1f5ab60a589be42e9a26169c
2012-09-26 12:01:56 -07:00
Ehsan Akhgari
14ce0f9814 Bug 788275 - Part 1: Only check whether the PB state bit overridden condition holds for the cases where we actually have a load context around; r=jduell 2012-09-26 10:36:38 -04:00
Antonio Manuel Amaya Calvo
2f7fb97af8 Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking 2012-09-25 12:33:01 -07:00
Honza Bambas
62c6cf834b Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Julian Reschke
08d13966a5 Bug 782235 - Move HTTP convenience functions to nsHttp. r=bsmith 2012-09-25 11:04:25 -04:00
Phil Ringnalda
02d5380784 Back out 8bd13443d0bc (bug 579517) to get a clean backout
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ehsan Akhgari
f0b366783f Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
julian.reschke@gmx.de
d6e1667433 Bug 758973 - Make handling of status code 308 more consistent. r=bsmith 2012-09-22 11:27:17 -04:00
Josh Matthews
22b97c746b Bug 783878 - Part 2: Allow serializing remote input streams by passing the actor reference over the wire and retrieving the original stream in the parent. r=bent 2012-09-21 13:26:13 -04:00
Valentin Gosu
128a63b096 Bug 791088 - Add telemetry for Connection Manager transaction time. r=mcmanus 2012-09-19 20:24:58 -04:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Makoto Kato
97d448526f Bug 790617 - Part 2 - don't use atoi to parse header. r=cbiesinger 2012-09-19 17:44:54 +09:00
Makoto Kato
d0f10170d1 Bug 790617 - Part 1 - setUploadStream can handle 64-bit length r=cbiesinger 2012-09-19 17:09:08 +09:00
Adam Dane [:hobophobe]
b6f4fdb364 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Michal Novotny
d4b22d7ab5 Bug 695399 - Remove calls to nsICacheSession::openCacheEntry on the main thread - netwerk part, r=hurley 2012-09-18 20:06:35 +02:00
Michal Novotny
245dcc3f73 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-09-17 23:31:46 +02: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
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
Makoto Kato
6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Fabrice Desré
3b4fb4b85d Bug 791148 - Remove the deprecated camera support [r=cjones] 2012-09-13 19:44:06 -07: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
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
Patrick McManus
4d000e4312 bug 789018 don't do speculative connect for http upgrade or trans without keep-alive r=jduell 2012-09-12 16:04:01 -04:00
Patrick Wang
8eaaa66b5d Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Aryeh Gregor
291bfa222b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Ryan VanderMeulen
c03d084401 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato
1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Patrick McManus
935c24998c bug 334700 - DEBUG null deref in LogHeaders r=biesi
--HG--
extra : rebase_source : 315a625dcaffd9f284eb9e0d30a177456e606400
2012-09-05 21:31:35 -04:00
Ehsan Akhgari
7615535bb6 Bug 787743 - Set the cached private browsing flag on HttpBaseChannel::SetLoadGroup as well; r=jdm 2012-09-05 11:41:29 -04:00
Patrick McManus
83b5dc5b17 bug 570283 - dont send http proxy-connection r=jduell 2012-09-05 08:38:01 -04:00
Patrick McManus
7c58f033b0 bug 701562 ssl proxy not part of connection info hash r=duell 2012-09-05 08:34:43 -04:00
Patrick McManus
93fa06bdce bug 652928 add socks proxy host:port information to connection info key r=jduell 2012-09-05 08:32:28 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Fabrice Desré
ae7cf1a4f0 Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07: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
Dão Gottwald
35f21d32cd Bug 782453 - Add site-specific User Agent infrastructure and use it to fix AOL Mail. r=bz,ehsan sr=gerv 2012-08-30 13:49:05 +02: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
Ryan VanderMeulen
29b9becedd Backout 2865d46e472d (bug 778079) for xpcshell failures on a CLOSED TREE. r=IfYoureGoingToUseTryLookAtTheResultsBeforePushingToInbound 2012-08-29 18:58:31 -04:00
Fabrice Desré
6c2d0b1566 Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07:00
Antonio Manuel Amaya Calvo
1c26dc2bdd Bug 773884 - Remove special "index.html" path mapping support for app:// scheme [r=bsmith] 2012-08-29 05:29:18 -07:00
Rafael Ávila de Espíndola
0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -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
Philipp von Weitershausen
d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Nathan Froyd
5846b9fa7e Bug 785118 - use PARALLEL_DIRS in netwerk/; r=glandium 2012-08-23 12:54:51 -04:00
Jason Duell
419d532f00 Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus 2012-06-22 12:06:00 -07:00
Ben Turner
7370f46298 Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ben Turner
8740622e89 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Ryan VanderMeulen
4369c9acf5 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
f17c803d93 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07: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
Patrick McManus
423f27d55c bug 782570 - nsHttpPipeline::CancelTransaction force connection close if no sub transactions are left r=jduell 2012-08-21 08:37:31 -04:00
Phil Ringnalda
f1e8434c4e Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Michal Novotny
0fc5116bca Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Fabrice Desré
ff3be8c2c1 Bug 726062 - B2G UA is wrong, better fix [r=gal] 2012-08-20 12:25:09 -07: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
Michal Novotny
862dd24e8c Bug 475444 - HTTP standard violation, Content-length header appears to be ignored under some circumstances, r=bz sr=biesi 2012-08-16 12:37:52 +02:00
Ben Turner
4b09919a18 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Aryeh Gregor
719dcb2097 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Patrick McManus
757090d228 bug 780522 - stack overflow port out of range part 2/2 r=honzab 2012-08-09 20:38:36 -04:00
Patrick McManus
f71850e328 bug 780522 - stack overflow port out of range part 1/2 r=honzab 2012-08-09 20:38:36 -04:00
Ms2ger
5f4593aa2e Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Patrick McManus
23ef63f067 bug 780104 - fail gracefully on invalid spdy dictionary r=honzab 2012-08-07 21:49:53 -04:00
Landry Breuil
237a61c896 Bug 776174: Followup, remove extra semicolons after macros. r=jduell 2012-08-07 13:40:00 -07:00
Jason Duell
209e77bb97 Bug 773475 - Revert bug 584863 to keep redirect semantics cleaner. r=honza 2012-08-07 10:03:14 -07:00
Patrick McManus
56e1113b92 bug 779413 r=bsmith 2012-08-07 10:44:51 -04:00
Jason Duell
abdbb9d224 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Patrick McManus
9ebb689bfc bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
7c1ebce612 Bug 778680 part 2 - Fix incorrect nsresult usage in netwerk/; r=jduell 2012-08-01 11:17:09 +03:00
Aryeh Gregor
5f722a9bf7 Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell 2012-08-01 11:17:09 +03:00
Dão Gottwald
f5170992cb Bug 777710 - Remove platform and OS identifiers from B2G UA. r=bz
--HG--
extra : rebase_source : 75ddd7a0e75f22a065fc0e7efad3a749511b813d
2012-07-31 17:37:26 +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
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
ec8b263a28 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Dão Gottwald
f84feecdf8 Bug 776376 - Hardcode navigator.productSub to 20100101 for backward compatibility. r=bz sr=jst 2012-07-27 14:09:59 +02:00
Ehsan Akhgari
bc48b79dc9 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 (more intl parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 92f6b1dd5d0e67e05a7338991e648a09149275ec
2012-07-26 15:17:40 -04:00
Patrick McManus
b12bc44d80 bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Patrick McManus
956d2285f0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Patrick McManus
11b999f514 bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab 2012-07-23 19:10:02 -04:00
Patrick McManus
623040ca15 bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Joshua Cranmer
497e7cd9bb Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Jason Duell
f7550579ea Bug 776176 - e10s: propagate GetExtendedOrigin from child to parent process. r=jdm 2012-07-23 11:12:03 -07:00
Jason Duell
9a9096c83f Bug 775861 - e10s: propagate appId and isInBrowserElement from child to parent process r=jdm 2012-07-22 15:35:33 -07:00
Jason Duell
7f7428d402 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Patrick McManus
60351e8369 bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab
--HG--
extra : rebase_source : d1c27fa7c066f8f25efa7bf4ad78e6df62b7ce22
2012-07-20 08:50:18 -04:00
Patrick McManus
0f8d44fe13 bug 758972 - make spdysession::verifystream() a DEBUG only operation r=honzab
--HG--
extra : rebase_source : 157618d22a7fbcde1764125d50745552eddd6da6
2012-07-20 08:44:21 -04:00
Patrick McManus
3473b4bc15 bug 775508 http connection diagnostic half-open elapsed syn time incorrect r=honzab
--HG--
extra : rebase_source : c4d634a900b8de0c32710050e320b2550d0f1a30
2012-07-20 08:41:35 -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
Gervase Markham
1c9fc1e594 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01: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
Jason Duell
49dcc3f497 Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Honza Bambas
10ccc90535 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Fabrice Desré
3fe7c66a25 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07: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
Honza Bambas
7c36b706a6 Bug 729182 - Implement visual event tracer, http instrumentation, r=mcmanus 2012-07-10 23:49:19 +02:00
Honza Bambas
3c33725683 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Jason Duell
3161d97ddf Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
8830cb6a22 Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Patrick McManus
61c13ff996 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Jason Duell
ec81304c25 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-22 12:01:00 -07:00
Jason Duell
036985ae48 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing [websockets http proxy]. r=mcmanus 2012-06-22 11:47:00 -07:00
Brian Smith
9339bd8930 Bug 763342 - Fix device-specific cache hit rate telemetry regression, r=michal
--HG--
extra : rebase_source : fb9b49591d2487cd0567922b2e0cdef7e38dd97a
2012-06-21 13:58:51 -07:00
Michal Novotny
0a825398c9 Bug 764337 - Firefox 14+ requests images inserted by JS multiple times if not cached r=mayhemer 2012-07-03 19:28:04 +02:00
Ryan VanderMeulen
15b9e2b074 Backout 38cfb0413e04 (bug 767506) due to M1 permaorange. 2012-07-02 21:55:24 -04:00
Jason Duell
7d56fc2f60 Bug 767506 - Select proper proxy caps for non-SSL CONNECT. r=honzab 2012-07-02 17:38:34 -07:00
Paul Adenot
ad06c6d7c9 Bug 767087 - Add a flag to force content sniffing when we get served application/octet-stream. r=jduell 2012-06-26 10:33:00 -07:00
Patrick McManus
ecf598e263 bug 769264 pipeline logging cleanups r=honzab
--HG--
extra : rebase_source : fc747b84349096b70d8b75d8aff8626826380d81
2012-07-02 18:10:04 -04:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jason Duell
b0344cefa6 Bug 757738 - Websockets: release reference to nsIWebSocketListener after OnClose. r=mcmanus 2012-06-29 23:02:08 -07:00
Jason Duell
0ae5df51bc Bug 769529 - Update nsIWebSocket*.idl comments to reflect that we don't always call OnStart. r=mcmanus, sr=biesi 2012-06-29 22:59:49 -07:00
Patrick McManus
68046fe5d5 bug 763312 pipeline position 0 read time rescheduling fixes r=honzab
--HG--
extra : rebase_source : 553ba9fc1f64bea331c191adc096437dadebbca5
2012-06-29 14:24:29 -04:00
Ed Morley
68c7b298d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-29 08:41:44 +01:00
Jason Duell
fc69908166 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
c4d15f545f Backout 25663e7d7f56 a=memory leak 2012-06-28 16:37:26 -07:00
Jason Duell
ebd1c14620 Backed out changeset 25663e7d7f56 a=memory leak 2012-06-28 16:36:14 -07:00
Jason Duell
654172f842 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 14:42:21 -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
Patrick McManus
5eafa03052 bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -04:00
Brian Smith
570f8e4fac Bug 764171: Fix crash in nsStorageStream by avoiding pre-buffering for items we will validate, r=honzab
--HG--
extra : rebase_source : e1229663f56643ef25805b26126893df51aaace7
2012-06-28 12:18:25 -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
Brian Smith
b5ce05041f Bug 760380 - Stop calling mOfflineCacheEntry->GetLastModified when processing response from normal cache, r=honzab
--HG--
extra : rebase_source : a649fa6e59638bf1e6d220cfc08960f7848a28ba
2012-06-12 14:23:06 -07:00
Patrick McManus
6114f98c13 bug 764648 navigation timing responseEnd not recorded on EOF HTTP delimiter r=honzab
--HG--
extra : rebase_source : d1d23dfe2a8f69f7cab61ac332571e190b2ec846
2012-06-26 10:47:46 -04:00
Ed Morley
3315e7c5e2 Backout d45ca69b67a3 (bug 767516), 4ff98d3e4d8d (bug 767512), 70cc47076115 (bug 767505), 4eca26d02c84 (bug 766929) for mochitest-plain-5 failures 2012-06-25 21:38:10 +01:00
Jason Duell
b6e7808734 Bug 767516 - Rename: s/SSLConnect/ProxyConnect/g r=mcmanus 2012-06-25 12:48:50 -07:00
Jason Duell
9392a5a0d0 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
4c7cdee822 Bug 767505 - ProcessAuthentication misses error check for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
29985e6362 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
40a4ffa542 Bug 713023 - Websockets: don't prefer SOCKS to HTTP proxy until bug 449251 is fixed. r=biesi 2012-06-22 10:59:53 -07:00
Dão Gottwald
962da99922 Bug 728831 - Don't expose the Firefox patch level (13.X.Y) in the UA string, only show the major version (13.X). r=bz sr=gavin 2012-06-22 13:52:47 +02:00
Brian Smith
2298c6a68f Bug 763351: Fix cache hit rate telemetry so that kCacheMissedViaReval gets reported, r=hurley
--HG--
extra : rebase_source : 4f914bbe9ef20693ed25dd3da8f4a5a81953c03f
2012-06-21 13:48:59 -07:00
Patrick McManus
b6c0a2f287 bug 764186 spdy sessions closed prematurely if started with null transaction r=honzab 2012-06-21 21:14:40 -04:00
Patrick McManus
7cd2fe0d0c bug 763352 - Proxy/NPN issue r=honzab
--HG--
extra : rebase_source : b4b592d695fe0ddbf5d451b385dc45202d100816
2012-06-20 20:55:02 -04:00
Patrick McManus
126fdcaa3c bug 766159 - User-Agent product sub code wrong with NSPR logging on r=jduell
--HG--
extra : rebase_source : 8f59eaad172e1a7c3e39fa02543783e8f2709f08
2012-06-20 17:07:42 -04:00
Patrick McManus
03d1c06772 bug 762505 - spdy/3 0 length responses with fin on syn-reply were not eof r=honzab
--HG--
extra : rebase_source : 933af8cbdb1c5bc9cbc66ddfcfd350fcff775a35
2012-06-20 13:07:01 -04:00
Patrick McManus
dc58b91395 bug 764260 convert telemetry::SPDY_VERSION and DNS_LOOKUP_METHOD to be enumerations r=bsmith 2012-06-19 20:38:44 -04:00
Jason Duell
0a66a023f2 Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus 2012-06-18 22:50:20 -07: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
Jason Duell
79f6c2507f Bug 742614: Allocation of string is not checked in WebSockets text frame parsing. r=bsmith 2012-05-11 02:05: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
Honza Bambas
5cb28d5772 Bug 762115 - Missing null check at nsHttpChannel::GetProfileDirectory, r=michal 2012-06-07 18:10:21 +02:00
Patrick McManus
6b69dcf1a3 bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04: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
Ehsan Akhgari
624a77c0c9 Merge the last green PGO changeset of mozilla-inbound to mozilla-central 2012-06-04 11:31:44 -04: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
Ed Morley
e72fa6d68c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Brian Smith
95cff046d9 Bug 722034 - Part 8 - Work around bug 759805, r=michal 2012-05-31 22:12:01 -07:00
Jason Duell
82550caf75 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Brian Smith
512c67299c Bug 722034 - Part 6 - Stop accessing cache descriptor on main thread for telemetry purposes, r=hurley 2012-05-31 15:20:06 -07:00
Brian Smith
14b3034808 Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
ad77600657 Bug 722034 - Part 4 - Make a copy of the information needed during cache validation in preparation for moving cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
abff910e11 Bug 722034 - Part 3 - Convert HttpBaseChannel::mRedirectedCachekeys to nsAutoPtr<nsTArray<nsCString> >, r=biesi 2012-05-31 15:20:05 -07:00
Patrick McManus
fdedcd5b54 bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab 2012-06-03 21:13:12 -04:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Patrick McManus
7294cbd950 bug 737470 new spdy v3 files had old mpl header r=trivial 2012-05-30 12:23:05 -04:00
Honza Bambas
eee5d0070e Bug 758852 - crash @ nsHttpConnectionMgr::nsHalfOpenSocket functions in Private Browsing, r=mcmanus 2012-05-29 16:51:21 +02:00
Brian Smith
ab38494662 Bug 722034 - Part 2 - Factor out nsHttpChannel::Hash into a standalone function, r=biesi 2012-04-05 01:57:30 -07:00
Brian Smith
390836258c Bug 746018 - Part 6 - Start buffering cache entries in memory before we validate them, r=honzab 2012-05-31 15:20:04 -07:00
Brian Smith
f9466c8ef5 Bug 746018 - Part 5 - Simplify ShouldUpdateOfflineCacheEntry, r=honzab 2012-05-31 15:20:03 -07:00
Brian Smith
9ed64256d8 Bug 746018 - Part 2 - Split nsHttpChannel::Connect() into two pieces--one that executes before checking the cache, one that executes after, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
4ebd5ef705 Bug 746018 - Part 1 - Prevent changing channel state after AsyncOpen in more places, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
ab91f6f0a2 Bug 759019 - Make nsHttpResponseHead and nsHttpRequestHead copy-constructable, assignable, and const-correct, r=biesi 2012-04-05 01:21:02 -07:00
Patrick McManus
b5d1b0d101 bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
cae1bafa38 bug 737470 patch 3 implement spdy v3 (pref off) r=honzab 2012-05-25 17:43:10 -04:00
Patrick McManus
e68b6e9d07 bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession2.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession2.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream2.cpp => netwerk/protocol/http/SpdyStream3.cpp
rename : netwerk/protocol/http/SpdyStream2.h => netwerk/protocol/http/SpdyStream3.h
2012-05-25 17:37:08 -04: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
Patrick McManus
c1096ca2e1 bug 758725 spdy act on fin on synreply r=honzab 2012-05-25 17:18:41 -04:00
Josh Matthews
724407ef07 Bug 722845 - Part 4: Add PB information to wyciwyg channels. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
4a1921cd15 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
30d7146e2c Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Honza Bambas
c8c5d41176 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Patrick McManus
6b1a01cb30 bug 756551 part 2 verify state of spdy mNeedsCleanup stream r=honzab 2012-05-21 17:09:34 -04:00
Patrick McManus
b4492fadee bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
98f9df6c9e Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jason Duell
fe4f933442 Bug 753105 - Change Websocket "internal error" code to 2011. r=mcmanus 2012-05-17 10:59:26 -07:00
Jason Duell
dc8e1646bb Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
c02fb45d9a Bug 755316 nullhttptransaciton based spdystream does not finish r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
ddf8294f59 bug 755174 spdysession::readsegments may not set reader without transaction r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
a0e3fa61bd Bug 755167 - spdysession::mConnection should not be nsHttpPipeline r=honzab 2012-05-16 09:05:34 -04:00
Ryan VanderMeulen
d0d422a19f Merge m-c to inbound 2012-05-15 19:24:50 -04:00
Patrick McManus
4e71c1624c Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Brian R. Bondy
c2f0611b53 Bug 754894 - Catalog sheet code is broken at least in unpackaged build. r=bz 2012-05-15 12:15:05 -04:00