Граф коммитов

4614 Коммитов

Автор SHA1 Сообщение Дата
Franziskus Kiefer 7f55aa3206 Bug 1163743 - Change origin-when-crossorigin to origin-when-cross-origin. r=sstamm 2015-05-11 16:18:05 -07:00
Nicholas Nethercote eab9ff6d25 Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).

--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Bobby Holley e61971d74b Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor 2015-05-15 11:51:51 -07:00
Ehsan Akhgari 6532f9f013 Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Michal Novotny 67351b86be Bug 1163900 - crash in mozilla::net::nsHttpChannelCacheKey::GetData(unsigned int*, nsACString_internal&), r=jduell 2015-05-14 19:05:34 +02:00
Nicholas Nethercote 9a60518e5b Bug 1161377 (part 2.5) - Move all static PLDHashTable instances onto the heap to avoid static constructors. r=froydnj.
--HG--
extra : rebase_source : 73029d4a1ed5a41263db882d66b1f380f5e7254b
2015-05-12 17:33:22 -07:00
Nicholas Nethercote d66a8f5e94 Bug 1163909 - Remove nsFtpState::mSessionStartTime, which is dead. r=mcmanus.
This eliminates a static constructor.

--HG--
extra : rebase_source : b4510ca7820d9e285d89621061446a4044f68ec3
2015-05-12 00:28:31 -07:00
Michal Novotny b34c97d19b Bug 1152334 - StartWebsocketData null deref mSocketIn, r=bagder 2015-05-11 08:12:19 +02:00
Michal Novotny faa2a67d00 Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell 2015-05-10 02:26:39 +02:00
Ehsan Akhgari 0053c63b09 Bug 1130101 - Part 1: Store the value of the Service-Worker-Allowed header in the CompareManager object; r=nsm 2015-05-07 21:06:33 -04:00
Valentin Gosu b4379aa7b4 Bug 1153929 - Add assertions and null checks to fix windows crash in nsHttpTransaction r=mcmanus 2015-05-08 03:54:06 +03:00
Patrick McManus 776fb0b18c Bug 1162243 - add anonymous speculative connections r=hurley 2015-05-05 21:15:36 -04:00
Eric Rahm 25a263c237 Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 12:52:45 -07:00
Eric Rahm 58dea0dee9 Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Wes Kocher 28c02e1e6d Backed out 2 changesets (bug 1162336) for breaking at least windows builds
Backed out changeset 8952a7fa4050 (bug 1162336)
Backed out changeset 0170a6c2a5be (bug 1162336)
2015-05-07 11:13:24 -07:00
Patrick McManus 6c728ddf43 bug 1153212 - 2/2 Necko explicitly track origin vs routed host and give psm only origin r=dkeeler r=hurley IGNORE IDL
Allow necko to simultaneously track the dual concept of routed host
and origin (authenticated host). The origin is given to the socket
provider and the routed host is inserted at DNS lookup time as if it
were a SRV or CNAME.

--HG--
extra : rebase_source : f9cc87b92084025443bc0374b1dd994f01662ebb
2015-04-09 11:31:59 -04:00
Patrick McManus 6a940b1edd bug 1153212 - 1/2 revert 90d6a38931fa to make room for better fix r=backout
--HG--
extra : rebase_source : a812bd796d4aa9df8e51c32a014663c025f3e0a6
2015-05-07 13:16:26 -04:00
Eric Rahm b9dd7823ea Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 10:35:29 -07:00
Eric Rahm ba22eb7fee Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:35:28 -07:00
Patrick McManus 8364ed817f bug 1161253 close pconns on background notification r=bagder 2015-05-05 10:10:21 -04:00
Patrick McManus 8d273b528b Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder 2015-05-05 10:04:34 -04:00
Ehsan Akhgari 1ed354c8e8 Bug 1134325 - Part 1: Add an API for cloning a channel's upload stream; r=mcmanus 2015-05-05 13:20:53 -04:00
theoneisneo 0653385d17 Bug 1149872 - Add the missing format specifiers. r=jduell
--HG--
extra : rebase_source : c8eae9123be0739ef0d7c34fb6794d9dce9bdebc
extra : histedit_source : 71aab00aa6e695497879681aab67ea3c6ace3d31
2015-04-02 01:56:00 -04:00
Mike Hommey 924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote c8ff2d51c8 Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.

