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

11366 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 103a223716 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Daniel Stenberg c45d6ca104 Bug 1154426 - Ignore gzip problems if only soft-enforcing. r=mcmanus 2015-04-22 17:13:57 -07:00
Valentin Gosu bcd09a7c72 Bug 1135354 - Fix comment regarding URL max length r=me DONTBUILD CLOSED TREE 2015-04-23 00:10:43 +03:00
Wes Kocher cf6a17b863 Backed out changeset 78aab1149276 (bug 1154426) for being a likely cause of gij(8) orange on a CLOSED TREE 2015-04-22 14:06:52 -07:00
Daniel Stenberg d9b1b42800 Bug 1154426 - Ignore gzip problems if only soft-enforcing. r=mcmanus
--HG--
extra : rebase_source : 4dd45cffd30c320b15f5778f6979981239e276a1
2015-04-20 07:27:00 -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
Ehsan Akhgari 399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher 638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07: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 3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04: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
Wes Kocher e3210dc1de Backed out 1 changesets (bug 1040285) for windows xpcshell failures CLOSED TREE
Backed out changeset ffd1b16f058b (bug 1040285)
2015-04-16 15:17:15 -07:00
Neil Deakin af1ece91c4 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Valentin Gosu 68ac72d180 Bug 1040285 - Single Quotes should not be encoded in the path. r=mcmanus, r=annevk 2015-04-16 01:11:05 +03:00
Jim Blandy 6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07: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
Patrick McManus 965b4acedf Bug 1154068 - rename relaxed to insecure scheme and add more runtime checks r=hurley
we used the term relaxed for http:// over tls; but someitmes we also
enforced the authentication if alt-svc changed the host involved. That
was all done correctly but the term relaxed wasn't very accurate in
those cases.

For clarity rename "relaxed" to be "insecureScheme". Also add a
runtime check (with debug assert) to paths to enforce that bit isn't
set where it shouldn't be (it isn't known to be).
2015-04-06 17:30:29 -04:00
Patrick McManus dea53428c8 Bug 1154061 - clear cached alt svc mappings on a variety of state changes r=hurley
an alt-svc map is just an optimization which can get out of phase like
any other piece of state.. therefore it makes sense to
drop them when a user presses some kind of "serenity now" button such
as force-reload, clear cache, etc..
2015-04-10 16:13:30 -04:00
Patrick McManus 2bc676b831 Bug 1153936 - nsIHttpChannelInteral attribute to opt out of alt-svc on per channel basis r=hurley 2015-04-13 12:59:34 -04:00
Patrick McManus f5c22512f7 Bug 1153924 - do not use altsvc with proxy r=hurley 2015-04-13 12:33:10 -04:00
Patrick McManus 61b076171b Bug 1153896 - dont setup altsvc for same host/port as origin r=hurley 2015-04-09 23:38:26 -04:00
Patrick McManus c5a3235e9e Bug 1153869 - altsvc assert scheme is http or https r=hurley 2015-04-13 10:20:26 -04:00
Christoph Kerschbaumer e6a1d175c3 Bug 1134096 - Revise docs for ::NewChannel2, ::GetChannelPrincipal and add deprecation warnings (r=tanvi,sicking) 2015-04-13 13:37:14 -07:00
Nathan Froyd dbc40671bc Bug 1153267 - part 2 - use smart pointers instead of manual NS_ADDREF'ing outparams; r=ehsan 2015-03-31 10:05:07 -04:00
Nathan Froyd 2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Ted Mielczarek fb4b821e19 bug 1151407 - Remove _HTTPD_JS_PATH from xpcshell test harness. r=jmaher
Only the httpd.js unit tests actually rely on this. I tried to make them use Cu.import but they also rely on poking a bunch of stuff in httpd.js that's not exported, so instead I just made the test manifest copy httpd.js to the test directory and had them load it from there.

--HG--
extra : rebase_source : 24b04d619891ec95e5df23a2eb7f3277dd3206b2
extra : amend_source : 72139cecdcd695171e2fd0ce8ea7be91c1eebd1a
2015-04-03 08:20:32 -04:00
Patrick McManus a38b6ba267 Bug 1153437 - rename proxyFlags to controlFlags with nsISocketProvider interfaces r=hurley 2015-04-10 17:27:27 -04:00
Christoph Kerschbaumer 1d154e9fe4 Bug 1147562 - Update remaining callsites of newChannel before landing the shim in netwerk/ (r=jduell) 2015-04-10 09:58:16 -07:00
Patrick McManus 279ac8f075 Bug 1152897 - update Alt-Svc pref name and default r=hurley 2015-04-06 15:28:21 -04:00
Shian-Yow Wu 30be5220e8 Bug 1150318 - Enable netwerk/test/unit/xpcshell.ini tests for B2G desktop by default. r=mcmanus 2015-04-10 14:02:17 +08:00
Dragana Damjanovic 9441d5b1f1 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Carsten "Tomcat" Book 2d13b44c69 Backed out changeset 35e6bbc2136b (bug 1134596) for Android Crashtest failures 2015-04-09 12:33:41 +02:00
Carsten "Tomcat" Book 550bcb19ad Backed out changeset 82d6b5523a2b (bug 1134596) 2015-04-09 12:31:51 +02:00
Carsten "Tomcat" Book 63274e410d Backed out changeset fb48ee62bab4 (bug 1134596) 2015-04-09 12:31:49 +02:00
Valentin Gosu d1e3086f18 Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab 2015-04-09 06:33:08 +03:00
Valentin Gosu 49e6a369d1 Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab 2015-04-09 06:33:03 +03:00
Valentin Gosu 375387ec80 Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-04-09 06:32:53 +03:00
Ehsan Akhgari b06db58c73 Bug 1152329 - Only compile _Android_GetAddrInfoForNetInterface on Android>=19; r=mcmanus
This fixes the compiler warnings about the unused static function
on other platforms.
2015-04-08 21:57:01 -04:00
Ehsan Akhgari 4f8f80b77d Bug 1053650 follow-up: Mark GetNetworkInterfaceId/SetNetworkInterfaceId as override 2015-04-08 10:27:41 -04:00