Commit Graph

11565 Commits

Author SHA1 Message Date
Botond Ballo
9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Nicholas Nethercote
a6d3fc9f49 Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Nicholas Nethercote
ecae0d4f96 Bug 1166598 (part 7) - Use PLDHashTable2 in nsLoadGroup. r=froydnj.
Things to note:

- nsLoadGroupConnectionInfo and its methods were just moved higher up in the
  file so it could be referenced in nsLoadGroup's constructor; none of that
  code has been changed;

- ~nsLoadGroup() is made public because NS_GENERIC_AGGREGATED_CONSTRUCTOR
  requires it to be.
2015-05-12 17:33:44 -07:00
Fernando Jimenez
95803111ef Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Valentin Gosu
a3d5341a59 Bug 1162690 - Remove malformed uri warning in nsURLParser::ParseURL r=mcmanus 2015-05-23 17:27:13 +03:00
Michal Novotny
704eab56b2 Bug 1159280 - TSan: data race netwerk/protocol/websocket/WebSocketChannel.cpp:3156 WebSocketChannel::Close, r=mcmanus 2015-05-23 10:07:01 +02:00
Michal Novotny
f60380e914 Bug 1159500 - crash in mozilla::net::CacheIndexIterator::GetNextHash(unsigned char (*)[20]), r=honzab 2015-05-23 09:12:43 +02:00
Nicholas Hurley
e1ec45716a Bug 1132357 - remove h2-draft* support. r=mcmanus 2015-05-22 14:29:15 -07:00
Ryan VanderMeulen
d29552d114 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
rename : browser/devtools/performance/test/browser_perf-aaa-run-first-leaktest.js => browser/devtools/performance/test/browser_aaa-run-first-leaktest.js
extra : rebase_source : bf83892460e8f9a98a8e08220593f9815cfecffb
2015-05-22 14:18:25 -04:00
Ryan VanderMeulen
8f6f16604c Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Cervantes Yu
55152ad9d9 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Christoph Kerschbaumer
982518a10b Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - remove newChannel2,asyncFetch2 (r=sicking,paolo) 2015-05-21 19:52:20 -07:00
Christoph Kerschbaumer
6b24d4a573 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Christoph Kerschbaumer
3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Dragana Damjanovic
0a5ab0a3dd Bug 1152041 - Do not try to reconnect if we are offline. r=mayhemer 2015-05-09 09:27:00 -04:00
Ryan VanderMeulen
c2339f6da3 Backed out 2 changesets (bug 1120487) for card_manager_test.js Gaia unit test failures.
Backed out changeset 357fcbe1de45 (bug 1120487)
Backed out changeset 33c588a14445 (bug 1120487)

