Ricky Stewart
940d91af38
Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
...
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e
Differential Revision: https://phabricator.services.mozilla.com/D48230
--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Sylvestre Ledru
f12b9fa5c3
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D47737
--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
ffxbld
8a664f77d8
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D47597
--HG--
extra : moz-landing-system : lando
2019-09-30 13:11:37 +00:00
ffxbld
c9b081d8c9
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D47244
--HG--
extra : moz-landing-system : lando
2019-09-26 14:33:06 +00:00
ffxbld
bdeece726d
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D46777
--HG--
extra : moz-landing-system : lando
2019-09-23 13:09:04 +00:00
ffxbld
959ff7f82f
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D46469
--HG--
extra : moz-landing-system : lando
2019-09-19 14:37:28 +00:00
Henri Sivonen
c193518677
Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D43957
--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Ehsan Akhgari
32b3e361da
Bug 1580273 - Add the needed head files to support-files; r=leplatrem
...
Differential Revision: https://phabricator.services.mozilla.com/D45409
--HG--
extra : moz-landing-system : lando
2019-09-13 09:55:59 +00:00
Kershaw Chang
de860c0a83
Bug 1580046 - Introduce new trr pref: builtin-excluded-domains r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D45518
--HG--
extra : moz-landing-system : lando
2019-09-12 12:44:16 +00:00
ffxbld
5af1f73d04
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D45662
--HG--
extra : moz-landing-system : lando
2019-09-12 13:37:51 +00:00
ffxbld
3e8fdbe0ed
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D44828
--HG--
extra : moz-landing-system : lando
2019-09-05 13:17:10 +00:00
Ehsan Akhgari
625509f19c
Bug 1399803 - Consider all IPv4 loopback addresses as secure context; r=bzbarsky,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D43633
--HG--
extra : moz-landing-system : lando
2019-08-30 07:57:34 +00:00
Henrik Skupin
1803585259
Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of IP addresses for testing. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D40167
--HG--
extra : moz-landing-system : lando
2019-08-28 10:58:48 +00:00
Dragana Damjanovic
2826398670
Bug 1575780 - We need a long request's timeout for trronly mode. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D43410
--HG--
extra : moz-landing-system : lando
2019-08-26 19:52:20 +00:00
ffxbld
36f90d0df0
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D43457
--HG--
extra : moz-landing-system : lando
2019-08-26 14:49:18 +00:00
Arpit Bharti
214fd3f380
Bug 1563246 - Reload the Public Suffix List when data is updated in profile folder r=leplatrem,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D42470
--HG--
extra : moz-landing-system : lando
2019-08-23 10:56:59 +00:00
Arpit Bharti
47dfa3b891
Bug 1563226 - Download the Public Suffix List using Remote Settings r=leplatrem
...
Differential Revision: https://phabricator.services.mozilla.com/D42469
--HG--
extra : moz-landing-system : lando
2019-08-22 14:09:42 +00:00
Kershaw Chang
89ca1976ab
Bug 1570732 - Skip trr when parental control is enabled r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D42489
--HG--
extra : moz-landing-system : lando
2019-08-23 21:17:15 +00:00
Kershaw Chang
fee6e1a70f
Bug 1574410 - Directly put the host of captive portal URL to TRR black list r=mt
...
Differential Revision: https://phabricator.services.mozilla.com/D42280
--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Kershaw Chang
91a654a9e3
Bug 1542037 - Only create nsDNSService on parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D41211
--HG--
extra : moz-landing-system : lando
2019-08-14 19:37:13 +00:00
Kershaw Chang
b869172d63
Bug 1456005 - Add captive portal URI to the TRR exclusion list r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D41207
--HG--
extra : moz-landing-system : lando
2019-08-14 19:35:16 +00:00
ffxbld
21d02cb6fe
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D41541
--HG--
extra : moz-landing-system : lando
2019-08-12 13:08:23 +00:00
Kershaw Chang
93e82cb323
Bug 1569196 - Make ChildDNSService run on socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D40592
--HG--
extra : moz-landing-system : lando
2019-08-05 20:54:01 +00:00
Kershaw Chang
5036125ab8
Bug 1542037 - Avoid accessing nsDNSService on middleman process r=dragana
...
- This patch makes sure that we don't create nsDNSService on both child process and middleman process.
- gNeckoChild won't be created in middleman process, so it's fine to create ChildDNSService on middleman process.
- Add some MOZ_DIAGNOSTIC_ASSERT in TRR, so we know where TRR is used on child process.
Differential Revision: https://phabricator.services.mozilla.com/D40018
--HG--
extra : moz-landing-system : lando
2019-08-06 12:09:19 +00:00
Nicholas Nethercote
18fae65f38
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
ffxbld
b7828720b0
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D39331
--HG--
extra : moz-landing-system : lando
2019-07-25 13:20:25 +00:00
Junior Hsu
10e6095df1
Bug 1565912 - rewrite trr exclusion algorithm to iteration r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D38245
--HG--
extra : moz-landing-system : lando
2019-07-18 18:02:58 +00:00
ffxbld
28af937c05
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D38478
--HG--
extra : moz-landing-system : lando
2019-07-18 12:58:04 +00:00
ffxbld
7c0acde6a7
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D37716
--HG--
extra : moz-landing-system : lando
2019-07-11 12:55:28 +00:00
Victor Porof
2c53a5dcd9
Bug 1561435 - Format netwerk/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35919
--HG--
extra : source : afa5bd771feba466ba7670c58f3d93233a14e202
2019-07-05 10:55:23 +02:00
ffxbld
c3dff17808
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D36908
--HG--
extra : moz-landing-system : lando
2019-07-04 13:06:12 +00:00
Kershaw Chang
c1a051b5ed
Bug 1559865 - No need to set offline flag in ChildDNSService r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D35212
--HG--
extra : moz-landing-system : lando
2019-06-28 06:44:03 +00:00
Arpit Bharti
3ac5afd32b
Bug 1083971 - Add an option to output a binary file for the PSL data r=leplatrem,erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D34364
--HG--
extra : moz-landing-system : lando
2019-07-02 12:28:48 +00:00
ffxbld
ab68b05adf
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D36187
--HG--
extra : moz-landing-system : lando
2019-06-27 12:57:42 +00:00
Valentin Gosu
54d2ce5f01
Bug 1558495 - Make sure we retry the TRR connection if it fails r=agrover
...
This patch adds:
* tests that we restart the TRR connection if it gets abnormally shut down
* a way to terminate the TRR connection when attempting to resolve closeme.com
* makes sure that resolving excluded domains with the DISABLE_TRR flag does
not fail. Before this we would return an error code without checking the
excluded domains first.
Differential Revision: https://phabricator.services.mozilla.com/D35076
--HG--
extra : moz-landing-system : lando
2019-06-14 21:49:10 +00:00
Boris Zbarsky
8e413da004
Bug 1558738. Stop using [array] in nsIUDPSocket. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D34672
--HG--
extra : moz-landing-system : lando
2019-06-12 07:00:01 +00:00
Valentin Gosu
50fee6b27e
Bug 1556911 - Don't instantiate NetworkConnectivityService off-main-thread r=dragana
...
This patch calls NetworkConnectivityService::GetSingleton() on the main thread
and keeps a ref to the service until shutdown.
Even though calling ncs->GetIPv6() off-main-thread is technically a data-race
in practice that's OK because only the simple decision whether to send
AAAA requests is made based on that value, which in itself is an optimization.
I filed bug 1556967 for making the connectivity service thread safe.
Differential Revision: https://phabricator.services.mozilla.com/D33765
--HG--
extra : moz-landing-system : lando
2019-06-05 20:39:12 +00:00
nidhi
8c217493ad
Bug 1552658 solved r=valentin
...
Added python 3 support for prepare_tlds.py
Differential Revision: https://phabricator.services.mozilla.com/D32363
--HG--
extra : moz-landing-system : lando
2019-06-05 20:07:40 +00:00
Valentin Gosu
269fbdbecf
Bug 1518730 - Wait for both A and AAAA responses to come back before notifying the listeners r=dragana
...
This way we preserve the behaviour of getaddrinfo, where both A and AAAA
responses come back at the same time.
Without this Firefox will always be biased, as the first request will usually
be resolved first. So if we requested IPv4 first, we'd mostly be using IPv4.
If we requested IPv6 first, normally we'll wait for the IPv4 response to come
back too, which is functionally equivalent to the new behaviour.
However, if the pref is set network.trr.early-AAAA;true then we'd use the IPv6
response immediately, possibly leading to a failed request if the IPv6
connection fails before we have an IPv4 address to fall back to.
A test for this patch was added in bug 1542561.
Depends on D33476
Differential Revision: https://phabricator.services.mozilla.com/D33477
--HG--
extra : moz-landing-system : lando
2019-06-03 21:13:22 +00:00
Valentin Gosu
c3ee743b2d
Bug 1518730 - Only send AAAA TRR requests when the system has IPv6 connectivity r=dragana
...
This is an optimization. If we detect that the system can't use the IPv6
address, there's no point in making a request for it.
Depends on D33475
Differential Revision: https://phabricator.services.mozilla.com/D33476
--HG--
extra : moz-landing-system : lando
2019-06-03 21:17:08 +00:00
Valentin Gosu
15ababeb71
Bug 1542561 - TRR: Don't return NS_ERROR_UNKNOWN_HOST when a AAAA response comes back first, but the second A response is NXDOMAIN r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D33471
--HG--
extra : moz-landing-system : lando
2019-06-03 21:05:27 +00:00
ffxbld
5cd2a9bc7d
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D33506
--HG--
extra : moz-landing-system : lando
2019-06-03 15:44:26 +00:00
Valentin Gosu
3cacbcf87b
Bug 1552438 - Remove TRR mode 4 (MODE_SHADOW) r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D32997
--HG--
extra : moz-landing-system : lando
2019-06-01 09:44:20 +00:00
Valentin Gosu
4882c4f4ea
Bug 1552438 - Remove TRR mode 1 (MODE_PARALLEL) r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D32996
--HG--
extra : moz-landing-system : lando
2019-06-01 09:44:06 +00:00
ffxbld
669d19df08
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D33154
--HG--
extra : moz-landing-system : lando
2019-05-30 13:07:37 +00:00
ffxbld
dafef8c4a2
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D32686
--HG--
extra : moz-landing-system : lando
2019-05-28 20:34:21 +00:00
Sylvestre Ledru
993c03acb1
Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31769
--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Jonathan Kew
6476568714
Bug 1256009 - Add U+0138 to IDN character blocklist. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D31595
--HG--
extra : moz-landing-system : lando
2019-05-17 09:19:22 +00:00
dlee
00f63d827c
Bug 1549405 - Use LOAD_BYPASS_URL_ClASSIFIER flag for TRR request. r=valentin
...
We should add LOAD_BYPASS_URL_ClASSIFIER to TRR request because if
"network.trr.mode" is set to 3, blocked TRR request means DNS resolution
fail, we don't fall back to regular DNS in this scenario.
Differential Revision: https://phabricator.services.mozilla.com/D30085
--HG--
extra : moz-landing-system : lando
2019-05-06 19:05:02 +00:00
Andrew McCreight
2841945140
Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
...
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).
Differential Revision: https://phabricator.services.mozilla.com/D30714
--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Valentin Gosu
b20ae58567
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-05-06 16:37:01 +00:00
Bogdan Tara
8244fce3c8
Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE
...
Backed out changeset d9a454afe9bf (bug 1525640)
Backed out changeset 19aa991328cb (bug 1525640)
Backed out changeset 4294abed890f (bug 1525640)
2019-05-03 00:16:20 +03:00
Valentin Gosu
f96dbbf019
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
ffxbld
0b4d03afbc
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D28331
--HG--
extra : moz-landing-system : lando
2019-04-22 12:51:53 +00:00
ffxbld
d640f895d3
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D27496
--HG--
extra : moz-landing-system : lando
2019-04-15 12:31:27 +00:00
Coroiu Cristina
d4f3370b50
Merge mozilla-central to autoland a=merge
2019-04-13 15:19:54 +03:00
Coroiu Cristina
8442bbf9c9
Backed out 3 changesets (bug 1525640) for causing leaks a=backout
...
Backed out changeset efdd32c00dc6 (bug 1525640)
Backed out changeset e71641f0465b (bug 1525640)
Backed out changeset e3539a40afdf (bug 1525640)
2019-04-13 14:57:11 +03:00
Junior Hsu
598c828aa6
Bug 1542384 - reduce timeout of shutdown resolver threads and make it prefable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D27013
--HG--
extra : moz-landing-system : lando
2019-04-12 17:04:05 +00:00
Valentin Gosu
e6696588e7
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:29 +00:00
Valentin Gosu
f172b45edc
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:08 +00:00
Ehsan Akhgari
aeca5512d1
Bug 1535877 - Fail explicitly when creating a second instance of the effective TLD service; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D25237
2019-04-02 10:33:50 -04:00
Dana Keeler
f8da648dbc
bug 1439002 - remove useless debug spew from nsSiteSecurityService r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D25489
--HG--
extra : moz-landing-system : lando
2019-04-01 17:07:20 +00:00
ffxbld
c83d5b6a32
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D25600
--HG--
extra : moz-landing-system : lando
2019-04-01 13:10:51 +00:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Gurzau Raul
a3606c1a59
Backed out changeset 5c4845fa789b (bug 1535877) for failing at /browser_child_resource.js on a CLOSED TREE.
2019-03-29 06:04:34 +02:00
Ehsan Akhgari
f2cbb76bcd
Bug 1535877 - Fail explicitly when creating a second instance of the effective TLD service; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D25237
--HG--
extra : moz-landing-system : lando
2019-03-28 23:12:52 +00:00
Valentin Gosu
785fc97f60
Bug 1518208 - Respect network.trr.excluded-domains in TRR-only mode r=dragana
...
Normally you wouldn't want localhost or *.local domain to be resolved by a
remote resolver.
This patch makes sure that even if we are in TRR-only mode, we still
successfully resolve the domains specified by network.trr.excluded-domains
using native DNS.
Also fixes bug in TRRService::ReadPrefs where we didn't clear mExcludedDomains
before reading the pref.
Differential Revision: https://phabricator.services.mozilla.com/D24380
--HG--
extra : moz-landing-system : lando
2019-03-28 13:15:05 +00:00
Sylvestre Ledru
289f40d6de
Bug 1538199 - Remove an useless declaration in TRR.cpp r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D24506
--HG--
extra : moz-landing-system : lando
2019-03-23 18:24:04 +00:00
Valentin Gosu
8a11162b6b
Bug 1450893 - Add pref for list of domains excluded from TRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24291
--HG--
extra : moz-landing-system : lando
2019-03-21 12:41:41 +00:00
Valentin Gosu
50597c68ef
Bug 1450893 - Add way to clear DNS cache r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24300
--HG--
extra : moz-landing-system : lando
2019-03-21 12:41:39 +00:00
Valentin Gosu
599df523e1
Bug 1420677 - Make sure to update addr_info_gencnt each time we change addr_info r=dragana
...
When changing addr_info we didn't always update addr_info_gencnt, so when it the old AddrInfo was freed, even though we lock in nsDNSRecord::GetNextAddr, mIter would still point to the old AddrInfo.
Differential Revision: https://phabricator.services.mozilla.com/D23923
--HG--
extra : moz-landing-system : lando
2019-03-19 12:21:07 +00:00
Valentin Gosu
a2d6b63946
Bug 1420677 - Make AddrInfo.mAddresses an AutoCleanLinkedList r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D22960
--HG--
extra : moz-landing-system : lando
2019-03-19 12:22:10 +00:00
Valentin Gosu
fc90cbe9f5
Bug 1420677 - Make AddrHostRecord.addr_info a RefPtr r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D22961
--HG--
extra : moz-landing-system : lando
2019-03-19 12:22:12 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Bogdan Tara
89414a1df5
Backed out 2 changesets (bug 1420677) for causing bug 1534550 a=backout
...
Backed out changeset cf114035c79f (bug 1420677)
Backed out changeset edff1f39d426 (bug 1420677)
2019-03-12 11:54:19 +02:00
Valentin Gosu
fb98cd9527
Bug 1420677 - Make AddrHostRecord.addr_info a RefPtr r=dragana
...
Depends on D22960
Differential Revision: https://phabricator.services.mozilla.com/D22961
--HG--
extra : moz-landing-system : lando
2019-03-11 12:59:55 +00:00
Valentin Gosu
7be123d24c
Bug 1420677 - Make AddrInfo.mAddresses an AutoCleanLinkedList r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D22960
--HG--
extra : moz-landing-system : lando
2019-03-11 13:00:35 +00:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
6856f88972
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-07 10:21:15 +00:00
Kershaw Chang
2870a6daed
Bug 1532231 - Properly check if a DNSRequest is in array r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D21902
--HG--
extra : moz-landing-system : lando
2019-03-06 22:15:41 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
4fabb4a2a8
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Jonathan Kingston
f6680698bd
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
c4853316e7
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston
f7e35ae39e
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Dorel Luca
4a4dcd57fa
Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
...
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston
63ab2bd8aa
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-24 20:27:55 +00:00
Jonathan Kingston
332531fa9c
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:59 +00:00
Jonathan Kingston
2441197975
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:16 +00:00
Ehsan Akhgari
3219a47956
Bug 1527505 - Part 11: Avoid looking up the effective TLD service repeatedly inside the permission manager; r=nika
...
Depends on D20238
Differential Revision: https://phabricator.services.mozilla.com/D20239
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:34 +00:00
ffxbld
3eb37eed08
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D20646
--HG--
extra : moz-landing-system : lando
2019-02-21 14:10:20 +00:00
Kris Maglione
b2f85650a1
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
extra : intermediate-source : 7a1ef487a9e74d66b112034051e49b77023860b8
extra : histedit_source : 88d19dbee4a99faa191e49e2847c4c59aba05b0c%2C5ee702f97153152d31124e0c5f3e8318cbeb3195
2019-01-29 16:03:41 -08:00
arthur.iakab
470dbf03b6
Backed out 5 changesets (bug 1524687) for causing build bustages on platform.h CLOSED TREE
...
Backed out changeset 0f06a6b51bfe (bug 1524687)
Backed out changeset 7a1ef487a9e7 (bug 1524687)
Backed out changeset accad7b4cbc7 (bug 1524687)
Backed out changeset eb33f7e6467c (bug 1524687)
Backed out changeset 86cf09db340b (bug 1524687)
2019-02-21 02:04:02 +02:00
Kris Maglione
95c0cf7aa9
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : ccc1b4f8559152237e523b67ea76e2b406c1cb11
extra : intermediate-source : e8ad5619116c31fc4d38e0e789ddb9b5d2a5bb25
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
2019-01-29 16:03:41 -08:00
Cosmin Sabou
a4b19fcd61
Merge mozilla-inbound to mozilla-central. a=merge
...
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Kris Maglione
51aa53dc4e
Fix botched backout (bug 1524687). r=bustage
...
--HG--
extra : rebase_source : 9dbfd1799f73097f30c8d32535b2ba9a2f6afd59
extra : amend_source : 7e8308ee4cc33864453a3781edd60a82c5ff6437
2019-02-14 17:54:00 -08:00
Kris Maglione
dfc6aeef42
Backout most of bug 1524687 for Windows PGO xpcshell selftest failures. r=backout
2019-02-14 17:17:36 -08:00
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Dragana Damjanovic
4da339d8a3
Bug 1521639 - Fix locking in TRRService. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D17822
--HG--
extra : moz-landing-system : lando
2019-02-01 20:46:00 +00:00
Dragana Damjanovic
d26590be47
Bug 1520642 - Cancel dns requests before cleaning up db. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D18989
--HG--
extra : moz-landing-system : lando
2019-02-08 09:34:34 +00:00
Kris Maglione
7592818b2d
Bug 1524688: Part 46 - Convert DNSServiceDiscovery to static registration. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D18456
--HG--
rename : netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js => netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm
extra : source : a9fb74beaf2b79c1a291dc223154815884fcb721
2019-01-30 11:12:55 -08:00
Kris Maglione
b718cffa0e
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : 176f8fb3716d467e34a04d353b44acec314808cf
extra : source : 625f71135038f79c075f758e316fbb00097c9a18
2019-01-29 16:03:41 -08:00
Csoregi Natalia
ecd94d6986
Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
...
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)
--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
0acda0c01f
Bug 1524688: Part 46 - Convert DNSServiceDiscovery to static registration. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D18456
--HG--
rename : netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js => netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm
extra : rebase_source : 1068b39aa55145edf0e6d0ca664bdf84d1144335
2019-01-30 11:12:55 -08:00
Kris Maglione
47c2c349a9
Bug 1524687: Part 12 - Convert everything else to static registration. r=erahm
...
--HG--
extra : rebase_source : 17756d218c39acadefbc6af9ef7ce31beef1ff36
2019-01-29 16:03:41 -08:00
ffxbld
60847f1c1f
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D18967
--HG--
extra : moz-landing-system : lando
2019-02-07 13:54:00 +00:00
Alex Gaynor
0f01791ffc
Bug 1512990
- Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
...
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).
Differential Revision: https://phabricator.services.mozilla.com/D18132
--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor
75c7d1fa76
Bug 1512990
- Part 2 - implement direct calls in the IPDL compiler; r=froydnj
...
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.
There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.
Differential Revision: https://phabricator.services.mozilla.com/D16492
--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Ehsan Akhgari
23415bc742
Bug 1525208 - Part 8: Avoid the overhead of calling NS_GetInnermostURI() in nsEffectiveTLDService; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18650
2019-02-05 18:49:36 -05:00
Ehsan Akhgari
bef922ae82
Bug 1525208 - Part 4: Devirtualize the call to nsEffectiveTLDService::GetBaseDomain() from ThirdPartyUtil::GetBaseDomain(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18646
2019-02-05 18:49:36 -05:00
Ehsan Akhgari
3fdf1faccf
Bug 1525208 - Part 3: Cache the result of calling PR_StringToNetAddr() since it may be expensive; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18645
2019-02-05 18:49:36 -05:00
ffxbld
b0ca3a2b01
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D18207
--HG--
extra : moz-landing-system : lando
2019-01-31 13:34:21 +00:00
Myk Melez
25349d2601
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
ffxbld
7745a0ae89
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D15511
--HG--
extra : moz-landing-system : lando
2018-12-31 13:34:39 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
490e611801
Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13371
--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Valentin Gosu
66d5164c37
Bug 1502097 - (Part 2) Define IDN blocklist as ranges of characters [ {firstChar, lastChar}* ] r=jfkthame,dragana
...
* Changes the format of the blocklist from a list of characters to a list of
character ranges. Binary search still works, and it is easier to include
large ranges of characters in the blocklist.
* Moves logic for handling the blocklist to IDNBlocklistUtils.h/.cpp
* Changes NS_EscapeURL to take a function that determines if a character
is blocked. This way the type of the array doesn't matter.
Differential Revision: https://phabricator.services.mozilla.com/D12210
--HG--
extra : moz-landing-system : lando
2018-11-24 12:04:34 +00:00
Valentin Gosu
5f1a383a19
Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
...
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.
Differential Revision: https://phabricator.services.mozilla.com/D12209
--HG--
extra : moz-landing-system : lando
2018-11-23 22:40:29 +00:00
Dragana Damjanovic
1687671372
Bug 1508288 - nsHostResolver::mOriginSuffix is not used, we should remove it. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12301
--HG--
extra : moz-landing-system : lando
2018-11-20 21:58:17 +00:00
Dragana Damjanovic
428228861f
Bug 1502641 - Change ref-counting for nsHostRecord, change nsCOMPtr<*HostRecord> into RefPtr<*HostRecord>, remove pure virtual functions from nsHostRecord. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12121
--HG--
extra : moz-landing-system : lando
2018-11-19 15:23:39 +00:00
Kershaw Chang
1d281934cf
Bug 1452535 - Move some logs to level 1 r=mayhemer
...
WPT parses HTTP log and create a HAR file. To reduce the overhead of logging, this patch moves some logs that are used by WPT parser to level 1.
Differential Revision: https://phabricator.services.mozilla.com/D8986
--HG--
extra : moz-landing-system : lando
2018-11-16 16:35:52 +00:00
Dragana Damjanovic
694ce65937
Bug 1507139
- Fix h2 push for esni r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D11881
--HG--
extra : moz-landing-system : lando
2018-11-15 13:10:54 +00:00
ffxbld
a8c4d8395e
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D11629
--HG--
extra : moz-landing-system : lando
2018-11-12 13:57:43 +00:00
ffxbld
3a972019e4
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D11314
--HG--
extra : moz-landing-system : lando
2018-11-08 13:54:03 +00:00
ffxbld
de627b48fd
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10879
--HG--
extra : moz-landing-system : lando
2018-11-05 13:27:19 +00:00
Michael Kohler
a2423373a9
Bug 1501621 - Enable ESLint for netwerk/dns/ and netwerk/protocol/ (manual changes) r=dragana,Standard8
...
Depends on D10590
Differential Revision: https://phabricator.services.mozilla.com/D10592
--HG--
extra : moz-landing-system : lando
2018-11-02 10:38:14 +00:00
Michael Kohler
d7204e528f
Bug 1501621 - Enable ESLint for netwerk/dns/ and netwerk/protocol/ (automatic changes) r=dragana,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10590
--HG--
extra : moz-landing-system : lando
2018-11-02 10:38:01 +00:00
ffxbld
1a798e34d6
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10545
--HG--
extra : moz-landing-system : lando
2018-11-01 12:52:20 +00:00
Daniel Stenberg
f784e9ae6a
bug 1503502 - TRR: use blank originSuffix without mRec r=valentin
...
For resolves that aren't associated with a hostrecord (like the initial
NS verification) there is no mRec pointer so set a blank originSuffix
then.
MozReview-Commit-ID: FuTP9qCm2Iu
Differential Revision: https://phabricator.services.mozilla.com/D10366
--HG--
extra : moz-landing-system : lando
2018-11-01 10:12:48 +00:00
Daniel Stenberg
c20de1888f
bug 1501302 - TRR: pass on correct originSuffix for NS checks r=valentin
...
... when that NS check is used to check the "parent" domain of a
blacklisted host.
Previously, additional TRRblacklist entries due to this would always be
added with the originSuffix "" which was incorrect for all uses of other
suffxes.
MozReview-Commit-ID: EeorQuuRCRX
Differential Revision: https://phabricator.services.mozilla.com/D10192
--HG--
extra : moz-landing-system : lando
2018-10-30 13:06:24 +00:00
ffxbld
36c0312102
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10049
--HG--
extra : moz-landing-system : lando
2018-10-29 12:26:11 +00:00
Valentin Gosu
412446f4bc
Bug 1500861 - Add shutdownWithTimeout method to nsIThreadPool r=froydnj,erahm
...
This method is necessary because some threads might be stuck making blocking
calls. This means the thread is not processing any events, and we're unable
to safely terminate it. Our solution here is to leak the stuck threads
instead of waiting for them and potentially causing a shutdown hang.
Differential Revision: https://phabricator.services.mozilla.com/D9601
--HG--
extra : moz-landing-system : lando
2018-10-26 18:46:00 +00:00
ffxbld
b260043af7
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=bagder,RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D9534
--HG--
extra : moz-landing-system : lando
2018-10-23 20:24:21 +00:00
Daniel Stenberg
71f6f27866
bug 1501283 - for NS checks we don't have originSuffix r=valentin
...
This fixes the regression caused by bug 1500549.
MozReview-Commit-ID: 3VBvIbrEbDT
Differential Revision: https://phabricator.services.mozilla.com/D9526
--HG--
extra : moz-landing-system : lando
2018-10-23 20:22:54 +00:00
Daniel Stenberg
8e873c63fa
bug 1500549 - make TRR Blacklist use originSuffix r=valentin
...
MozReview-Commit-ID: 5nOZefVlqRE
Differential Revision: https://phabricator.services.mozilla.com/D9391
--HG--
extra : moz-landing-system : lando
2018-10-22 15:38:18 +00:00
Margareta Eliza Balazs
9cac5ce7af
Backed out changeset a4b43a47589a (bug 1498782) for causing multimple failures e.g.: ts_paint_webext CLOSED TREE
2018-10-17 12:19:00 +03:00
Daniel Stenberg
f7c6799245
bug 1497438 - collect telemetry for TRR request success/time-out rate r=dragana
...
Introducing DNS_TRR_SUCCESS
MozReview-Commit-ID: Buz5nHEr8TK
Differential Revision: https://phabricator.services.mozilla.com/D8509
--HG--
extra : moz-landing-system : lando
2018-10-17 07:59:43 +00:00
Valentin Gosu
411bafd8bb
Bug 1498782 - Skip thread shutdown in nsHostResolver if there are still active threads after a delay r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D8725
--HG--
extra : moz-landing-system : lando
2018-10-17 06:24:39 +00:00
Daniel Stenberg
d046fc457c
bug 1497252
- Add DNS_TRR_FIRST2, with an added category r=dragana
...
How often is a successful (native) resolve delayed by a preceeding TRR
failure. (Replaces DNS_TRR_FIRST)
MozReview-Commit-ID: Da8oH53CZTs
Differential Revision: https://phabricator.services.mozilla.com/D8060
--HG--
extra : moz-landing-system : lando
2018-10-17 06:34:08 +00:00
Daniel Stenberg
1ce4e8a560
bug 1493619 - pad DNS entry grace period for low TTL cases r=dragana
...
MozReview-Commit-ID: 8AsmyaSYVJr
Differential Revision: https://phabricator.services.mozilla.com/D6793
--HG--
extra : moz-landing-system : lando
2018-10-11 07:18:50 +00:00
Michal Novotny
cc92ea3e92
Bug 1493278 - ChildDNSService::GetDNSRecordHashKey is doing unnecessary work. r=valentin
...
This fixes bug introduced by patch from bug 1337893. Serialized origin attributes suffix should be appended instead of rewriting the string.
--HG--
extra : rebase_source : a8ab785102e6e080f3038c1bd94f2b8b82404a55
2018-10-04 03:16:00 +03:00
Daniel Stenberg
53b0bdce59
bug 1495523 - disable TRR after max-fails number of failed requests r=valentin
...
MozReview-Commit-ID: 2dSEY6DuP2A
Differential Revision: https://phabricator.services.mozilla.com/D7587
--HG--
extra : moz-landing-system : lando
2018-10-03 11:53:46 +00:00
Dragana Damjanovic
0b0b0258ef
Bug 1481251 - Optimize non-A/AAAA type DNS records. r=bagder
...
Split nsHostRecord into AddrHostRecord and TypeHostRecord for standard address dns queries and queries by-type.
Differential Revision: https://phabricator.services.mozilla.com/D6130
--HG--
extra : moz-landing-system : lando
2018-09-27 09:28:36 +00:00
Brindusan Cristian
de21f30c98
Backed out changeset 72d92155fb64 (bug 1481251) for bc assertion failures in /obj-firefox/dist/include/mozilla/TimeStamp.h. CLOSED TREE
2018-09-27 05:58:31 +03:00
Dragana Damjanovic
2d89f4170e
Bug 1481251 - Optimize non-A/AAAA type DNS records. r=bagder
...
Split nsHostRecord into AddrHostRecord and TypeHostRecord for standard address dns queries and queries by-type.
Differential Revision: https://phabricator.services.mozilla.com/D6130
--HG--
extra : moz-landing-system : lando
2018-09-26 20:10:30 +00:00
Nathan Froyd
41b41c17c4
Bug 1493281 - improve hashtable usage in ChildDNSService; r=dragana
...
We have several APIs that enable us to avoid redundant hash table
lookups; we should be using them here.
2018-09-24 14:41:05 -04:00
Dragana Damjanovic
9cadc84486
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Gurzau Raul
07d30b811f
Backed out changeset dc225279994a (bug 1473736) for web platform leaks
2018-09-21 04:30:10 +03:00
Dragana Damjanovic
70e0646d75
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Noemi Erli
efdd6a208a
Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js
2018-09-18 22:07:58 +03:00
Dragana Damjanovic
f000a5b4b0
Bug 1473736 - Implement necko part of ESNI r=mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Eric Rahm
338bc1ef5f
Bug 1491151 - Part 2: Use MruCache for eTLD table. r=smaug
...
--HG--
extra : rebase_source : 5c588e2b2615549e5a5cc2fb6aa7dc9922d05c99
2018-09-10 14:46:29 -07:00
Ehsan Akhgari
fa81a39327
Bug 1491558 - Remove the XPCOM registration for nsThreadPool; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D5943
2018-09-15 12:13:57 -04:00
Daniel Stenberg
a338748962
bug 1486724 - TRR: accept basic URI template r=valentin
...
MozReview-Commit-ID: 5RNyvrZLUdK
Differential Revision: https://phabricator.services.mozilla.com/D4432
--HG--
extra : moz-landing-system : lando
2018-09-03 14:21:08 +00:00
Daniel Stenberg
43ca59a4d1
bug 1486137 - TRR: fix the FAMILY field in the ECS code r=valentin
...
... since AF_INET wouldn't actually use IPv4!
MozReview-Commit-ID: FCf7psawENI
Differential Revision: https://phabricator.services.mozilla.com/D4749
--HG--
extra : moz-landing-system : lando
2018-09-03 15:02:03 +00:00
Valentin Gosu
0267a22bb2
Bug 1486228 - Grab mutex when accessing nsDNSService::mLocalDomains r=mayhemer!
...
Differential Revision: https://phabricator.services.mozilla.com/D4452
--HG--
extra : moz-landing-system : lando
2018-08-28 22:37:12 +00:00
Gurzau Raul
123404288d
Backed out changeset 0192efea1b66 (bug 1486137) for failing at netwerk/test/unit/test_trr.js on a CLOSED TREE
2018-08-28 16:29:25 +03:00
Daniel Stenberg
ec82b55b39
bug 1486137 - TRR: fix the FAMILY field in the ECS code r=mcmanus
...
... since AF_INET wouldn't actually use IPv4!
MozReview-Commit-ID: FCf7psawENI
Differential Revision: https://phabricator.services.mozilla.com/D4328
--HG--
extra : moz-landing-system : lando
2018-08-27 16:03:30 +00:00
Daniel Stenberg
ef67442423
bug 1485515 - range check the network.trr.mode pref on read r=valentin
...
MozReview-Commit-ID: 8OdeXYQEzQJ
Differential Revision: https://phabricator.services.mozilla.com/D4332
--HG--
extra : moz-landing-system : lando
2018-08-27 13:13:12 +00:00
Daniel Stenberg
7786d290c0
bug 1485956 - make DNS cache lookups respect DISABLE_TRR r=valentin
...
So that explicitly disabling TRR for specific resolves won't end up just
using the cached entry resolved with TRR!
MozReview-Commit-ID: HZ4AyKOMpet
Differential Revision: https://phabricator.services.mozilla.com/D4215
--HG--
extra : moz-landing-system : lando
2018-08-24 14:09:22 +00:00
Kris Maglione
3a5c05e76f
Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3733
--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Daniel Stenberg
315e5ddcc0
bug 1466462 - TRR: disable EDNS Client Subnet by default r=mcmanus
...
Set the "network.trr.disable-ECS" pref to false to disable.
MozReview-Commit-ID: GE6L8Vpvuu0
Differential Revision: https://phabricator.services.mozilla.com/D2933
--HG--
extra : moz-landing-system : lando
2018-08-13 15:45:15 +00:00
Noemi Erli
be6ab34c54
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
Daniel Stenberg
fcdada427b
bug 1466860 - upgrade DOH code to draft-12 level r=mcmanus
...
MozReview-Commit-ID: FSVh7qUbBig
Differential Revision: https://phabricator.services.mozilla.com/D2828
--HG--
extra : moz-landing-system : lando
2018-08-08 15:01:05 +00:00
Valentin Gosu
45e6d5718f
Bug 1478732 - Backed out changeset 9de74f5039a4 r=backout
2018-08-09 18:56:02 +02:00
Valentin Gosu
1030589ee4
Bug 1478732 - Change nsHostResolver to dispatch one resolver task per native lookup r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D2431
--HG--
extra : moz-landing-system : lando
2018-08-07 07:03:57 +00:00
Nika Layzell
7a9f60fafb
Bug 1479484 - Part 1: Add make_dafsa.py to the virtualenv's python path, r=froydnj
...
Summary:
The plan is to also expose perfecthash.py from this module on the python path.
This also allows us to stop using explicit module loading to load make_dafsa.py.
make_dafsa.py was moved into tools/ to avoid any extra python files from
accidentally ending up on the python path.
Reviewers: froydnj!
Tags: #secure-revision
Bug #: 1479484
Differential Revision: https://phabricator.services.mozilla.com/D2614
--HG--
rename : xpcom/ds/make_dafsa.py => xpcom/ds/tools/make_dafsa.py
2018-08-01 17:54:41 -04:00
Kris Maglione
ab9a7b5649
Bug 1473631: Part 6 - Replace pref observers with callbacks in IDNService. r=njn
...
MozReview-Commit-ID: FlFC2HxYo4v
--HG--
extra : rebase_source : 1a6f00a7e9bff61e02ef7be8a6681f5574da442a
2018-07-05 14:01:51 -07:00
Kris Maglione
0bfdb4329f
Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn
...
I initially tried to avoid this, but decided it was necessary given the number
of times I had to repeat the same pattern of casting a variable to void*, and
then casting it back in a part of code far distant from the original type.
This changes our preference callback registration functions to match the type
of the callback's closure argument to the actual type of the closure pointer
passed, and then casting it to the type of our generic callback function. This
ensures that the callback function always gets an argument of the type it's
actually expecting without adding any additional runtime memory or
QueryInterface overhead for tracking it.
MozReview-Commit-ID: 9tLKBe10ddP
--HG--
extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
2018-07-06 12:24:41 -07:00
Daniel Stenberg
af7b8b701a
bug 1472662 - only send DNS_TRR_NS_VERIFIED telemetry once r=mcmanus
...
... by making sure we only retry TRR when we go from CP bad=>good.
MozReview-Commit-ID: FcDwzSHm6Ia
--HG--
extra : rebase_source : dce21e18e6a4d854bd2023c61974658b100c1484
2018-07-11 09:43:38 +02:00
Andreea Pavel
1193ef6a61
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-05 19:26:15 +03:00
Daniel Stenberg
cf42e18246
bug 1470813 - Telemetry::DNS_TRR_RACE2 adds two new categories r=francois
...
... compared to DNS_TRR_RACE, to also count when either of the resolves
were more than 100 milliseconds faster.
MozReview-Commit-ID: FNZa7ZVuJPv
2018-07-04 23:26:00 +03:00
Daniel Stenberg
dd6df388fc
bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
...
To help evaluate TRRfirst sucess/error rates.
MozReview-Commit-ID: Ljrbed6UDG2
--HG--
extra : rebase_source : ac604fda9610997cde5aa2993ca15319e6213e89
2018-07-02 13:50:21 +02:00
Daniel Stenberg
62e576e79d
bug 1472656 - only do DNS_TRR_COMPARE in shadow or parallel mode r=mcmanus
...
MozReview-Commit-ID: 5eQb3pCNIwK
--HG--
extra : rebase_source : 95b197684c74d48ef37cade44d548536e4371409
2018-07-02 13:04:11 +02:00
Valentin Gosu
6a2bda63e8
Bug 1471280 - Add new pref for how much longer resolver threads should remain idle r=bagder
...
The new pref is "network.dns.resolver-thread-extra-idle-time-seconds"
The default is 60 seconds. This means that threads will stay idle for an extra 60 seconds, after which they are shutdown.
Setting the pref to 0 would preserve the behaviour before the threads were swiched to use nsThreadPool - meaning that they would be shutdown immediately after ThreadFunc completes.
Setting the pref to -1 would keep the threads alive forever.
MozReview-Commit-ID: CoUB5gan4MR
--HG--
extra : rebase_source : 7b444789eebaf43c939ce9d7153218c4cd594b65
2018-07-04 21:25:28 +02:00
Valentin Gosu
2c7b0b5f89
Bug 1471280 - Use nsThreadPool for DNS resolver threads r=bagder
...
Instead of creating and deleteing each thread, we use a nsThreadPool with a max of 8 resolver threads.
Whereas before each thread would run ThreadFunc exactly once then shut down, the threads may now remain active for a while. During this time we may post another task(runnable) to the thread.
MozReview-Commit-ID: FiE370ic1ah
--HG--
extra : rebase_source : 065bbf1f9867dfb38ac7b13816d4d06824d3a05d
2018-07-04 20:36:58 +02:00
Daniel Stenberg
1fabe10330
bug 1470215 let Telemetry::DNS_NATIVE_QUEUING measure queue times r=mcmanus
...
MozReview-Commit-ID: 77FE4SJOXMG
--HG--
extra : rebase_source : 545961452d5d32b2ce65376e8ed680d6413eaa30
2018-06-25 08:03:44 +02:00
Valentin Gosu
eb373305f2
Bug 1472788 - Use smart pointers in nsHostResolver::Create r=bagder
...
Small patch to test out phabricator
Differential Revision: https://phabricator.services.mozilla.com/D1916
--HG--
extra : moz-landing-system : lando
2018-07-02 21:46:16 +00:00
Nathan Froyd
dcb8cac432
Bug 1471627 - use a more reasonable stack size for DNS resolver threads; r=valentin
...
We're maintaining a thread pool, we should be using thread pool stack sizes.
2018-06-27 15:29:12 -04:00
Valentin Gosu
b029385db8
Bug 1470907 - Call AsyncShutdown for threads at the end of nsHostResolver::ThreadFunc r=froydnj
...
MozReview-Commit-ID: 2M8Qn8KDfdx
--HG--
extra : rebase_source : 5f6f37a630093badae7889ffdd4f10ba4e3d49b7
2018-06-26 02:54:48 +02:00
Daniel Stenberg
4a2731b037
bug 1471217 - ignore the network.dns.get-ttl pref on non-supported systems r=mcmanus
...
Which is how the pref is documented in all.js
MozReview-Commit-ID: 5ONQgZ1wO5G
--HG--
extra : rebase_source : cdbf5683b12a3bdb889f56c9b4b5037218bedc43
2018-06-26 15:36:26 +02:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Daniel Stenberg
e596152e6c
bug 1470093 - fix telemetry::DNS_TRR_LOOKUP_TIME r=mcmanus
...
MozReview-Commit-ID: 80jrEQ4kLM6
--HG--
extra : rebase_source : 702efbd6dff9615ff827f8c7f05dd8cce2cbd419
2018-06-21 12:02:03 +02:00
Daniel Stenberg
7e7f7eeb34
bug 1463356 do not count "not started" TRR resolves as failures r=mcmanus
...
... when comparing against the native resolver. DNS_TRR_COMPARE is meant
to compare how the actually performed name resolves fare against each
other.
MozReview-Commit-ID: 98NoUGPpHr6
--HG--
extra : rebase_source : 4042c81da3e5478de26feb7f83c98ee5eb298156
2018-06-20 11:00:19 +02:00
Valentin Gosu
0959b41dd0
Bug 1426019 - Use nsIThread in nsHostResolver r=bagder
...
MozReview-Commit-ID: LOt7VX9mj7r
--HG--
extra : rebase_source : f66c7282be6c01419d98a216a731fa4bd0a72839
2018-06-18 18:35:16 +02:00
Dorel Luca
b53fbe3617
Merge mozilla-central to autoland
2018-06-15 05:43:31 +03:00
Valentin Gosu
d9800226a5
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: 7Zk0wM2wsJF
--HG--
extra : rebase_source : 6bfe7a9c21d447252db1b0a5351305bdecb0fa3a
2018-06-15 01:15:13 +02:00
Andi-Bogdan Postelnicu
90ac230485
Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
2018-06-14 11:19:07 +03:00
Andrea Marchesini
df966c5c8c
Bug 1468503 - Implement nsIEffectiveTLDService.hasRootDomain, r=smaug
2018-06-13 12:29:39 -07:00
Jeff Hemphill
0d0efc9d92
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : rebase_source : 55ae6349a65f20a2401aa76711b1e9c871b0c167
2017-11-29 23:30:27 -08:00
Dorel Luca
ff4d587dc8
Backed out 2 changesets (bug 1417827) for windows build bustage. CLOSED TREE
...
Backed out changeset 35655153f9c9 (bug 1417827)
Backed out changeset 9606d0d95b53 (bug 1417827)
--HG--
extra : amend_source : ce9a86c7b5ded39d1b00a7c626ba7a082efaabde
2018-06-14 22:07:18 +03:00
Valentin Gosu
e5efdc876d
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: GqNYfjy9SFp
--HG--
extra : source : 190c4f057ffafa28a9abec657a0c70fe8a9489ab
2018-06-14 14:30:40 +02:00
Jeff Hemphill
deb1d4dff1
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : source : fc388a747aba88d3eb535e6105305bd85914600b
2017-11-29 23:30:27 -08:00
Gurzau Raul
f2d3a45d49
Backed out 2 changesets (bug 1417827) backed out due to gecko decision task failure, tests did not run
...
Backed out changeset 190c4f057ffa (bug 1417827)
Backed out changeset fc388a747aba (bug 1417827)
2018-06-14 19:07:48 +03:00
Valentin Gosu
3620424d66
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: GqNYfjy9SFp
--HG--
extra : rebase_source : 6bd7c4fcb1f6a5bbbaa9654907ce1b1224be64b2
2018-06-14 14:30:40 +02:00
Jeff Hemphill
85150abc1d
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : rebase_source : 835ab465653aef0d9d513b8836ba54a27b98e556
2017-11-29 23:30:27 -08:00
Daniel Stenberg
a69516185c
bug 1466777 - make TRR failures pass on "unknown host" status r=valentin
...
MozReview-Commit-ID: HamTaGeZSzw
--HG--
extra : rebase_source : 1f6a46ad77fd071801b68d7ced03b2604fb147a0
2018-06-05 11:20:05 +02:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Daniel Stenberg
5fb821ffc0
bug 1463452
- lock the resolver in GetDNSCacheEntries r=valentin
...
MozReview-Commit-ID: AGQW8KcRlwb
--HG--
extra : rebase_source : 820569097cbe84f67fafe2ecfdcf10dbbeb5332c
2018-05-22 17:29:34 +02:00
Patrick McManus
f18aa94399
Bug 1462357 - remove the channel and socket interface id r=bagder,baku
...
the id was a b2g feature only settable via chrome privd xhr and is no
longer active in the code base
MozReview-Commit-ID: 84GPNvhvjNb
--HG--
extra : rebase_source : ab5c2229b98e1407b8b74ef2ee00dcfea45e046a
2018-05-16 16:05:03 -04:00
Daniel Stenberg
06c7a72bf8
bug 1460327 - make the DNS packet decoder verify the answer qname r=mcmanus
...
... and before chasing a cname, check if the address record for that
CNAME is actually in fact already provided in the DNS packet that passed
on the CNAME!
Some existing tests ajusted for this. Two new tests added.
MozReview-Commit-ID: CBMO7N7jMEX
--HG--
extra : rebase_source : 1110a8df6d89fcbb0ad2a35b3762b837ce7a1e18
2018-05-08 19:30:07 +02:00
Patrick McManus
b6c1ea5823
Bug 1461182 reduce nsHostRecord overhead by about 40 bytes r=bagder
...
MozReview-Commit-ID: DvmJE5LcDwQ
--HG--
extra : rebase_source : dd06d83231a4c7fb187f68b34573b115bb82322e
2018-05-12 14:36:26 -07:00
Daniel Stenberg
7edaccb568
Bug 1460589 - Add DNS vs TRR success/fail telemetry counter. r=mcmanus
2018-05-10 07:02:00 -04:00
Daniel Stenberg
b91a1dbbc5
Bug 1460305 - Add DNS_PREMATURE_EVICTION telemetry probe. r=mcmanus
...
Counts age of non-expired DNS cache entries being evicted.
2018-05-10 06:20:00 -04:00
Daniel Stenberg
ced57782d6
Bug 1460330 - Always use use TTL with TRR. r=mcmanus
2018-05-10 06:32:00 -04:00
Daniel Stenberg
4f75cae7c6
Bug 1452436 - Callback when resolving a host already in progress. r=mcmanus
...
If a callback has already been called for the hostrecord, it is
partially resolved already by TRR so the new callback should be called
at once.
2018-05-10 05:36:00 -04:00
Jason Duell
edbb85e76e
Bug 1459882 - Manually update the public suffix list. r=valentin
...
--HG--
extra : rebase_source : 4a869a15dd0e2ebfa4b6711e2010ded401ecc9e6
2018-05-08 04:36:00 -04:00
Daniel Stenberg
cc57e08b25
bug 1450630 - use DataStorage in main thread only r=mcmanus
...
Move the TRR blacklist check to the main thread, and since it is now
done a little later and for each separate request, make sure to only do
the telemetry counting for one of the record types (A) so that we don't
count them twice.
MozReview-Commit-ID: BgvU4TzrpCq
--HG--
extra : rebase_source : 304bc75a6f22963b51e89034de1b30506337b6ec
2018-04-30 09:08:07 +02:00
Andi-Bogdan Postelnicu
3f2298c2f6
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Daniel Stenberg
c128322997
bug 1457005 - TRR: reset confirmation state machine on prefs update r=mcmanus
...
If the confirmation state machine has gone into FAILED mode, updated
prefs is reason enough to try again and possibly get TRR verified
proper.
MozReview-Commit-ID: ALRbNJdvxdn
--HG--
extra : rebase_source : 8ad0a7d74d570228db17d91c1f5127b0524117a8
2018-04-26 00:07:31 +02:00
Daniel Stenberg
af8824af35
bug 1455972
- make TRR prefer address responses to CNAME r=mcmanus
...
In a DOH response to a query asking for an A or AAAA record, a CNAME
response is often accompanied by A/AAAA resources as well. With this
change, TRR now rather use those address records than following the
CNAME record. This saves name resolver round-trips.
MozReview-Commit-ID: GcjZj5Ehz68
--HG--
extra : rebase_source : b80d9818cb8fa6139feeeec3d2fb11a5b800ee48
2018-04-23 11:26:04 +02:00
Daniel Stenberg
8d35551b70
bug 1454941 - revert CP wait fix from bug 1451150 r=valentin
...
... but keep the logic that avoids re-initialization.
MozReview-Commit-ID: 2XQCRaM6U4B
--HG--
extra : rebase_source : e7291b3c7b26d39dcfde445212dd4f10b63ec98d
2018-04-18 15:21:14 +02:00
Daniel Stenberg
c0dc0efdd6
bug 1454307 - revert TRR telemetry histogram label addition r=mcmanus
...
It isn't supported server side, so make the TRRoff mode instead count
as nativeonly.
MozReview-Commit-ID: 73si3kam6xU
--HG--
extra : rebase_source : 2869fc515ffb23303bdf2fc5e231d0edc62193e7
2018-04-16 09:49:34 +02:00
Daniel Stenberg
01a7750519
bug 1453825 - add telemetry for TRR NS confirmation checks r=mcmanus
...
MozReview-Commit-ID: 3FAdEhlH5VI
--HG--
extra : rebase_source : fb1762a5b1863da0cbe568c087543384b2aba14a
2018-04-13 00:47:45 +02:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Daniel Stenberg
9ad6beb28d
bug 1453822
- TRR: add a mode for "explicitly turned off" r=mcmanus
...
... as opposed to off by default.
MozReview-Commit-ID: EClrW33xGkb
--HG--
extra : rebase_source : aa8de07950f0da41eb8136894b119308b0450319
2018-04-13 00:32:04 +02:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Nathan Froyd
7bb7ffd8c9
Bug 1453134 - part 1 - add a string input stream constructor that accepts move references; r=baku
...
This method is more efficient when we know we're not going to need the
string afterwards, and should cut down on intermediate allocations.
2018-04-11 10:06:17 -04:00
Nika Layzell
0c3ba13e4c
Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
2018-04-10 17:49:47 -04:00
Daniel Stenberg
d8d095de79
bug 1451883 - fix pointer handling in the DOH response decoding r=mcmanus
...
In the section of the response body parser that just skips over the
answer section, the code wrongly assumed there could only be a pointer
at the start, while in fact every label can be made as a pointer. Just
turned out to not be used very often.
MozReview-Commit-ID: 8ZYtlq8HDPw
--HG--
extra : rebase_source : cc790caf36b4d4e77b113f89ed427ee537a539d8
2018-04-05 23:28:26 +02:00
Daniel Stenberg
c9bc3d9398
bug 1452568 - inhibit cache use when doing TRR in PB r=valentin
...
MozReview-Commit-ID: MmdSMBdH4v
--HG--
extra : rebase_source : 7e4c2ed2b38d2255d24e5e67ace22a3fe1ec9a3c
2018-04-09 12:14:28 +02:00
Daniel Stenberg
11c34a5b83
bug 1451928 - loop detection added for the TRR CNAME parser r=valentin
...
MozReview-Commit-ID: 8vLjS7hOYKU
--HG--
extra : rebase_source : 69b82c3df7db7d19f0667e9de0c6c67b7c7794fe
2018-04-06 00:47:15 +02:00
Daniel Stenberg
7ca074617e
bug 1451750 - treat rrsets from different resolvers as different r=mcmanus
...
... even if all the addresses are identical.
Otherwise the IsTRR() bit would be dropped, resulting in
about:networking showing false for this entry while in reality being
TRR. Or vice versa.
MozReview-Commit-ID: JABLm09iCnn
--HG--
extra : rebase_source : 24f9ff8b6818c00359069add23d1354ab2f1b1f9
2018-04-05 16:30:10 +02:00
Daniel Stenberg
695dbf5db9
bug 1451150 - make TRRService wait for the correct CP event r=valentin
...
MozReview-Commit-ID: LwBjw7EKBhR
--HG--
extra : rebase_source : 404f132e48b1c57a3b93cc1efcd64a16a425f32b
2018-04-04 00:16:55 +02:00
Daniel Stenberg
e443c66c37
bug 1447642 - no more DNSService restarts r=valentin
...
The DNS service was shutdown and restarted again in several scenarios,
for example when one of its prefs changed and by nsIOService when going
offline/online. The DNSService restart dragged the resolver, TRRService
and others with it and they too were thus restarted.
Most notably this hurt TRR resolving, as the restart caused short gaps
in time when there was no TRRService available and nsHostResolver
defaults to TRR Mode "native" if there's no TRRservice up, causing the
name resolver to occasionally use the wrong or unexpected resolver even
though TRR is enabled.
The resolver restart also flushed the DNS cache which is now avoided.
It is also a performance gain.
MozReview-Commit-ID: pp4Y8bNQJk
--HG--
extra : rebase_source : 9e3b3e6c0df16b8ca6287d8045f594026ae9ad6d
2018-03-21 14:35:53 +01:00
Daniel Stenberg
144d65c4d6
bug 1446749 - make resolver keep TRR status when cherry-picking adddresses r=mcmanus
...
... as they otherwise appear in the about:networking list as "false"
while having been resolved by TRR.
MozReview-Commit-ID: 9g9fUExvyjS
--HG--
extra : rebase_source : 3098b7c3f7d01e55f5a8c031fc6a73e53f7edb05
2018-03-18 15:39:56 +01:00
Daniel Stenberg
75ba9a2870
bug 1446352 TRR: make "only mode" not wait for CP confirmation r=mcmanus
...
... to avoid a catch-22 as CP needs name resolve to work.
MozReview-Commit-ID: DC1CjlUy4cJ
--HG--
extra : rebase_source : 3bc0f146071f04757d44b76f352e48b2abb4dad0
2018-03-17 19:56:12 +01:00
Daniel Stenberg
cc208144a3
bug 1445183 store TRR duration when the response is used r=valentin
...
Previously it would store the time even for early AAAA responses that
weren't used until the A response came in, thus getting the timing
wrong.
MozReview-Commit-ID: KctUjMjH5FR
--HG--
extra : rebase_source : fafd7ad25cd1b7a43d4b4a5653600cad830b471d
2018-03-13 10:37:50 +01:00
Daniel Stenberg
c999b36f90
bug 1441131 - TRR: proxy storage removal to the mainthread r=valentin
...
MozReview-Commit-ID: K4Ar0RbSRzS
--HG--
extra : rebase_source : 6cefcc668f6004a59c09b065f2152250dbc83879
2018-03-12 15:57:13 +01:00
Daniel Stenberg
de5b0bf154
bug 1444887 TRR: get captive portal state in init r=valentin
...
To prevent it from sitting waiting for an event that was sent before the
TRRService started.
MozReview-Commit-ID: 9F0IlWGdA9O
--HG--
extra : rebase_source : 6a70210a4e538d8a1b240684a0b3ed5fed38e6ad
2018-03-12 14:48:49 +01:00
Daniel Stenberg
51e2dbf071
bug 1444858 - TRR: respect network.dns.disableIPv6 r=valentin
...
MozReview-Commit-ID: 18STac9ASIB
--HG--
extra : rebase_source : e3e8956feee2ec9e4dfe438e1b6c20dc0c478ab9
2018-03-12 13:19:22 +01:00
Daniel Stenberg
f0caae2f7c
bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin
...
MozReview-Commit-ID: FHw3Zx07iFG
--HG--
extra : rebase_source : 55a09920127aa54e542ed736b92ca6fda63f889c
2018-03-09 09:05:48 +01:00
Dorel Luca
150521bb4b
Backed out changeset 798a47cd74d5 (bug 1441391) for build bustages. CLOSED TREE
2018-03-09 14:49:02 +02:00
Daniel Stenberg
fd2336dfd3
bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin
...
MozReview-Commit-ID: FHw3Zx07iFG
--HG--
extra : rebase_source : baa674f1a488c6ee5383a4f72c66bb595285db60
2018-03-09 09:05:48 +01:00
Daniel Stenberg
20d398643b
bug 1441256 - bypass cache when retrying connection without TRR r=mcmanus,valentin
...
Otherwise it will just load back the same (problematic) addresses from the
cache again the second time. This introduces a new resolver bit
(REFRESH_CACHE) that also invalidates the existing cache entry while doing the
new resolve.
MozReview-Commit-ID: 5Bc2KiAGYYA
--HG--
extra : rebase_source : ae368c88a5db27f0980b9928439d27588bc84815
2018-03-06 14:50:21 +01:00
Nathan Froyd
19a0b532bc
Bug 1443613 - don't allocate temporary strings for DNSRequestChild; r=mayhemer
...
DNSRequestChild's constructor takes `const nsCString&` parameters. If
you have a `const nsACString&` argument to pass in to the constructor,
you're forced to construct a temporary nsCString object to satisfy the
prototype. But the temporary string will just get copied inside the
constructor and you'll have to destroy the temporary string object you
created.
Let's skip all this, and just have DNSRequestChild take `const
nsACString&` arguments instead, and avoid the temporary object.
2018-03-07 12:22:03 -05:00
Daniel Stenberg
80c6547919
bug 1443489 - TRR: require a pref set to allow early AAAA responses r=valentin
...
Early AAAA responses might cause issues on hosts without working native
IPv6 connectivity, of course especially notable in TRR-only mode.
MozReview-Commit-ID: 6ZqE6AKnucH
--HG--
extra : rebase_source : ff42cb8daf941a3fa1f7e783c76d823e879024c3
2018-03-06 16:07:29 +01:00
Daniel Stenberg
76003c2ab0
bug 1440563 - set the RD bit in DOH requests r=valentin
...
RFC 1035 section 4.1.1 documents this bit as:
RD - Recursion Desired - this bit may be set in a query and is copied
into the response. If RD is set, it directs the name server to pursue
the query recursively. Recursive query support is optional.
MozReview-Commit-ID: 8iHDgNtA1L1
--HG--
extra : rebase_source : a29010a2894fd00ebfbfb869f5938cf507345a2f
2018-03-05 08:47:52 +01:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Ciure Andrei
852a0c8890
Merge inbound to mozilla-central. a=merge
2018-02-22 23:55:25 +02:00
Daniel Stenberg
14fc881f71
bug 1438947 - mutex nsHostRecord::mTrrA[AAA] accesses r=valentin
...
... and remove Cancel() from nsHostRecord::RemoveOrRefresh since we
don't need to cancel TRR resolves due to network changes.
MozReview-Commit-ID: Akuhpzgg4N5
2018-02-22 04:22:00 +02:00