Commit Graph

6229 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
4e5a78a186 Bug 1120487 - Implement shim before moving security checks into AsyncOpen, ioservice changes (r=sicking,sworkman) 2015-05-29 10:41:41 -07:00
Christoph Kerschbaumer
f1930c4826 Bug 1120487 - Implement shim before moving security checks into AsyncOpen; adding wrapper (r=sicking,sworkman) 2015-05-29 10:40:52 -07:00
Dragana Damjanovic
282fb00333 Bug 1152046 - Don't try to connect if we are shutting down. r=mayhemer 2015-05-29 02:04:00 -04:00
Randell Jesup
ef5ffe442d Bug 1109338: Part 3: Use separate proxy and UDPMessage class for PBackground r=dragana 2015-05-29 10:14:17 -04:00
Randell Jesup
bddc272e14 Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent 2015-05-29 10:14:14 -04:00
Randell Jesup
630bf1f501 Bug 1109338: Part 1: Separate UDPSocket logging from network logging r=dragana 2015-05-29 10:13:39 -04:00
Nicholas Hurley
49e0b6a1a2 Bug 1152048 - release assert non-reentrancy of sts lock acquisition. r=honzab DONTBUILD relanding 2015-05-28 13:50:52 -07:00
Nicholas Hurley
af9da73e09 Backout 91a3fb327007 (wrong commit message) DONTBUILD 2015-05-28 13:50:51 -07:00
Nicholas Hurley
176b7ea596 Bug 1159747 - release assert non-reentrancy of sts lock acquisition. r=honzab 2015-05-28 13:36:02 -07:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
f7fa42cc65 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Geoff Brown
2366ea6c4b Bug 971742 - Re-balance test_URIs and test_URIs2; r=jesup 2015-05-28 12:06:44 -06:00
Geoff Brown
e71b6e3eb3 Bug 1168995 - Enable test_URIs2.js; r=jesup 2015-05-28 12:06:43 -06:00
Josh Matthews
961d0686c7 Bug 1157283 - Recreate IPC redirected HTTP channels as necessary after intercepting the request in the child. r=mayhemer 2015-05-28 10:47:35 -04:00
Nicholas Hurley
2e270bf83d Bug 1159747 - delete h2 static compression table in such a way to avoid crashes after network changes. r=mcmanus 2015-05-27 09:49:00 +02:00
Honza Bambas
e3bcb0641d Bug 1122420 - Improve after-shutdown dispatch assertion on CacheIOThread. r=michal 2015-04-13 16:58:00 +02:00
Marcos Caceres
21c80fd7b7 Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
---
 dom/base/nsContentPolicyUtils.h                    |   1 +
 dom/base/nsDataDocumentContentPolicy.cpp           |   3 +-
 dom/base/nsIContentPolicy.idl                      |   2 +-
 dom/base/nsIContentPolicyBase.idl                  |   7 +-
 dom/base/nsISimpleContentPolicy.idl                |   2 +-
 dom/base/test/csp/browser.ini                      |   4 +
 dom/base/test/csp/browser_test_web_manifest.js     | 265 +++++++++++++++++++++
 .../csp/browser_test_web_manifest_mixed_content.js |  55 +++++
 dom/base/test/csp/file_CSP_web_manifest.html       |   6 +
 dom/base/test/csp/file_CSP_web_manifest.json       |   1 +
 .../test/csp/file_CSP_web_manifest.json^headers^   |   1 +
 dom/base/test/csp/file_CSP_web_manifest_https.html |   4 +
 dom/base/test/csp/file_CSP_web_manifest_https.json |   1 +
 .../csp/file_CSP_web_manifest_mixed_content.html   |   9 +
 .../test/csp/file_CSP_web_manifest_remote.html     |   8 +
 dom/base/test/csp/file_csp_testserver.sjs          |  14 +-
 dom/base/test/csp/mochitest.ini                    |   7 +
 dom/base/test/moz.build                            |   5 +-
 dom/fetch/InternalRequest.cpp                      |   3 +
 dom/fetch/InternalRequest.h                        |   2 +-
 .../security/nsIContentSecurityPolicy.idl          |   3 +-
 dom/ipc/manifestMessages.js                        |  25 +-
 dom/security/nsCSPUtils.cpp                        |   7 +
 dom/security/nsCSPUtils.h                          |  10 +-
 dom/security/nsMixedContentBlocker.cpp             |   1 +
 dom/webidl/CSPDictionaries.webidl                  |   1 +
 extensions/permissions/nsContentBlocker.cpp        |   6 +-
 netwerk/mime/nsMimeTypes.h                         |   1 +
 28 files changed, 439 insertions(+), 15 deletions(-)
 create mode 100644 dom/base/test/csp/browser.ini
 create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
 create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
 create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Patrick McManus