CLOSED TREE
2015-05-20 14:12:13 -04:00
Patrick McManus
fdb289e13c bug 1165286 - java plugin no longer finds browser proxy settings r=hurley 2015-05-19 17:15:53 -04:00
Christoph Kerschbaumer
01b6eb2526 Bug 1120487 - Implement shim before moving security checks into AsyncOpen, ioservice changes (r=sicking,jduell) 2015-05-20 09:32:29 -07:00
Christoph Kerschbaumer
a3f6722568 Bug 1120487 - Implement shim before moving security checks into AsyncOpen; adding wrapper (r=sicking,jduell) 2015-05-20 09:32:12 -07:00
Steve Workman ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
4a535c957a Bug 1138242 - Use sequential A and AAAA requests to get DNS record TTLs on Windows r=sworkman 2015-05-01 16:49:00 +03:00
Sebastian Hengst
89d9f2f631 Backout 068cc6419d1e (Bug 1161684) for M4 perma-failures on opt. r=backout 2015-05-22 10:48:03 +02:00
Fernando Jimenez
6608088159 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Dragana Damjanovic
35b97dec87 Bug 1166133 - If proxy is available and an error happens, onStart/onStopRequest can be called twice. r=mcmanus 2015-05-19 11:28:00 -04:00
Patrick McManus
9ecc8d6152 bug 1144602 - preconnect test handler should only count 1 syn r=test-only 2015-05-22 12:04:50 -04:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Michal Novotny
796dc0f137 Bug 1152047 - mozilla::net::nsWSAdmissionManager::GetSessionCount may deadlock during shutdown, r=mcmanus 2015-05-19 11:35:33 +02:00
Nicholas Nethercote
ee79b4a341 Bug 1165768 (part 4) - Convert |sAtomTable| to |PLDHashTable2*|. r=froydnj.
--HG--
extra : rebase_source : d93a874ec9adae72a52aed44ac05083c239f5e6b
2015-05-18 00:52:07 -07:00
Nicholas Nethercote
4a930bc0f3 Back out a1f7ae44c7bb (bug 1164373) for causing intermittent test failures.
--HG--
extra : rebase_source : ac3d87bc11cf5cff81bc94f72ba01d1f05dfe445
2015-05-18 19:00:54 -07:00
Birunthan Mohanathas
1f8d7454e3 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Ethan Hugg
8e5e509026 Bug 1165423 - WebRTC Fix DTLS handshake by expanding UDP buffer. r=rjesup
--HG--
extra : rebase_source : ad42c8dcf8282c13383af54ac26bb2b0ce740c62
2015-05-15 16:58:56 -07:00
Franziskus Kiefer
7f55aa3206 Bug 1163743 - Change origin-when-crossorigin to origin-when-cross-origin. r=sstamm 2015-05-11 16:18:05 -07:00
Piotr Tworek
c5274c3b03 Bug 1163419 - Make nsQtNetworkLinkService destructor private. r=dougt 2015-05-13 11:17:00 -04:00
Neil Rashbrook
cf42e317ab Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01: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
Brian O'Keefe
c6ba641724 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal
--HG--
extra : rebase_source : 2d2cbc1ebc97496c54aef63de73b00af8126e750
2015-02-13 08:11:57 -05: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
Wes Kocher
3c714c42eb Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2 Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01: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
Christoph Kerschbaumer
6d53a55d2f Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Nicholas Nethercote
424c7b08b9 Bug 1164373 - Remove two static constructors involving PR_NewLogModule(). r=froydnj.
--HG--
extra : rebase_source : 089cbc39be20f60ca3c7e07b9f42034f19c4ea29
2015-05-13 18:02:56 -07: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
Patrick McManus
59395b21cb bug 1162821 - filter dns name collision records r=sworkman IGNORE IDL 2015-05-08 14:18:20 -04: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
Ehsan Akhgari
624cf2cad3 Bug 1159378 - Part 1: Enable nsIStreamLoader to optionally notify an nsIRequestObserver; r=mcmanus
--HG--
extra : rebase_source : f41590a92512a441b4a70f898c2172c5559718de
2015-05-04 10:17:47 -04: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
Simon Montagu
33a7836567 Bug 1162084: Check back in TLDs for Pakistan, r=gerv 2015-05-07 05:08:20 -07:00
Gervase Markham
9f37b79c96 Bug 1161823 - Remove Pakistan entries from the PSL because our UTF-8 converter doesn't like them. r=gerv
CLOSED TREE
2015-05-06 11:23:37 -04:00
Gervase Markham
9203d9996b Bug 1161936 - New TLD additions for TLDs contracted with ICANN from 2015-04-03 to 2015-05-05. r=gerv
--HG--
extra : histedit_source : 72e700cf57308188ffd4b1dd7db88d816b72d6e3
2015-05-06 02:52:00 -04:00
Gervase Markham
0037839ada Bug 1161823 - Comprehensive update to ICANN IDN ccTLD Section. r=gerv
--HG--
extra : histedit_source : 6211b959348d2fe2f742e8a0f62b894209e6d3d2
2015-05-06 02:50:00 -04:00
Gervase Markham
ff1c17bc9c Bug 1161787 - Add net.et to PSL. r=gerv
--HG--
extra : histedit_source : 78a9ee0ab879adbec2aba8cef68991af4db8aa11
2015-05-06 02:55:00 -04:00
Gervase Markham
abc8344bb9 Bug 1157442 - Add ac.lk to PSL. r=gerv
--HG--
extra : histedit_source : f4fe179e44524486ff11ff533fd035cd9156a57f
2015-05-06 02:57:00 -04:00
Carsten "Tomcat" Book
6e929ef81c merge mozilla-inbound to mozilla-central a=merge 2015-05-06 11:59:15 +02:00
Gavin Sharp
6fcbc3a1c9 Bug 1153964 followup, use RELEASE_BUILD instead of !(NIGHTLY || DEV_EDITION) 2015-05-05 22:11:37 -07:00
André Reinald
abcbead4d2 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02: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
Valentin Gosu
63e37283b1 Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab 2015-04-03 16:23:18 +03:00
Valentin Gosu
0bc433b11c Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab 2015-03-26 13:19:47 +02:00
Valentin Gosu
f8c914c69e Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-05-02 00:14:39 +03:00
Ilya
244449d4b5 Bug 1125816 - Parse FTP directory listings of Windows CE and WEC7 FTP Server r=jduell 2015-05-01 11:22:32 -07: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
Patrick McManus
59fdf06bcd Bug 1159944 - more alt-svc tests r=hurley 2015-04-30 20:53:20 -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
David Keeler
ad40c2968a bug 1153964 - allow unrestricted RC4 fallback in beta and release r=Cykesiopka
--HG--
extra : amend_source : 84b36899198baa138abb244df059649277709d05
2015-04-28 10:51:40 -07:00
Richard Barnes
4b1671adf4 Bug 1159945 - Add telemetry to measure HSTS usage 2015-04-29 16:16:16 -07:00
Wes Kocher
fb48025efb Backed out changeset 88a77375f4df (bug 924187) for probably breaking PGO builds CLOSED TREE 2015-04-28 15:21:07 -07:00
Valentin Gosu
b6ae7d5d90 Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk 2015-04-28 18:29:22 +03:00
Gervase Markham
e467d8072c Bug 1157676 - Update PSL for .gl. r=gerv 2015-04-28 07:52:00 -04:00
Gervase Markham
e2465750c7 Bug 1155882 - Update PSL to add eu.org domains. r=gerv 2015-04-28 07:20:00 -04:00
Brian O'Keefe
17e8110d7a Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Gervase Markham
486199152f Bug 1155625 - Update PSL comment for .nl. r=gerv 2015-04-28 06:42:00 -04:00
Gervase Markham
3fafbf7a4b Bug 1155496 - Add 4u.com to PSL. r=gerv 2015-04-28 06:31:00 -04:00
Gervase Markham
d206b9ceef Bug 1155232 - Update .pl domains in PSL. r=gerv 2015-04-28 06:47:00 -04: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
Andrew McCreight
0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
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
Ryan VanderMeulen
e2d5707a36 Merge inbound to m-c. a=merge 2015-04-07 15:47:40 -04:00