Граф коммитов

1929 Коммитов

Автор SHA1 Сообщение Дата
ffxbld 7bf613163a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D122093
2021-08-09 11:49:10 +00:00
ffxbld 3b0b1c9a9a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D121852
2021-08-05 12:14:03 +00:00
Valentin Gosu 376111bc56 Bug 1723478 - Log result of res_ninit r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D121511
2021-08-03 09:15:05 +00:00
ffxbld 24499204c2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D120836
2021-07-26 15:45:06 +00:00
Kershaw Chang 298fea6ff9 Bug 1719135 - Make gTRRService atomic and also avoid doing trrLookup when trr service is not ready, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D120621
2021-07-26 09:37:37 +00:00
Kashav Madan 5781dca888 Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D119975
2021-07-22 02:24:43 +00:00
Florian Quèze 4f6e64dec4 Bug 1720289 - remove MOZ_GECKO_PROFILER ifdefs around network markers, r=necko-reviewers,gerald,kershaw.
Differential Revision: https://phabricator.services.mozilla.com/D119740
2021-07-15 22:04:21 +00:00
ffxbld 36123d2646 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D119384
2021-07-08 12:04:42 +00:00
ffxbld 90157073c1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D119078
2021-07-05 11:42:50 +00:00
Kershaw Chang cabbcc78fc Bug 1544190 - Use a counter to track if there is a pending TRR request, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D118077
2021-06-25 18:27:10 +00:00
Paul Zuehlcke 2e06ca7e1c Bug 1705030 - Added NetworkCacheCleaner deleteByBaseDomain. r=necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113128
2021-06-24 09:13:30 +00:00
Nihanth Subramanya e78d4b3565 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Dorel Luca 1779a0d311 Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Nihanth Subramanya 8c4bb92c84 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Cosmin Sabou edeaffb831 Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Nihanth Subramanya 44665bb834 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Valentin Gosu 66462a439a Bug 1696138 - Make a copy of the host before calling getaddrinfo r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D118010
2021-06-22 09:19:55 +00:00
ffxbld ce65c5c554 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D118159
2021-06-17 10:49:43 +00:00
Kershaw Chang 60dee51c3c Bug 1713796 - P3: Move the code related to pending queue out of nsHostResolver, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117324
2021-06-16 08:14:11 +00:00
Kershaw Chang decd8f6dca Bug 1713796 - P2: Take some code from nsHostResolver::ResolveHost and put them to other functions, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117323
2021-06-16 08:14:10 +00:00
Kershaw Chang 0c9e5842a2 Bug 1713796 - P1: Move nsHostRecord to another file, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117322
2021-06-16 08:14:10 +00:00
Kershaw Chang b7427a5f15 Bug 1700405 - Make it possible to skip the NS check when a host is added into blocked list, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117284
2021-06-15 13:59:10 +00:00
ffxbld 13e469a9fb No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D117636
2021-06-14 13:05:01 +00:00
Valentin Gosu 1a1f42da37 Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk r=necko-reviewers,kershaw
This changeset is the result of adding modernize-use-default-member-init to
tools/clang-tidy/config.yaml then proceeding to run
`./mach static-analysis check netwerk/ --fix`
I then went through the resulting fix and manually updated all of the member
variables which were missed due to them having a non-trivial constructor.

Note that the tool was only run on Linux, so code that only runs on some
platforms may have been missed.