--HG--
extra : rebase_source : 4c6ab0c449bc18e8bace8bf036b5bd78d3a2f1c4
2015-04-29 16:38:29 -07:00
Patrick McManus 152d8038bf bug 1157280 - dont getSockName from main thread r=hurley 2015-04-29 18:39:06 -04:00
Richard Barnes 4b1671adf4 Bug 1159945 - Add telemetry to measure HSTS usage 2015-04-29 16:16:16 -07:00
Patrick McManus abd1938940 bug 1142384 - eventtokenbucket thread management r=hurley 2015-04-28 00:12:29 -04:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ryan VanderMeulen 105fa88eae Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Jonathan Hao 2ad2daadc6 Bug 1151760 - Separate timeout timer with end of stream. r=ettseng 2015-04-24 15:25:09 +08:00
Ehsan Akhgari 5652b2e0e9 Bug 1158544 - Remove FTPChannelChild::mWasOpened and make the base class mWasOpened protected; r=mcmanus
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:34 -04:00
Ehsan Akhgari 486e079300 Bug 1158543 - Remove SpdyConnectTransaction::mRequestHead and make the base class mRequestHead protected; r=mcmanus
There is no need to have two separate variables for the same thing
in the same object.
2015-04-25 18:41:28 -04:00
Ehsan Akhgari bac5f0c520 Bug 1156771 - Part 2: Assert that the cache entry for the intercepted doesn't exist in the cache storage before we try to open it for the first time; r=michal 2015-04-27 13:04:17 -04:00
Ehsan Akhgari ea261c2bb2 Bug 1156771 - Part 1: Ensure that each channel uses a unique ID to compute its cache entry extension; r=michal
This makes sure that concurrent synthesized HTTP channels for the same
URL do not try to use the same cache entry accidentally.  We have so far
observed this issue as an intermittent test failure (see bug 1136780),
and it's hard to test this standalone, so enabling that test will serve
as an automated test for this patch as well.
2015-04-27 13:04:07 -04:00
Andrea Marchesini cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Wes Kocher 78060d2f53 Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari 3f4737e49a Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Nicholas Hurley ccd0c74313 Bug 1130822 - properly decode arbitrarily aligned data for non-tier1 platforms. r=mcmanus
Modified from original patch by Martin Husemann <martin@NetBSD.ORG>
2015-04-21 11:26:11 -07:00
Patrick McManus 04795f03be bug 1153212 - Alt-Svc Fixes r=dkeeler r=hurley 2015-04-13 17:11:59 -04:00
Wes Kocher 4b97517c7c Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Denis Volk 32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Tom Tromey d48f66c123 Bug 1096908 - forward network security messages to the content process; r=hurley
--HG--
extra : rebase_source : 8b44bcac632a2170f4d4eeb45aff1f0b751621fa
2015-04-20 11:42:09 -07:00
Wes Kocher 501075782d Backed out changeset dbee7cf7e96f (bug 1096908) for bustage 2015-04-20 11:22:21 -07:00
Tom Tromey 837eed6a5a Bug 1096908 - forward network security messages to the content process; r=hurley 2015-04-20 11:09:34 -07:00
Josh Matthews b776db08f0 Bug 1137287 - Build fix. rs=KWierso for a CLOSED TREE 2015-04-17 19:27:05 -04:00
Josh Matthews 04c41ddefc Bug 1137287 - Part 2: Send non-200/404 synthesized responses via the parent HTTP implementation for proper processing. r=mayhemer 2015-04-17 18:59:10 -04:00
Josh Matthews 9726be2a7e Bug 1137287 - Part 1: Shift some code from InterceptedChannelContent to HttpChannelChild. r=mayhemer 2015-04-17 18:59:10 -04:00
Nathan Froyd 1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Gijs Kruitbosch 8d04b9dd34 Bug 1150703, allow about: pages to be unlinkable even if "safe for content", r=mcmanus, IGNORE IDL
--HG--
extra : rebase_source : 4a73b907c246d7900362b55f908789cf354e703e
extra : histedit_source : 72c8a0d642684d833ec3819e216367a6db985d61
2015-04-03 09:59:00 +01:00