Valentin Gosu
243786d713
Bug 1640867 - Add new HTTP_CHANNEL_ONSTART_SUCCESS_TRR probe r=dragana,tdsmith,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77127
2020-05-30 08:39:17 +00:00
Ricky Stewart
0bbaac721b
Bug 1641693 - Replace a bunch of uses of `GENERATED_FILES` with the `GeneratedFile` template r=necko-reviewers,geckoview-reviewers,aklotz,dragana,froydnj
...
Also update documentation to suggest using the `GeneratedFile` template rather than directly referencing `GENERATED_FILES` where possible.
Differential Revision: https://phabricator.services.mozilla.com/D77496
2020-06-01 16:00:28 +00:00
ffxbld
12faf95015
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D77670
2020-06-01 14:16:14 +00:00
Valentin Gosu
23ea06d309
Bug 1640867 - Record TRR steering telemetry separately r=dragana,tdsmith,necko-reviewers
...
This change makes a set of probes keyed. The key is "(default)" if no steering
is currently active, or "(auto-detected)" is the current URL has been set
by steering (autodetection).
Differential Revision: https://phabricator.services.mozilla.com/D77022
2020-05-30 08:39:02 +00:00
Dorel Luca
ca47e808e1
Backed out 2 changesets (bug 1640867) for Network failures on multipe platforms. CLOSED TREE
...
Backed out changeset 75a1f56ff1ee (bug 1640867)
Backed out changeset a4c770a70516 (bug 1640867)
2020-05-30 02:02:33 +03:00
Valentin Gosu
5a7c7bf9ec
Bug 1640867 - Add new HTTP_CHANNEL_ONSTART_SUCCESS_TRR probe r=dragana,tdsmith,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77127
2020-05-29 21:23:50 +00:00
Valentin Gosu
5570291ec4
Bug 1640867 - Record TRR steering telemetry separately r=dragana,tdsmith,necko-reviewers
...
This change makes a set of probes keyed. The key is "(default)" if no steering
is currently active, or "(auto-detected)" is the current URL has been set
by steering (autodetection).
Differential Revision: https://phabricator.services.mozilla.com/D77022
2020-05-29 21:23:41 +00:00
ffxbld
3d17f898c9
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D77261
2020-05-28 14:33:09 +00:00
Valentin Gosu
d51967f492
Bug 1640872
- Add more TRR logging r=necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D76826
2020-05-28 06:58:04 +00:00
Emilio Cobos Álvarez
54fd961a29
Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
...
There's no use case for stateful comparators, so they can be just plain
function pointers.
This is used in some hot places like CSS selector matching.
Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
ffxbld
b3c5906f23
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D76710
2020-05-26 14:53:18 +00:00
Kershaw Chang
b8de602ab2
Bug 1602832 - P5: Make sure ChildDNSService is created on main thread r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D72611
2020-05-26 14:30:47 +00:00
Butkovits Atila
f167b5c275
Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
...
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Kershaw Chang
3412834247
Bug 1602832 - P5: Make sure ChildDNSService is created on main thread r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D72611
2020-05-26 08:35:47 +00:00
Valentin Gosu
e73971d1e6
Bug 1635566 - TRR: Perform a case-insensitive match for the host name r=necko-reviewers,dragana
...
This is according to RFC 4343 : Domain Name System (DNS) Case Insensitivity Clarification
Differential Revision: https://phabricator.services.mozilla.com/D75081
2020-05-25 13:06:36 +00:00
Valentin Gosu
88b4cf197a
Bug 1635566 - TRR: lowercase cname after reading it from the packet r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75079
2020-05-25 13:06:23 +00:00
Andrea Marchesini
81a382b344
Bug 1639247 - Isolate DNS cache per first-party when privacy.partition.network_state is set to true - part 4 - DNS originAttributes suffix in about:networking, r=valentin,fluent-reviewers,necko-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D75986
2020-05-20 16:46:26 +00:00
Razvan Maries
02e0a1d9a4
Backed out 3 changesets (bug 1639247) for build bustages on on StoragePrincipalHelper.cpp. CLOSED TREE
...
Backed out changeset 48a854ee6710 (bug 1639247)
Backed out changeset 032d302608e4 (bug 1639247)
Backed out changeset 2d2ff22a0ea4 (bug 1639247)
2020-05-20 19:34:22 +03:00
Andrea Marchesini
50ea627cef
Bug 1639247 - Isolate DNS cache per first-party when privacy.partition.network_state is set to true - part 3 - DNS originAttributes suffix in about:networking, r=valentin,fluent-reviewers,necko-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D75986
2020-05-20 15:52:54 +00:00
Coroiu Cristina
44c378a7fb
Backed out 5 changesets (bug 1602832) for browser-chrome failures at toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js on a CLOSED TREE
...
Backed out changeset 059a7f44d1a9 (bug 1602832)
Backed out changeset 2f3cc391b48a (bug 1602832)
Backed out changeset 24d1ce1b0ac9 (bug 1602832)
Backed out changeset 5ea85726cc48 (bug 1602832)
Backed out changeset ee00e846104e (bug 1602832)
2020-05-19 23:05:26 +03:00
Kershaw Chang
f94384d121
Bug 1602832 - P5: Make sure ChildDNSService is created on main thread r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D72611
2020-05-19 12:56:56 +00:00
Kershaw Chang
9f9eb50d04
Bug 1616014 - Get rid off nsMainThreadPtrHandle in DNSListenerProxy r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D75485
2020-05-19 13:54:48 +00:00
Kershaw Chang
e523bf4175
Bug 1539819 - P5: Extract the logic of processing TRRService URI r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D73903
2020-05-18 20:18:15 +00:00
Kershaw Chang
f576a6f9bf
Bug 1539819 - P4: Some adjustments to pass trr test r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D68881
2020-05-18 20:18:13 +00:00
Kershaw Chang
5732714230
Bug 1539819 - P3: Some adjustments to make TRRServiceChannel work on socket process r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D68399
2020-05-18 20:18:08 +00:00
Kershaw Chang
bdbecde447
Bug 1539819 - P1: Make TRRService work in socket process r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D68880
2020-05-18 20:18:03 +00:00
Valentin Gosu
6777c89a7f
Bug 1638789 - Also log originAttributes in nsHostResolver::ResolveHost r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75765
2020-05-18 14:55:21 +00:00
Alex Catarineu
f45b17374e
Bug 1636411 followup - add network.dns.disabled checks to cover all paths r=necko-reviewers,valentin
...
Adding/moving network.dns.disabled checks to make sure we cover all DNS lookups paths.
Differential Revision: https://phabricator.services.mozilla.com/D74626
2020-05-14 18:26:17 +00:00
Dorel Luca
773143da8a
Backed out 3 changesets (bug 1635566) for XPCShell in netwerk/test/unit/test_trr_case_sensitivity.js. CLOSED TREE
...
Backed out changeset 873f7e079fd8 (bug 1635566)
Backed out changeset d9b4727f85cf (bug 1635566)
Backed out changeset 832dfd3bf2dd (bug 1635566)
2020-05-14 21:27:28 +03:00
Valentin Gosu
7a0dc7cc47
Bug 1635566 - TRR: Perform a case-insensitive match for the host name r=necko-reviewers,dragana
...
This is according to RFC 4343 : Domain Name System (DNS) Case Insensitivity Clarification
Differential Revision: https://phabricator.services.mozilla.com/D75081
2020-05-14 10:52:57 +00:00
Valentin Gosu
681c9b474e
Bug 1635566 - TRR: lowercase cname after reading it from the packet r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75079
2020-05-14 10:52:45 +00:00
Valentin Gosu
197dbfbdde
Bug 1634462 - Add doh-rollout.mode pref check and mode change notification r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D74316
2020-05-13 13:37:02 +00:00
Simon Giesecke
c3067cb5c7
Bug 1635364 - Make netwerk/dns build outside unified build environment. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D73800
2020-05-11 08:20:34 +00:00
Alex Catarineu
62b809186b
Bug 1636411 - Allow disabling DNS resolution via pref r=dragana,necko-reviewers
...
If `network.dns.disabled=true`, only resolve IP literals or cached
entries.
Differential Revision: https://phabricator.services.mozilla.com/D74387
2020-05-08 13:12:03 +00:00
ffxbld
bed945fee6
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D74235
2020-05-07 14:10:06 +00:00
Valentin Gosu
ef574a0fc2
Bug 1635899 - Cancel TRR::mTimeout timer in OnStopRequest r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D74133
2020-05-06 21:58:37 +00:00
Simon Giesecke
b4e558aeff
Bug 1626570 - Improve handling of copying arrays in netwerk/dns/. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D72344
2020-05-05 10:40:41 +00:00
Razvan Maries
c2b627950c
Backed out 10 changesets (bug 1626570) for build bustages. CLOSED TREE
...
Backed out changeset a3f17d392234 (bug 1626570)
Backed out changeset 5247e1ddd5d6 (bug 1626570)
Backed out changeset c339fd44c9f8 (bug 1626570)
Backed out changeset 4c69a4c013b3 (bug 1626570)
Backed out changeset e85450d69351 (bug 1626570)
Backed out changeset 793f978248b3 (bug 1626570)
Backed out changeset 68b4c2418d83 (bug 1626570)
Backed out changeset 52d0911d4ad3 (bug 1626570)
Backed out changeset a7d4e3a59ee3 (bug 1626570)
Backed out changeset 6c06d397a5d2 (bug 1626570)
2020-05-05 13:37:08 +03:00
Simon Giesecke
e301df9b1a
Bug 1626570 - Improve handling of copying arrays in netwerk/dns/. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D72344
2020-05-05 09:12:53 +00:00
Valentin Gosu
6568765e04
Bug 1623126 - Parse HTTPSSVC records in TRR r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71389
2020-05-04 19:56:51 +00:00
Valentin Gosu
ca64122b02
Bug 1623126 - Add HTTPSSVC record type magic number r=dragana,necko-reviewers
...
Until the spec is finalized, we shall use `RESOLVE_TYPE_HTTPSSVC = 65345`
which is in the `Reserved for Private Use` range.
Differential Revision: https://phabricator.services.mozilla.com/D71386
2020-05-04 19:54:49 +00:00
Dorel Luca
8278ad20d7
Backed out 6 changesets (bug 1623126) for build bustage in include/mozilla/net/HTTPSSVC.h. CLOSED TREE
...
Backed out changeset a2138b587838 (bug 1623126)
Backed out changeset d007557a3278 (bug 1623126)
Backed out changeset 04f7ec5742c5 (bug 1623126)
Backed out changeset 48466d966ef0 (bug 1623126)
Backed out changeset 80cfd249692b (bug 1623126)
Backed out changeset d49b0ed494f7 (bug 1623126)
2020-05-04 20:54:15 +03:00
Valentin Gosu
d95714cf13
Bug 1623126 - Parse HTTPSSVC records in TRR r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71389
2020-05-04 16:19:19 +00:00
Valentin Gosu
7ad01a8729
Bug 1623126 - Add HTTPSSVC record type magic number r=dragana,necko-reviewers
...
Until the spec is finalized, we shall use `RESOLVE_TYPE_HTTPSSVC = 65345`
which is in the `Reserved for Private Use` range.
Differential Revision: https://phabricator.services.mozilla.com/D71386
2020-05-04 16:13:31 +00:00
sonakshi
57b639c19c
Bug 279158 - nsIDNSRecord::canonicalName should document what it does for IDN r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72651
2020-04-28 16:33:02 +00:00
Csoregi Natalia
49f5ded87c
Backed out changeset ba2c085d9dff (bug 279158) for failures on test_dns_service_wrap.js. CLOSED TREE
2020-04-28 19:09:48 +03:00
sonakshi
069f906ba2
Bug 279158 - nsIDNSRecord::canonicalName should document what it does for IDN r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72651
2020-04-27 16:07:35 +00:00
Valentin Gosu
0d16e3ba65
Bug 1626057 - Send an observer notification when the TRR URI changes r=dragana,necko-reviewers
...
This patch also exposes `nsIDNSService.currentTrrURI` to be used by the UI
to display the URI currently in use by the TRR service.
Differential Revision: https://phabricator.services.mozilla.com/D71660
2020-04-27 17:19:17 +00:00
Valentin Gosu
ce21a6564e
Bug 1626057 - Check for the existence of doh-rollout.uri r=dragana,necko-reviewers
...
Considering that we want to have multiple default TRR providers that are
chosen by the doh-rollout addon, it becomes too complex for the addon
to keep track of all of the prefs it changes, while at the same time
figuring out if the user has ever touched the same prefs.
As such, we will make the distinction that `doh-rollout.uri` is only
set by the rollout addon, and `network.trr.uri` is only set by user action.
So, when the any of the uri prefs change, we choose them like this:
1. The user provider URI
2. The addon chosen URI
3. The default pref URI
Differential Revision: https://phabricator.services.mozilla.com/D71659
2020-04-27 17:16:07 +00:00
Valentin Gosu
8ae7c102c5
Bug 1626057 - Reset TRRService::mPrivateURI on network changes r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D69373
2020-04-24 19:43:51 +00:00