The member variables that are still initialized in the contructor definition
are:
  - bitfields (not all currently supported compilers allow default-member-init
  - variables that are initialized via a parameter
  - variables that use code not visible in the header file

There are a few advantages to landing this change:
- fewer lines of code - now declaration is in the same place as initialization
  this also makes it easier to see when looking at the header.
- it makes it harder to miss initializing a member when adding a new contructor
- variables that depend on an include guard look much nicer now

Additionally I removed some unnecessary reinitialization of NetAddr members
(it has a constructor that does that now), and changed nsWifiScannerDBus to
use the thread-safe strtok_r instead of strtok.

Differential Revision: https://phabricator.services.mozilla.com/D116980
2021-06-11 07:10:41 +00:00
Alexandru Michis adb94d0544 Backed out 2 changesets (bug 1700405) for causing bc failures in browser_providerSteering.js
Backed out changeset 678c08f0baba (bug 1700405)
Backed out changeset 90b4c5f8796e (bug 1700405)
2021-06-10 17:29:19 +03:00
Kershaw Chang f310f52fe7 Bug 1700405 - Only set Native to true when the record is about to be resolved, r=necko-reviewers,valentin
The problem here is that when `nsHostResolver::FlushCache` is called, a record is not removed from `mRecordDB` because `LoadNative()` returns true. The reason of this is that the record is in the low queue and this record is not being handled immediately. As a result of this, the record would stay in the low queue for a long time.


Depends on D117284

Differential Revision: https://phabricator.services.mozilla.com/D117285
2021-06-10 10:12:41 +00:00
Kershaw Chang 6bc156ea65 Bug 1700405 - Make it possible to skip the NS check when a host is added into blocked list, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117284
2021-06-10 10:12:40 +00:00
Csoregi Natalia 938a6943c6 Backed out changeset 6e00f8bd2acc (bug 1714307) for causing hazard bustage. CLOSED TREE 2021-06-09 21:50:03 +03:00
Valentin Gosu d1513f313e Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk r=necko-reviewers,kershaw
This changeset is the result of adding modernize-use-default-member-init to
tools/clang-tidy/config.yaml then proceeding to run
`./mach static-analysis check netwerk/ --fix`
I then went through the resulting fix and manually updated all of the member
variables which were missed due to them having a non-trivial constructor.

Note that the tool was only run on Linux, so code that only runs on some
platforms may have been missed.

The member variables that are still initialized in the contructor definition
are:
  - bitfields (not all currently supported compilers allow default-member-init
  - variables that are initialized via a parameter
  - variables that use code not visible in the header file

There are a few advantages to landing this change:
- fewer lines of code - now declaration is in the same place as initialization
  this also makes it easier to see when looking at the header.
- it makes it harder to miss initializing a member when adding a new contructor
- variables that depend on an include guard look much nicer now

Additionally I removed some unnecessary reinitialization of NetAddr members
(it has a constructor that does that now), and changed nsWifiScannerDBus to
use the thread-safe strtok_r instead of strtok.

Differential Revision: https://phabricator.services.mozilla.com/D116980
2021-06-09 10:20:04 +00:00
Kershaw Chang dbd1cacb9f Bug 1544190 - Check if the record is in the queue, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D116261
2021-06-07 16:46:00 +00:00
ffxbld 6a258cbbf9 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D116890
2021-06-04 20:23:51 +00:00
Brindusan Cristian 6ac5d624e0 Backed out changeset 3dff613dd244 for causing failures in nsSocketTransport2.cpp.
CLOSED TREE
2021-05-31 15:24:58 +03:00
ffxbld 1037e442e6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D116365
2021-05-31 11:09:20 +00:00
ffxbld 1bf6f19298 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D116105
2021-05-27 14:31:44 +00:00
ffxbld b94c4af2ba No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D115585
2021-05-20 12:11:56 +00:00
Nika Layzell 461b98ded0 Bug 1711090 - Part 3: Add some missing nsITimerCallback queryinterface targets, r=KrisWright,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D115108
2021-05-18 20:45:17 +00:00
Alexandru Michis 08e0f3cf36 Backed out 4 changesets (bug 1711090) for causing bustages in nsTimerImpl.cpp
CLOSED TREE

Backed out changeset 5c6f0950714d (bug 1711090)
Backed out changeset 0b6a886eea8a (bug 1711090)
Backed out changeset fc9c788ff41d (bug 1711090)
Backed out changeset ecc51d9ad027 (bug 1711090)
2021-05-18 20:25:56 +03:00
Nika Layzell 2eead824d8 Bug 1711090 - Part 3: Add some missing nsITimerCallback queryinterface targets, r=KrisWright,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D115108
2021-05-18 16:24:48 +00:00
Kershaw Chang 57a5622396 Bug 1709952 - Improve parsing ODoHConfig, r=necko-reviewers,dragana
This patch basically uses `span_iterator` to parse the raw data of `ODoHConfig`.

Differential Revision: https://phabricator.services.mozilla.com/D114772
2021-05-18 14:58:00 +00:00
ffxbld 381ba4e4a3 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D115053
2021-05-13 14:34:42 +00:00
Kershaw Chang 6d57ed5e05 Bug 1698017 - Update ODoH to draft 06, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D110915
2021-05-10 20:12:09 +00:00
Valentin Gosu c46e217683 Bug 1708116 - Use NetAddr::InitFromString instead of PR_StringToNetAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113752
2021-05-10 09:26:01 +00:00
Valentin Gosu 2487615b47 Bug 1708116 - Add NetAddr::InitFromString r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D98952
2021-05-10 09:26:00 +00:00
Brindusan Cristian 31acb9e00c Backed out 2 changesets (bug 1708116) for causing xpcshell failures in test_udpsocket_offline.js and bc failures in browser_cookies_ipv6.js. CLOSED TREE
Backed out changeset 0c9b303226f1 (bug 1708116)
Backed out changeset e3be13d3c045 (bug 1708116)
2021-05-06 16:35:48 +03:00
ffxbld dee8380024 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D114472
2021-05-06 12:19:19 +00:00
Valentin Gosu 301361bdfb Bug 1708116 - Use NetAddr::InitFromString instead of PR_StringToNetAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113752
2021-05-06 10:06:46 +00:00
Valentin Gosu 6de6a52f1e Bug 1708116 - Add NetAddr::InitFromString r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D98952
2021-05-06 10:06:46 +00:00
Christian Holler ad1556611a Bug 1709559 - Avoid using PL_str implementations when fuzzing network. r=valentin,necko-reviewers,xpcom-reviewers,KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D114347
2021-05-05 18:09:28 +00:00
Sandor Molnar f7b8c6b3d1 Backed out 2 changesets (bug 1708116) for causing build bustages. CLOSED TREE
Backed out changeset d1488e9d64a6 (bug 1708116)
Backed out changeset 44ed91f0b7b4 (bug 1708116)
2021-05-04 18:41:36 +03:00
Valentin Gosu 5ae9a468e0 Bug 1708116 - Use NetAddr::InitFromString instead of PR_StringToNetAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113752
2021-05-04 14:05:59 +00:00