d1539e32af bug 1144602 - test_rel_preconnect orange r=test-only 2015-05-29 14:28:17 -04:00
Carsten "Tomcat" Book
9432818a46 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Chris Peterson
0a4424de96 Bug 1170066 - Fix -Wunreachable-code-return clang warning in netwerk/protocol/http/. r=mcmanus 2015-05-31 20:49:39 -07:00
Eric Rahm
5505ea9746 Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 22:17:34 -07:00
Eric Rahm
14740fdf18 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
12887bbebe Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 22:17:26 -07:00
Eric Rahm
db7b53614a Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
83ec610692 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Nicholas Nethercote
51726d1c0b Bug 1168007 (part 10) - Use PLDHashTable2 in nsDiskCacheBindery. r=froydnj.
Like the last patch, the Clear() call in nsDiskCacheBindery::Init() is
cautious.
2015-05-18 21:52:14 -07:00
Nicholas Nethercote
782d4e9e0b Bug 1168007 (part 9) - Use PLDHashTable2 in nsCacheEntry. r=froydnj.
It's not entirely clear if it's necessary to call Clear() in
nsCacheEntryHashTable::Init(). There is lots of inheritance around this code
and the calling patterns of Init() and Shutdown() aren't clear. Better safe
than sorry.
2015-05-18 21:45:30 -07:00
Birunthan Mohanathas
1acfd64819 Bug 1167420 - Handle fallible AppendElement call in netwerk/base/Dashboard.cpp. r=valentin 2015-05-27 17:46:19 -07:00
Birunthan Mohanathas
d47890a398 Bug 1164714 - Move netwerk/base/nsISiteSecurityService.idl into security/manager/ssl. r=keeler,mcmanus 2015-05-26 10:31:30 -07:00
Mike Hommey
e3f13a0ddb Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey
4245f5c436 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Ehsan Akhgari
021ed38d58 Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
ef72c48967 Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE 2015-05-27 14:50:43 +02:00
Ehsan Akhgari
7c178923f2 Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 08:25:03 -04:00
Botond Ballo
ad4aea9284 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Josh Matthews
76b2bcddec Bug 1157468 - Avoid leaking the intercepting channel stream listener for redirected IPC channels. r=mayhemer 2015-05-26 09:40:41 -04:00
Phil Ringnalda
7886a51923 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
eeb3ca1139 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Nicholas Nethercote
7476f38014 Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Nicholas Nethercote
f2a4282f7b 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
9d0565a371 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Valentin Gosu
59652bfa63 Bug 1162690 - Remove malformed uri warning in nsURLParser::ParseURL r=mcmanus 2015-05-23 17:27:13 +03:00
Michal Novotny
a6d370c22a 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
f39da22ad0 Bug 1159500 - crash in mozilla::net::CacheIndexIterator::GetNextHash(unsigned char (*)[20]), r=honzab 2015-05-23 09:12:43 +02:00
Nicholas Hurley
b2bfc22d79 Bug 1132357 - remove h2-draft* support. r=mcmanus 2015-05-22 14:29:15 -07:00
Ryan VanderMeulen
e43dfab513 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-22 14:18:25 -04:00
Ryan VanderMeulen
2177b9797f Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Cervantes Yu
863a6aa860 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Christoph Kerschbaumer
292ac6382e 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
b9e76daa73 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
6c7838c166 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
31b7f87f57 Bug 1152041 - Do not try to reconnect if we are offline. r=mayhemer 2015-05-09 09:27:00 -04:00
Ryan VanderMeulen
156aa5ee3a 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
8289cac452 bug 1165286 - java plugin no longer finds browser proxy settings r=hurley 2015-05-19 17:15:53 -04:00
Christoph Kerschbaumer
ce4a8e37df 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
61c648e03a 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)
d3f16e348f 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
e7143df6e7 Backout 068cc6419d1e (Bug 1161684) for M4 perma-failures on opt. r=backout 2015-05-22 10:48:03 +02:00
Fernando Jimenez
814cb01df9 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Eric Rahm
bac140c6c1 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Dragana Damjanovic
7ef9bfb2b3 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
e306249cae bug 1144602 - preconnect test handler should only count 1 syn r=test-only 2015-05-22 12:04:50 -04:00
Eric Rahm
32b4ff6b18 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Michal Novotny
8456708a19 Bug 1152047 - mozilla::net::nsWSAdmissionManager::GetSessionCount may deadlock during shutdown, r=mcmanus 2015-05-19 11:35:33 +02:00
Nicholas Nethercote
4a56c2d91f Bug 1165768 (part 4) - Convert |sAtomTable| to |PLDHashTable2*|. r=froydnj. 2015-05-18 00:52:07 -07:00
Nicholas Nethercote
7d691ee777 Back out a1f7ae44c7bb (bug 1164373) for causing intermittent test failures. 2015-05-18 19:00:54 -07:00
Birunthan Mohanathas
c5ef4649b0 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Ethan Hugg
506add7137 Bug 1165423 - WebRTC Fix DTLS handshake by expanding UDP buffer. r=rjesup 2015-05-15 16:58:56 -07:00
Franziskus Kiefer
272681457c Bug 1163743 - Change origin-when-crossorigin to origin-when-cross-origin. r=sstamm 2015-05-11 16:18:05 -07:00
Piotr Tworek
fa810262b0 Bug 1163419 - Make nsQtNetworkLinkService destructor private. r=dougt 2015-05-13 11:17:00 -04:00
Neil Rashbrook
7d598ef37a 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
972275ed2b Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
2015-05-14 21:48:43 -07:00
Bobby Holley
67f1a40d85 Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor 2015-05-15 11:51:51 -07:00
Brian O'Keefe
f21be4ff50 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Ehsan Akhgari
aee7f7274a 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
d65ee4fe20 Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
d30d87c917 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
f98d3fd15c Bug 1163900 - crash in mozilla::net::nsHttpChannelCacheKey::GetData(unsigned int*, nsACString_internal&), r=jduell 2015-05-14 19:05:34 +02:00
Christoph Kerschbaumer
ec48d470b8 Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Nicholas Nethercote
39c828fdf2 Bug 1164373 - Remove two static constructors involving PR_NewLogModule(). r=froydnj. 2015-05-13 18:02:56 -07:00
Nicholas Nethercote
dca9bdb5a5 Bug 1161377 (part 2.5) - Move all static PLDHashTable instances onto the heap to avoid static constructors. r=froydnj. 2015-05-12 17:33:22 -07:00
Nicholas Nethercote
5342691e22 Bug 1163909 - Remove nsFtpState::mSessionStartTime, which is dead. r=mcmanus.
This eliminates a static constructor.
2015-05-12 00:28:31 -07:00
Michal Novotny
81bafaf878 Bug 1152334 - StartWebsocketData null deref mSocketIn, r=bagder 2015-05-11 08:12:19 +02:00
Michal Novotny
eaf3e06c3c 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
10eaf0063e bug 1162821 - filter dns name collision records r=sworkman IGNORE IDL 2015-05-08 14:18:20 -04:00
Ehsan Akhgari
30bd2e296b 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
9181b8540f 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
4dadd13357 Bug 1159378 - Part 1: Enable nsIStreamLoader to optionally notify an nsIRequestObserver; r=mcmanus 2015-05-04 10:17:47 -04:00
Patrick McManus
52bf579fe8 Bug 1162243 - add anonymous speculative connections r=hurley 2015-05-05 21:15:36 -04:00
Eric Rahm
ba00a9a97d 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
4133e553ea 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
83323a6a04 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
06f9dafff9 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.
2015-04-09 11:31:59 -04:00
Patrick McManus
202f6aa264 bug 1153212 - 1/2 revert 90d6a38931fa to make room for better fix r=backout 2015-05-07 13:16:26 -04:00
Eric Rahm
25b5dc992b 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
7febc6b97b 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
3f36d05a87 bug 1161253 close pconns on background notification r=bagder 2015-05-05 10:10:21 -04:00
Patrick McManus
fd495e095e Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder 2015-05-05 10:04:34 -04:00
Simon Montagu
3ec070b53e Bug 1162084: Check back in TLDs for Pakistan, r=gerv 2015-05-07 05:08:20 -07:00
Gervase Markham
6d3fb08615 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
540ab765bc Bug 1161936 - New TLD additions for TLDs contracted with ICANN from 2015-04-03 to 2015-05-05. r=gerv 2015-05-06 02:52:00 -04:00
Gervase Markham
329ad1fe7f Bug 1161823 - Comprehensive update to ICANN IDN ccTLD Section. r=gerv 2015-05-06 02:50:00 -04:00
Gervase Markham
ff46f36520 Bug 1161787 - Add net.et to PSL. r=gerv 2015-05-06 02:55:00 -04:00
Gervase Markham
1e78819beb Bug 1157442 - Add ac.lk to PSL. r=gerv 2015-05-06 02:57:00 -04:00
Carsten "Tomcat" Book
40a9422941 merge mozilla-inbound to mozilla-central a=merge 2015-05-06 11:59:15 +02:00
Gavin Sharp
4c88ce2d3d Bug 1153964 followup, use RELEASE_BUILD instead of !(NIGHTLY || DEV_EDITION) 2015-05-05 22:11:37 -07:00
André Reinald
6a58a1d3c6 Bug 1075157 - Support action: reset search. r=gfritzsche, r=florian, r=bholley 2015-04-24 17:57:52 +02:00
Ehsan Akhgari
cfdf005ad6 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
e9c2ecf3fc Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab 2015-04-03 16:23:18 +03:00
Valentin Gosu
b8199e4f2e Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab 2015-03-26 13:19:47 +02:00
Valentin Gosu
231e07d696 Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-05-02 00:14:39 +03:00
Ilya
457186d21d Bug 1125816 - Parse FTP directory listings of Windows CE and WEC7 FTP Server r=jduell 2015-05-01 11:22:32 -07:00
theoneisneo
64bf8520c3 Bug 1149872 - Add the missing format specifiers. r=jduell 2015-04-02 01:56:00 -04:00
Patrick McManus
3d4ef7b203 Bug 1159944 - more alt-svc tests r=hurley 2015-04-30 20:53:20 -04:00
Mike Hommey
b848e4bfcf 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
e8d6ee36fa 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.
2015-04-29 16:38:29 -07:00
Patrick McManus
9f64338177 bug 1157280 - dont getSockName from main thread r=hurley 2015-04-29 18:39:06 -04:00
David Keeler
83ad8c6d14 bug 1153964 - allow unrestricted RC4 fallback in beta and release r=Cykesiopka 2015-04-28 10:51:40 -07:00
Richard Barnes
4c84f57e4a Bug 1159945 - Add telemetry to measure HSTS usage 2015-04-29 16:16:16 -07:00
Wes Kocher
1422146e9b Backed out changeset 88a77375f4df (bug 924187) for probably breaking PGO builds CLOSED TREE 2015-04-28 15:21:07 -07:00
Valentin Gosu
f327b67310 Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk 2015-04-28 18:29:22 +03:00
Gervase Markham
8d388659f5 Bug 1157676 - Update PSL for .gl. r=gerv 2015-04-28 07:52:00 -04:00
Gervase Markham
a8db61fc36 Bug 1155882 - Update PSL to add eu.org domains. r=gerv 2015-04-28 07:20:00 -04:00
Brian O'Keefe
3af3338733 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Gervase Markham
82e4e875da Bug 1155625 - Update PSL comment for .nl. r=gerv 2015-04-28 06:42:00 -04:00
Gervase Markham
2e34edb0aa Bug 1155496 - Add 4u.com to PSL. r=gerv 2015-04-28 06:31:00 -04:00
Gervase Markham
8af9f466e7 Bug 1155232 - Update .pl domains in PSL. r=gerv 2015-04-28 06:47:00 -04:00
Patrick McManus
1aafd5f692 bug 1142384 - eventtokenbucket thread management r=hurley 2015-04-28 00:12:29 -04:00
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Ryan VanderMeulen
7bc7b60b19 Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Jonathan Hao
1a42a6aa39 Bug 1151760 - Separate timeout timer with end of stream. r=ettseng 2015-04-24 15:25:09 +08:00
Ehsan Akhgari
2417a941fd 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
cc4bc6024d 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
2e0d35e090 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
c5d57b8e67 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
3af0e9963c Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Jan de Mooij
4b7f9709f5 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
65064cf4b0 Bug 1154426 - Ignore gzip problems if only soft-enforcing. r=mcmanus 2015-04-22 17:13:57 -07:00
Valentin Gosu
072a209d47 Bug 1135354 - Fix comment regarding URL max length r=me DONTBUILD CLOSED TREE 2015-04-23 00:10:43 +03:00
Wes Kocher
adaa840e08 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
8066fc1587 Bug 1154426 - Ignore gzip problems if only soft-enforcing. r=mcmanus 2015-04-20 07:27:00 -04:00
Andrea Marchesini
eff949a801 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
0915a15420 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
5c13924153 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Wes Kocher
6fdfd8574e Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
783d64de67 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
e1d91cf3c6 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
a9b331215f 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
2128024376 bug 1153212 - Alt-Svc Fixes r=dkeeler r=hurley 2015-04-13 17:11:59 -04:00
Wes Kocher
f180216650 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00