Commit Graph

1272 Commits

Author SHA1 Message Date
Masatoshi Kimura
0cf7f6068d Bug 795584 - Add a template parameter to clamped. r=Ms2ger 2012-09-30 14:19:34 -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
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
62d7406c52 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Honza Bambas
bd83f933cf Bug 779100 - HSTS redirect load group management fix, r=jduell 2012-09-27 21:35:08 +02: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
Patrick McManus
9a61a3897f bug 773255 nsHttpConnection::Close() on error remove callbacks on mSocketOut r=honzab r=biesi 2012-09-27 13:29:34 -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
Brian Smith
4f70cf4414 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
c1b493440d 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
daa36ed6ea Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking 2012-09-25 12:33:01 -07:00
Honza Bambas
3581c481dc Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Julian Reschke
6907a20296 Bug 782235 - Move HTTP convenience functions to nsHttp. r=bsmith 2012-09-25 11:04:25 -04:00
Phil Ringnalda
59da0af0b1 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
3eee84e809 Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
julian.reschke@gmx.de
9d97b3ceb2 Bug 758973 - Make handling of status code 308 more consistent. r=bsmith 2012-09-22 11:27:17 -04:00
Josh Matthews
ffcba39f60 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
3793f9760c Bug 791088 - Add telemetry for Connection Manager transaction time. r=mcmanus 2012-09-19 20:24:58 -04:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Makoto Kato
14ef63734c Bug 790617 - Part 2 - don't use atoi to parse header. r=cbiesinger 2012-09-19 17:44:54 +09:00
Makoto Kato
9285e74b27 Bug 790617 - Part 1 - setUploadStream can handle 64-bit length r=cbiesinger 2012-09-19 17:09:08 +09:00
Adam Dane [:hobophobe]
fe6d81410d Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Michal Novotny
688257e2e7 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
a38d2db36d Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-09-17 23:31:46 +02: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
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
Makoto Kato
909aba1eb8 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Fabrice Desré
e96bbbc31c Bug 791148 - Remove the deprecated camera support [r=cjones] 2012-09-13 19:44:06 -07: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
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
Patrick McManus
65eded9dad 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
cd0f7e6851 Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Aryeh Gregor
e840991a39 Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Ryan VanderMeulen
826e297731 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Patrick McManus
a9b91aa00a bug 334700 - DEBUG null deref in LogHeaders r=biesi
--HG--
extra : rebase_source : 315a625dcaffd9f284eb9e0d30a177456e606400
2012-09-05 21:31:35 -04:00
Ehsan Akhgari
911ceaf6d3 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
e69ea3ac2c bug 570283 - dont send http proxy-connection r=jduell 2012-09-05 08:38:01 -04:00
Patrick McManus
af997dfe72 bug 701562 ssl proxy not part of connection info hash r=duell 2012-09-05 08:34:43 -04:00
Patrick McManus
e69801cef8 bug 652928 add socks proxy host:port information to connection info key r=jduell 2012-09-05 08:32:28 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Fabrice Desré
2c7e1250c9 Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07: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
Dão Gottwald
90098d4147 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
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
Ryan VanderMeulen
a85281c457 Backout 2865d46e472d (bug 778079) for xpcshell failures on a CLOSED TREE. r=IfYoureGoingToUseTryLookAtTheResultsBeforePushingToInbound 2012-08-29 18:58:31 -04:00
Fabrice Desré
99f6f1132e Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07:00
Antonio Manuel Amaya Calvo
a01cc8fcd8 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
fa9b9c167a 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)
79b6b7fa0b Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Philipp von Weitershausen
f47e2a9937 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
80b746b988 Bug 785118 - use PARALLEL_DIRS in netwerk/; r=glandium 2012-08-23 12:54:51 -04:00
Jason Duell
ca7ff3f2e0 Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus 2012-06-22 12:06:00 -07:00
Ben Turner
2e0265c8ef 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
4a96b44593 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Ryan VanderMeulen
e0f772c50e Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
09bda2927c Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07: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
Patrick McManus
9cc369b11d 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
9dd734f9d1 Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Michal Novotny
e0dd387b14 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Fabrice Desré
9940638c2e Bug 726062 - B2G UA is wrong, better fix [r=gal] 2012-08-20 12:25:09 -07: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
Michal Novotny
6bac041e62 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
81d9415df5 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
4c54d98fcb Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
5fe7a22e2c 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
ae5bff66ec bug 780522 - stack overflow port out of range part 2/2 r=honzab 2012-08-09 20:38:36 -04:00
Patrick McManus
b2309efc60 bug 780522 - stack overflow port out of range part 1/2 r=honzab 2012-08-09 20:38:36 -04:00
Ms2ger
aa7cd71f5c Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Patrick McManus
27e972eca5 bug 780104 - fail gracefully on invalid spdy dictionary r=honzab 2012-08-07 21:49:53 -04:00
Landry Breuil
2e35509071 Bug 776174: Followup, remove extra semicolons after macros. r=jduell 2012-08-07 13:40:00 -07:00
Jason Duell
fac0558cc6 Bug 773475 - Revert bug 584863 to keep redirect semantics cleaner. r=honza 2012-08-07 10:03:14 -07:00
Patrick McManus
2173209f51 bug 779413 r=bsmith 2012-08-07 10:44:51 -04:00
Jason Duell
8eb63ade2d Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Patrick McManus
9da8009da8 bug 765048 - backout 3 digit accept-language q values r=biesi 2012-08-06 21:42:38 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
8f1dd8b01a Bug 778680 part 2 - Fix incorrect nsresult usage in netwerk/; r=jduell 2012-08-01 11:17:09 +03:00
Aryeh Gregor
c25112c690 Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell 2012-08-01 11:17:09 +03:00
Dão Gottwald
0e427a3628 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
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
17bdf11678 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Dão Gottwald
862e925847 Bug 776376 - Hardcode navigator.productSub to 20100101 for backward compatibility. r=bz sr=jst 2012-07-27 14:09:59 +02:00
Ehsan Akhgari
d2b4d0734c 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
d5350894c6 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
5452bacad0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Patrick McManus
323c6ef913 bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab 2012-07-23 19:10:02 -04:00
Patrick McManus
0080e6df31 bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Joshua Cranmer
de30491499 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
e1cdfe2f05 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
4a5b32fae2 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
c13b1fb788 Bug 776176 - e10s: propagate GetExtendedOrigin from child to parent process. r=jdm 2012-07-23 11:12:03 -07:00
Jason Duell
9230df40d8 Bug 775861 - e10s: propagate appId and isInBrowserElement from child to parent process r=jdm 2012-07-22 15:35:33 -07:00
Jason Duell
4cc41fe65d Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Patrick McManus
9c2207a644 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
a606746336 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
fb84918326 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
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
Gervase Markham
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01: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
Jason Duell
5d3acde245 Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Honza Bambas
cf693a708f Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Fabrice Desré
34d55862d3 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07: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
Honza Bambas
6362d203a0 Bug 729182 - Implement visual event tracer, http instrumentation, r=mcmanus 2012-07-10 23:49:19 +02:00
Honza Bambas
57b6ddeca3 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Jason Duell
1a385bfff0 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
9861cafc46 Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Patrick McManus
cfcdc84aac bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Jason Duell
00c8919da9 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-22 12:01:00 -07:00
Jason Duell
7282eef996 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing [websockets http proxy]. r=mcmanus 2012-06-22 11:47:00 -07:00
Brian Smith
cd4da36588 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
cafce618c7 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
74531a6662 Backout 38cfb0413e04 (bug 767506) due to M1 permaorange. 2012-07-02 21:55:24 -04:00
Jason Duell
f3464518e0 Bug 767506 - Select proper proxy caps for non-SSL CONNECT. r=honzab 2012-07-02 17:38:34 -07:00
Paul Adenot
aca85bb434 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
fdc1d8023e bug 769264 pipeline logging cleanups r=honzab
--HG--
extra : rebase_source : fc747b84349096b70d8b75d8aff8626826380d81
2012-07-02 18:10:04 -04:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jason Duell
2ed5e4c4d8 Bug 757738 - Websockets: release reference to nsIWebSocketListener after OnClose. r=mcmanus 2012-06-29 23:02:08 -07:00
Jason Duell
684d005df2 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
7b9930b013 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
657cd0ae2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-29 08:41:44 +01:00
Jason Duell
f3ec1fa6b2 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
a20dfd8b7d Backout 25663e7d7f56 a=memory leak 2012-06-28 16:37:26 -07:00
Jason Duell
c9fc31d72f Backed out changeset 25663e7d7f56 a=memory leak 2012-06-28 16:36:14 -07:00
Jason Duell
63599909fe Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 14:42:21 -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
Patrick McManus
0a116b0b9e bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -04:00
Brian Smith
93bc1eddee 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
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
Brian Smith
4f78ac8515 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
d6a1db29c0 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
25157b328a 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
663bc3d4fa Bug 767516 - Rename: s/SSLConnect/ProxyConnect/g r=mcmanus 2012-06-25 12:48:50 -07:00
Jason Duell
dc042a3cf2 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
308098b8e2 Bug 767505 - ProcessAuthentication misses error check for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
64489ed632 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
5551fb531e 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
cb4de2db41 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
f401bb654f 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
8ce7687db9 bug 764186 spdy sessions closed prematurely if started with null transaction r=honzab 2012-06-21 21:14:40 -04:00
Patrick McManus
e22907abca bug 763352 - Proxy/NPN issue r=honzab
--HG--
extra : rebase_source : b4b592d695fe0ddbf5d451b385dc45202d100816
2012-06-20 20:55:02 -04:00
Patrick McManus
7b917ab161 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
1e61a701d1 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
a535638b4b 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
d8e818f4c9 Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus 2012-06-18 22:50:20 -07: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
Jason Duell
c80b1e6545 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
c8aa808d36 Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Honza Bambas
3c4109edd0 Bug 762115 - Missing null check at nsHttpChannel::GetProfileDirectory, r=michal 2012-06-07 18:10:21 +02:00
Patrick McManus
298b544bde bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04: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
Ehsan Akhgari
1c61041b8e Merge the last green PGO changeset of mozilla-inbound to mozilla-central 2012-06-04 11:31:44 -04: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
Ed Morley
c8248fce4b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Brian Smith
037d25081c Bug 722034 - Part 8 - Work around bug 759805, r=michal 2012-05-31 22:12:01 -07:00
Jason Duell
37f9287122 Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Brian Smith
27d2a916b4 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
36cac4a176 Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
fd92294e79 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
2a5829fe5e Bug 722034 - Part 3 - Convert HttpBaseChannel::mRedirectedCachekeys to nsAutoPtr<nsTArray<nsCString> >, r=biesi 2012-05-31 15:20:05 -07:00
Patrick McManus
50c2474b73 bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab 2012-06-03 21:13:12 -04:00
Shriram Kunchanapalli
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Patrick McManus
1c016167c2 bug 737470 new spdy v3 files had old mpl header r=trivial 2012-05-30 12:23:05 -04:00
Honza Bambas
e0e3ee34de Bug 758852 - crash @ nsHttpConnectionMgr::nsHalfOpenSocket functions in Private Browsing, r=mcmanus 2012-05-29 16:51:21 +02:00
Brian Smith
c0309d87b7 Bug 722034 - Part 2 - Factor out nsHttpChannel::Hash into a standalone function, r=biesi 2012-04-05 01:57:30 -07:00
Brian Smith
b5e18b6c5a 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
c0859915db Bug 746018 - Part 5 - Simplify ShouldUpdateOfflineCacheEntry, r=honzab 2012-05-31 15:20:03 -07:00
Brian Smith
f34505b799 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
f5158556a3 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
a2fb1ba1e0 Bug 759019 - Make nsHttpResponseHead and nsHttpRequestHead copy-constructable, assignable, and const-correct, r=biesi 2012-04-05 01:21:02 -07:00
Patrick McManus
514d66787e bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
8de00a032e bug 737470 patch 3 implement spdy v3 (pref off) r=honzab 2012-05-25 17:43:10 -04:00
Patrick McManus
c02e9fa5c8 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
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
Patrick McManus
f24ffb5b74 bug 758725 spdy act on fin on synreply r=honzab 2012-05-25 17:18:41 -04:00
Josh Matthews
9906e7aafc Bug 722845 - Part 4: Add PB information to wyciwyg channels. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
3e60a1dc11 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
bd9442aa8b Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Honza Bambas
dbe9071082 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Patrick McManus
8d1684d524 bug 756551 part 2 verify state of spdy mNeedsCleanup stream r=honzab 2012-05-21 17:09:34 -04:00
Patrick McManus
1a735bdd25 bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
5afbe4e354 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
2187798a40 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
402969df1e Bug 753105 - Change Websocket "internal error" code to 2011. r=mcmanus 2012-05-17 10:59:26 -07:00
Jason Duell
87a4ee092b Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
5d463dbebd Bug 755316 nullhttptransaciton based spdystream does not finish r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
e0b866bdf6 bug 755174 spdysession::readsegments may not set reader without transaction r=honzab 2012-05-16 09:05:34 -04:00