Michael Layzell
56a5f8273e
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-14 15:06:15 -04:00
Valentin Gosu
9d522729df
Bug 1182515 - Clear reference to captive portal service when observing xpcom-shutdown. r=mcmanus
2015-07-13 15:50:58 +02:00
Christoph Kerschbaumer
2bd129394d
Bug 1180964 - Provide a C++ friendly version of LoadInfo on nsIChannel - IGNORE IDL (r=sicking,sworkman)
2015-07-13 22:50:34 -07:00
Christoph Kerschbaumer
c255f4187b
Bug 1179505 - Make LoadInfo arguments optional in ipdl (r=bent,sicking)
2015-07-13 22:43:13 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Valentin Gosu
ee3e5e80ec
Bug 1179779 - Neither XRE_START_OFFLINE nor -offline work any more. r=mayhemer
2015-07-08 15:56:12 +02:00
Wes Kocher
aec62d3dc0
Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
...
--HG--
extra : amend_source : 82d7af13e11137e614b0b1bd12f5af3108551bfc
2015-07-10 15:59:01 -07:00
Ben Kelly
2a31a01e4b
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-10 14:28:32 -07:00
Christoph Kerschbaumer
7685654149
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman)
...
--HG--
extra : rebase_source : 3582ac42bcd0cc0dee332505880c2a65d87964eb
2015-07-10 13:57:55 -07:00
Randell Jesup
c87c478f4f
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Julian Seward
522ddb2178
Bug 1180195 - Uninitialised value use in Predictor::SpaceCleaner::OnMetaDataElement. r=hurley@todesschaf.org.
...
--HG--
extra : rebase_source : 80764bcd5cedd114c57af335dbc11a559a0f379b
2015-07-09 00:18:54 +02:00
Dragana Damjanovic
4900e9e338
Bug 1152046 - add telemetry for time spent in connect/close. r=mayhemer
...
--HG--
extra : rebase_source : 1166706f2360016b020aa5de8ab9a1c4f431b9b7
2015-07-07 11:13:00 +02:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Dragana Damjanovic
8ac07f817c
Bug 905127 - Make some functions from nsNetUtil not inline. r=jduell
2015-05-20 04:48:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Michael Layzell
3eb46d5372
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 17:12:17 -04:00
Ehsan Akhgari
4484832cb5
Backout bug 1170200 because of test failures on a CLOSED TREE
2015-07-03 16:43:47 -04:00
Michael Layzell
0e9fa18ac8
Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan
2015-07-03 14:17:11 -04:00
Valentin Gosu
754aea4980
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Valentin Gosu
e869aebc27
Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus
2014-10-14 00:34:03 +03:00
Carsten "Tomcat" Book
148c5433eb
Backed out changeset ddd6b2e3aead (bug 1048131)
2015-07-03 14:26:03 +02:00
Carsten "Tomcat" Book
7cda123145
Backed out changeset 49f72333b407 (bug 1048131)
2015-07-03 14:25:56 +02:00
Valentin Gosu
fb74912cb6
Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus
2014-10-14 00:35:51 +03:00
Valentin Gosu
95e62eb914
Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus
2014-10-14 00:34:03 +03:00
Franziskus Kiefer
2ae91f6891
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
...
--HG--
extra : rebase_source : ceb3a3d18acf7deb9d13cfae499b7e112db8ffce
2015-06-05 15:25:24 -07:00
Dragana Damjanovic
71de884cdc
Bug 1177848 - Add telemetry to measure ipv6 miss and hits. r=mcmanus
2015-07-01 13:51:00 +02:00
Dragana Damjanovic
b5075f0de3
Bug 1170197 - If a channel is suspended in http-on-modify-request, it should not send any trafic untill resumed. r=mayhemer
2015-06-18 10:57:00 -04:00
Carsten "Tomcat" Book
8bc87efb1e
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
91b0523177
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Eric Rahm
c7c7afa9ce
Bug 1177541 - Remove warning if file is not found during deferred open. r=mcmanus
...
When doing a deferred open we should not emit a warning if the file is not
found. The proper return code is still returned.
2015-06-30 09:33:37 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ehsan Akhgari
60626aff92
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Nicholas Hurley
ff91c700ee
Bug 959752 - Make the network predictor work under e10s. r=mcmanus
2015-06-18 11:23:00 +02:00
Christoph Kerschbaumer
4e803ed392
Bug 1175352 - Refactor LoadInfo arguments to be more self contained (r=bent)
2015-06-18 15:37:20 -07:00
Andrea Marchesini
45578e03fa
Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz
2015-06-17 12:21:39 +01:00
Nicholas Nethercote
a1b715b5df
Bug 1174625 - Overhaul PLDHashTable's iterator. r=froydnj.
...
This change splits PLDHashTable::Iterator::NextEntry() into two separate
functions, which allow you to get the current element and advance the iterator
separately, which means you can use a for-loop to iterate instead of a
while-loop.
As part of this change, the internals of PLDHashTable::Iterator were
significantly changed and simplified (and modelled after js::HashTable's
equivalent code). It's no longer duplicating code from PL_DHashTableEnumerator.
The chaos mode code was a casualty of this, but given how unreliable that code
has proven to be (see bug 1173212, bug 1174046) this is for the best. (We can
reimplement chaos mode once PLDHashTable::Iterator is back on more solid
footing again, if we think it's important.)
All these changes will make it much easier to add an alternative Iterator that
removes elements, which was turning out to be difficult with the prior code.
In order to make the for-loop header usually fit on a single line, I
deliberately renamed a bunch of things to have shorter names.
In summary, you used to write this:
PLDHashTable::Iterator iter(&table);
while (iter.HasMoreEntries()) {
auto entry = static_cast<FooEntry*>(iter.NextEntry());
// ... do stuff with |entry| ...
}
// iter's scope extends beyond here
and now you write this:
for (auto iter = table.Iter(); !iter.Done(); iter.Next()) {
auto entry = static_cast<FooEntry*>(iter.Get());
// ... do stuff with |entry| ...
}
// iter's scope doesn't reach here
--HG--
extra : rebase_source : fa5cac2fc50b1ab7624030bced4763131280f4d8
2015-06-11 21:19:53 -07:00
Ryan VanderMeulen
350215c93f
Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
...
CLOSED TREE
2015-06-15 15:27:53 -04:00
Josh Matthews
e3e3f30ca2
Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks; r=dragana
2015-06-15 14:35:06 -04:00
Ted Mielczarek
67dc1eedaa
bug 1170582 - Fix nsSocketTransport on iOS. r=mayhemer
...
--HG--
extra : commitid : 2DvDwkwMsaH
extra : rebase_source : c59dfe432e01e9dbedbeda8d5ea847311df19d26
2015-05-06 07:51:51 -04:00
Eric Rahm
10246c32dc
Bug 1171583 - Remove mutable warning from |nsSimpleURI::SetUserPass|. r=bz
2015-06-11 18:32:03 -07:00
Nicholas Nethercote
b73bd8538c
Bug 1172789 (part 3) - Remove PL_DHashTableEnumerate() uses from nsLoadGroup. r=michal.
...
This change also factors out some duplicated code.
2015-06-10 13:07:40 -07:00
Nicholas Nethercote
8fb3be0911
Bug 1172789 (part 2) - Remove PL_DHashTableEnumerate() uses from nsLoadGroup. r=michal.
2015-06-10 13:07:40 -07:00
Nicholas Nethercote
9569f3b922
Bug 1172789 (part 1) - Remove PL_DHashTableEnumerate() uses from nsLoadGroup. r=michal.
2015-06-10 13:07:40 -07:00
Wes Kocher
cf559bd6b2
Merge m-c to inbound, a=merge CLOSED TREE
2015-06-10 18:38:28 -07:00
Wes Kocher
4eedce1509
Merge inbound to central, a=merge
2015-06-10 18:29:39 -07:00
Eric Rahm
49cd162711
Bug 1171716 - Part 2: Use NS_ReleaseOnMainThread in nsBaseChannel. r=froydnj
2015-06-10 08:33:28 -07:00
Birunthan Mohanathas
68936083a8
Bug 1172584 - Avoid coping FallibleTArray in SendRequestRunnable constructor. r=dragana
2015-06-08 10:52:14 -07:00
Bill McCloskey
3d39da47b9
Bug 1163861 - Pass window IDs in nsILoadInfo (r=ckerschb)
2015-06-09 21:04:50 -07:00
Wes Kocher
54bccdc15f
Backed out 5 changesets (bug 1171716) for android bustage
...
Backed out changeset 4986f8464f9c (bug 1171716)
Backed out changeset bc8405b07d10 (bug 1171716)
Backed out changeset 10e18e494630 (bug 1171716)
Backed out changeset be499a3cae5d (bug 1171716)
Backed out changeset f75717d3eba0 (bug 1171716)
2015-06-09 18:48:37 -07:00
Eric Rahm
1f36355681
Bug 1171716 - Part 2: Use NS_ReleaseOnMainThread in nsBaseChannel. r=froydnj
2015-06-09 18:25:44 -07:00
Birunthan Mohanathas
eb5db88588
Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj
2015-06-09 17:27:35 -07:00
Carsten "Tomcat" Book
989624d484
Merge mozilla-central to fx-team
2015-06-10 15:25:21 +02:00
Florian Quèze
e09d0ceffd
Bug 1164159 - Stop using a wrappedJSObject hack to access nsIBrowserSearchService.getDefaultEngineInfo, r=markh.
2015-06-10 11:18:08 +02:00
Eric Rahm
75c4bebb79
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-03 15:25:57 -07:00
Eric Rahm
67f6de2a30
Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj
2015-06-03 15:22:35 -07:00
Eric Rahm
f50b813989
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Dragana Damjanovic
09c2350905
Bug 1169554 - Do not reconnect on shutdown. r=mayhemer
2015-05-29 02:06:00 -04:00
Honza Bambas
326b2476af
Bug 1170534 - Remove Visual Event Tracer. r=dougt
2015-06-02 11:44:00 -04:00
Nicholas Nethercote
e849e6588b
Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
...
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Valentin Gosu
b2e6518351
Bug 1036275
- Add Packaged App Service r=honzab
2015-06-03 01:46:15 +03:00
Carsten "Tomcat" Book
5471309381
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)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
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
fb40eb5516
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
141e0ff4a2
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
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 14:31:01 -07:00
Eric Rahm
4095cdb19f
Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj
2015-06-01 14:31:00 -07:00
Eric Rahm
dc090e3fe5
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Christoph Kerschbaumer
2f7f6f2cce
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
51f05cc785
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
ae642a5b48
Bug 1152046 - Don't try to connect if we are shutting down. r=mayhemer
...
--HG--
extra : rebase_source : 157f4f7af0a9ff4907bc81b4d080f4b7c0712524
2015-05-29 02:04:00 -04:00
Randell Jesup
b72158fc8c
Bug 1109338: Part 3: Use separate proxy and UDPMessage class for PBackground r=dragana
2015-05-29 10:14:17 -04:00
Randell Jesup
859e49874b
Bug 1109338: Part 1: Separate UDPSocket logging from network logging r=dragana
2015-05-29 10:13:39 -04:00
Nicholas Hurley
f4847624a3
Bug 1152048 - release assert non-reentrancy of sts lock acquisition. r=honzab DONTBUILD relanding
2015-05-28 13:50:52 -07:00
Nicholas Hurley
665b6d670f
Backout 91a3fb327007 (wrong commit message) DONTBUILD
2015-05-28 13:50:51 -07:00
Nicholas Hurley
87dff12666
Bug 1159747 - release assert non-reentrancy of sts lock acquisition. r=honzab
2015-05-28 13:36:02 -07:00
Birunthan Mohanathas
180b572edb
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
470bd9148f
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Birunthan Mohanathas
8b4d3a4b90
Bug 1167420 - Handle fallible AppendElement call in netwerk/base/Dashboard.cpp. r=valentin
2015-05-27 17:46:19 -07:00
Birunthan Mohanathas
133069acd0
Bug 1164714 - Move netwerk/base/nsISiteSecurityService.idl into security/manager/ssl. r=keeler,mcmanus
...
--HG--
rename : netwerk/base/nsISiteSecurityService.idl => security/manager/ssl/nsISiteSecurityService.idl
2015-05-26 10:31:30 -07:00
Ehsan Akhgari
4017e4028f
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
...
--HG--
rename : dom/fetch/InternalResponse.cpp => dom/fetch/ChannelInfo.cpp
rename : dom/fetch/Response.h => dom/fetch/ChannelInfo.h
2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
1f0ef48e79
Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE
2015-05-27 14:50:43 +02:00
Ehsan Akhgari
c66a858d3a
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
...
--HG--
rename : dom/fetch/InternalResponse.cpp => dom/fetch/ChannelInfo.cpp
rename : dom/fetch/Response.h => dom/fetch/ChannelInfo.h
2015-05-27 08:25:03 -04: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
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
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
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
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -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
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
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
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
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
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
8d273b528b
Bug 1161558 cleanup some nsIObserver shutdown paths r=bagder
2015-05-05 10:04:34 -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
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
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
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
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
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
Valentin Gosu
bcd09a7c72
Bug 1135354 - Fix comment regarding URL max length r=me DONTBUILD CLOSED TREE
2015-04-23 00:10:43 +03: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
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
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
Wes Kocher
af34e14f2b
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424
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
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
Patrick McManus
a38b6ba267
Bug 1153437 - rename proxyFlags to controlFlags with nsISocketProvider interfaces r=hurley
2015-04-10 17:27:27 -04: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
Ryan VanderMeulen
e2d5707a36
Merge inbound to m-c. a=merge
2015-04-07 15:47:40 -04:00
Randall Barker
b7e4e29621
Bug 1097804 - Part 1 - Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC. r=mcmanus
...
--HG--
extra : rebase_source : 9a97f2622a0d7bd9f672aa652450af259792e059
2015-04-03 15:54:00 +02:00
Henry Chang
d7d5a942ab
Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus
...
--HG--
extra : rebase_source : a859ed97ede124c0d87dd72c6399be15c72c272d
2015-01-28 11:21:37 +08:00
Ehsan Akhgari
7b1bbb9ff6
Back out bug 1149127 because of Thunderbird insanity
2015-04-02 14:37:55 -04:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00