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

22901 Коммитов

Автор SHA1 Сообщение Дата
Manuel Bucher 9dc81abf3e Bug 1734132 - Map necko priorities to http3 priorities r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D127834
2021-11-17 16:26:30 +00:00
Manuel Bucher 407d1a7d91 Bug 1734132 - Add neqo glue code to send priority updates r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129003
2021-11-17 16:26:29 +00:00
Niklas Goegge 5d592a6adb Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.

Depends on D129162

Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-17 11:04:34 +00:00
Valentin Gosu f84aa74f86 Bug 1741166 - Add documentation for actionable Necko bugs r=nhnt11,necko-reviewers,kershaw DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131128
2021-11-17 11:02:40 +00:00
Dragana Damjanovic 22d71cbd86 Bug 1740687 - Enable 103 EarlyHints with the socket process enabled r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D131221
2021-11-17 05:56:41 +00:00
Alexandru Michis d844e2f9a5 Backed out 3 changesets (bug 1734132) for causing bustages in Http3Stream.cpp
CLOSED TREE

Backed out changeset 511af4b42efc (bug 1734132)
Backed out changeset 9516eb1214d8 (bug 1734132)
Backed out changeset 513d740d6477 (bug 1734132)
2021-11-16 20:26:52 +02:00
Manuel Bucher 2bcdb5e1d8 Bug 1734132 - Test that different http3 priorities are sent r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129618
2021-11-16 17:01:07 +00:00
Manuel Bucher e1ce16359b Bug 1734132 - Map necko priorities to http3 priorities r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D127834
2021-11-16 17:01:07 +00:00
Manuel Bucher 52ae51abfa Bug 1734132 - Add neqo glue code to send priority updates r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129003
2021-11-16 17:01:06 +00:00
Kershaw Chang f4838a045c Bug 1653543 - When socket process is used, don't leak host name with SOCKS proxy, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D131116
2021-11-16 15:28:33 +00:00
Dragana Damjanovic 2ed21be3b6 Bug 1740208 - mEarlyHintObserver needs to be called with a lock. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D131223
2021-11-16 12:28:13 +00:00
Dragana Damjanovic 89e1663bd8 Bug 1740208 - Implement an EarlyHint listener r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130729
2021-11-16 12:28:13 +00:00
criss 507f143b88 Backed out 2 changesets (bug 1617611) for causing mochitest failures on storageAccessWithDynamicFpi.js. CLOSED TREE
Backed out changeset fdb2c6bfc0c6 (bug 1617611)
Backed out changeset c3352f4b3681 (bug 1617611)
2021-11-16 13:02:05 +02:00
Niklas Goegge 5b684c7fc6 Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.

Depends on D129162

Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-16 10:15:45 +00:00
Andreea Pavel caa6cc4f0b Backed out changeset 3d28e4c556d7 (bug 1740208) for ThreadSanitizer failures in assign_assuming_AddRef on a CLOSED TREE 2021-11-16 11:35:29 +02:00
Dragana Damjanovic d30cb41384 Bug 1740208 - Implement an EarlyHint listener r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130729
2021-11-16 08:45:09 +00:00
Andi-Bogdan Postelnicu c8e0f87391 Bug 1519636 - First reformat with clang-format 13.0.0. r=firefox-build-system-reviewers,sylvestre,mhentges
Updated with clang-format version 13.0.0 (taskcluster-OgjH5lasS5K_fvefdRcJVg)

Depends on D131114

Differential Revision: https://phabricator.services.mozilla.com/D129119
2021-11-16 08:07:30 +00:00
Sylvestre Ledru 39a2e463ea Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Marian-Vasile Laza 07ce088d36 Backed out changeset f16830944997 (bug 1653543) for causing build bustages on DNSServiceBase.cpp. CLOSED TREE 2021-11-16 02:53:12 +02:00
Kershaw Chang 661ea80391 Bug 1653543 - When socket process is used, don't leak host name with SOCKS proxy, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D131116
2021-11-15 22:52:18 +00:00
ffxbld 42035ddc2c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D131121
2021-11-15 16:59:48 +00:00
Valentin Gosu 8cc35ede6b Bug 1696867 - Use info-pages.css in about:cache r=dao
Differential Revision: https://phabricator.services.mozilla.com/D130625
2021-11-15 08:56:28 +00:00
ffxbld 1a1b639d54 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130973
2021-11-11 17:39:17 +00:00
Valentin Gosu 3e89a5179a Bug 1566998 - A or AAAA TRR request should not fallback to Do53 if there is a record for the other family r=nhnt11
Normally DNS resolutions are AF_UNSPEC - meaning that both A and AAAA
responses are acceptable.
However, some consumers of the DNS API will query A or AAAA separately
(like the WebRTC code), and use the responses independently.
In that case, we want to ensure that for a host that only has a A record,
we don't fallback to Do53 for the AAAA request and leak the hostname to
the system resolver.

To achieve this we change the logic as such:
If the response from DoH was NXDOMAIN we then query the other family.
If the other response was OK, that means we should not fallback to Do53.
If the other family response was also NXDOMAIN, the host is probably not
available to the public internet and falling back is probably fine.

Differential Revision: https://phabricator.services.mozilla.com/D130047
2021-11-11 10:07:33 +00:00
Valentin Gosu 6d0731bac6 Bug 1566998 - Fix test_dns_retry r=necko-reviewers,kershaw
Because trr_test_setup() sets `network.dns.native-is-localhost` to true and
the test expects `donotexist.example.com` to fail to resolve, the test
seems to always fail.
We need to clear the pref after calling trr_test_setup.

Differential Revision: https://phabricator.services.mozilla.com/D130046
2021-11-11 10:07:33 +00:00
Valentin Gosu e3e8d0665b Bug 1566998 - Fix lint warning r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130045
2021-11-11 10:07:32 +00:00
Valentin Gosu 8ef7f831c4 Bug 1566998 - Split DispatchByType into different method r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130044
2021-11-11 10:07:32 +00:00
Valentin Gosu 099711b50c Bug 1566998 - Make test_trr/test_odoh::test_CNAME not be dependent on A/AAAA order r=necko-reviewers,kershaw
The order in which we send A/AAAA requests is unspecified.
This test assumed the A request is always first. If we change that logic,
then the variable ends up != 0 on the second request, so we don't get the
proper response anymore.

This patch changes the server handler so it returns the proper response
after decoding the request packet.

Differential Revision: https://phabricator.services.mozilla.com/D130043
2021-11-11 10:07:31 +00:00
Valentin Gosu e1e759dc36 Bug 1566998 - Improve awaiting new TRRDNSListener by returning an object r=necko-reviewers,kershaw
It's nicer to destructure the response using
`let {inRecord, inStatus} = await new TRRDNSListener(...)`
instead of
`let [,inRecord,inStatus] = await new TRRDNSListener(...)`

Differential Revision: https://phabricator.services.mozilla.com/D130042
2021-11-11 10:07:31 +00:00
Valentin Gosu 7d483626bb Bug 1566998 - Test r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129507
2021-11-11 10:07:31 +00:00
Marian-Vasile Laza 133cd29435 Backed out 2 changesets (bug 1712837) for causing mochitest and marionette test failures. CLOSED TREE
Backed out changeset ecfd23a7ef69 (bug 1712837)
Backed out changeset 51529cb4682e (bug 1712837)
2021-11-11 01:52:57 +02:00
Dana Keeler 15ebcb5e82 Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-11-10 21:48:47 +00:00
Haik Aftandilian 3cf27e9320 Bug 1737854 - macOS 'Share' menu modifies URL such that shared page doesn't load r=necko-reviewers,mstange,valentin
Revert some of the fix for 1722758 so that only the URL ref component is re-encoded for NSURL compatibility. Other URL fields need additional work to be addressed in a follow up.

Update the set of characters re-encoded to be as minimal as possible and include missing characters.

Add tests to ensure encoding works as expected, not just that it is accepted by NSURL.

Differential Revision: https://phabricator.services.mozilla.com/D130445
2021-11-10 19:32:53 +00:00
Kershaw Chang 3fb2a0addf Bug 1734609 - Avoid crashing when mConnection is null, r=necko-reviewers,valentin
Given the high amount of the crashes, I think we should land this first to stop crashing.

Differential Revision: https://phabricator.services.mozilla.com/D130759
2021-11-10 16:39:16 +00:00
Kershaw Chang b7dcc16500 Bug 1666557 - Make TRR NAT64 prefixing work with socket process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D130686
2021-11-10 13:02:59 +00:00
Valentin Gosu 1956ff62e0 Bug 1740457 - Allow network.http.spdy.chunk-size to be larger than 16K r=nhnt11
According to https://datatracker.ietf.org/doc/html/rfc7540#section-4.2


   The size of a frame payload is limited by the maximum size that a
   receiver advertises in the SETTINGS_MAX_FRAME_SIZE setting.  This
   setting can have any value between 2^14 (16,384) and 2^24-1
   (16,777,215) octets, inclusive.

Our previous clamping to 0x3fff prevented us from writing more than
16K bytes at a time for HTTP/2.
See bug 1596576 comment 61 and bug 1596576 comment 54.

This patch doesn't change the default value of the pref, it just allows
us to experiment with a larger chunk size.

Differential Revision: https://phabricator.services.mozilla.com/D130856
2021-11-10 12:08:24 +00:00
Cristian Tuns 91f08a1fbe Backed out changeset 8000eadc16ec (bug 1666557) for causing hybrid bustages on TRRServiceChild.cpp CLOSED TREE 2021-11-10 06:35:42 -05:00
Kershaw Chang 11eb300224 Bug 1666557 - Make TRR NAT64 prefixing work with socket process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D130686
2021-11-10 11:15:40 +00:00
Chris Peterson ed64171a42 Bug 1740163 - Fix non-unified build errors in netwerk/dns/mdns/libmdns/. r=necko-reviewers,valentin
netwerk/dns/mdns/libmdns/MDNSResponderReply.cpp:41:14: error: use of undeclared identifier 'OnSocketThread'
  MOZ_ASSERT(OnSocketThread(), "not on socket thread");

netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.cpp:30:16: error: use of undeclared identifier 'NS_IsMainThread'
  MOZ_ASSERT(NS_IsMainThread());

Differential Revision: https://phabricator.services.mozilla.com/D130718
2021-11-10 04:19:11 +00:00
Butkovits Atila 4059928c5d Backed out 7 changesets (bug 1566998) for causing build bustages at Logging.h.
Backed out changeset 1d0f667507f4 (bug 1566998)
Backed out changeset dc39d8837aae (bug 1566998)
Backed out changeset 24f76460c44b (bug 1566998)
Backed out changeset b674d5f15f60 (bug 1566998)
Backed out changeset f392ebf40d2a (bug 1566998)
Backed out changeset ecbfa0721168 (bug 1566998)
Backed out changeset d948fe16b8b0 (bug 1566998)
2021-11-09 20:24:03 +02:00
Valentin Gosu b95b36f385 Bug 1566998 - A or AAAA TRR request should not fallback to Do53 if there is a record for the other family r=nhnt11
Normally DNS resolutions are AF_UNSPEC - meaning that both A and AAAA
responses are acceptable.
However, some consumers of the DNS API will query A or AAAA separately
(like the WebRTC code), and use the responses independently.
In that case, we want to ensure that for a host that only has a A record,
we don't fallback to Do53 for the AAAA request and leak the hostname to
the system resolver.

To achieve this we change the logic as such:
If the response from DoH was NXDOMAIN we then query the other family.
If the other response was OK, that means we should not fallback to Do53.
If the other family response was also NXDOMAIN, the host is probably not
available to the public internet and falling back is probably fine.

Differential Revision: https://phabricator.services.mozilla.com/D130047
2021-11-09 16:41:46 +00:00
Valentin Gosu 9d8264d621 Bug 1566998 - Fix test_dns_retry r=necko-reviewers,kershaw
Because trr_test_setup() sets `network.dns.native-is-localhost` to true and
the test expects `donotexist.example.com` to fail to resolve, the test
seems to always fail.
We need to clear the pref after calling trr_test_setup.

Differential Revision: https://phabricator.services.mozilla.com/D130046
2021-11-09 16:41:46 +00:00
Valentin Gosu c382a1b2b0 Bug 1566998 - Fix lint warning r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130045
2021-11-09 16:41:45 +00:00
Valentin Gosu 0eff871121 Bug 1566998 - Split DispatchByType into different method r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130044
2021-11-09 16:41:45 +00:00
Valentin Gosu 9f4d6be7fc Bug 1566998 - Make test_trr/test_odoh::test_CNAME not be dependent on A/AAAA order r=necko-reviewers,kershaw
The order in which we send A/AAAA requests is unspecified.
This test assumed the A request is always first. If we change that logic,
then the variable ends up != 0 on the second request, so we don't get the
proper response anymore.

This patch changes the server handler so it returns the proper response
after decoding the request packet.

Differential Revision: https://phabricator.services.mozilla.com/D130043
2021-11-09 16:41:45 +00:00
Valentin Gosu 37f236afbe Bug 1566998 - Improve awaiting new TRRDNSListener by returning an object r=necko-reviewers,kershaw
It's nicer to destructure the response using
`let {inRecord, inStatus} = await new TRRDNSListener(...)`
instead of
`let [,inRecord,inStatus] = await new TRRDNSListener(...)`

Differential Revision: https://phabricator.services.mozilla.com/D130042
2021-11-09 16:41:44 +00:00
Valentin Gosu 272f24ea0c Bug 1566998 - Test r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D129507
2021-11-09 16:41:44 +00:00
Alexandru Michis 490a04115c Backed out 12 changesets (bug 1731982, bug 1736401) for causing crashes. a=backout
DONTBUILD

Backed out changeset ab85eef8a4fd (bug 1736401)
Backed out changeset 347ce2439936 (bug 1731982)
Backed out changeset fa0ff1505daa (bug 1731982)
Backed out changeset 5b1f2b0a5673 (bug 1731982)
Backed out changeset 4adc65d2f1a3 (bug 1731982)
Backed out changeset a8700204af07 (bug 1731982)
Backed out changeset 88bd00ed8d94 (bug 1731982)
Backed out changeset 80bd8c79b931 (bug 1731982)
Backed out changeset 58ca3a94fec0 (bug 1731982)
Backed out changeset 0b28570dea43 (bug 1731982)
Backed out changeset 23524ce67bb9 (bug 1731982)
Backed out changeset d29cc06a65db (bug 1731982)
2021-11-09 09:23:38 +02:00
Gerald Squelart 5399574d8b Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.

Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-08 23:59:35 +00:00
ffxbld 4acc092a76 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130621
2021-11-08 16:54:40 +00:00
Tim Huang 7e938b256a Bug 1731982 - Part 7: Ignoring the partitionKey when verify loadingPrincipal with clientInfo. r=asuth,necko-reviewers
Given that we use the partitioned Principal in the third-party context
and the loading principal won't have it, we should ignore the
partitionKey when doing the verfication.

Differential Revision: https://phabricator.services.mozilla.com/D127841
2021-11-08 14:30:55 +00:00
Kershaw Chang 1b01ccfacd Bug 1392272 - P1: [windows] Monitor system proxy changes, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D127724
2021-11-08 09:00:26 +00:00
ssummar 0992acc367 Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D129920
2021-11-08 08:14:00 +00:00
Chris Peterson 602e67b684 Bug 1737217 - Stop incrementing aOffset parameter that is never used. r=necko-reviewers,valentin
This change fixes the following -Wunused-but-set-parameter warning:

netwerk/test/fuzz/FuzzingStreamListener.cpp:18:49: warning: parameter 'aOffset' set but not used [-Wunused-but-set-parameter]

Differential Revision: https://phabricator.services.mozilla.com/D129350
2021-11-06 16:58:51 +00:00
Dimi 56505f3e46 Bug 1729640 - P1. Extend AddHighValuePermission to support 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission. r=necko-reviewers,farre,kershaw
This patch:
1. adds two 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission
2. moves 'AddHighValuePermission' from HttpBaseChannel to ProcessIsolation
   to support more high-value permission type.

Differential Revision: https://phabricator.services.mozilla.com/D127101
2021-11-05 17:11:31 +00:00
Cristian Tuns 71486b8924 Backed out changeset 7e8e3747c3f8 (bug 1603127) for causing toolchains build bustages (Bug 1739589). CLOSED TREE 2021-11-05 07:23:45 -04:00
Cristian Tuns 1aeac93d23 Backed out 5 changesets (bug 1738627) for causing xpcshell failures on test_ext_geckoProfiler_schema.js CLOSED TREE
Backed out changeset 42d385d7da97 (bug 1738627)
Backed out changeset edeb3a338954 (bug 1738627)
Backed out changeset 98f02e35134d (bug 1738627)
Backed out changeset 711daa6dd24b (bug 1738627)
Backed out changeset 49e12753a40c (bug 1738627)
2021-11-05 05:12:28 -04:00
Gerald Squelart 7fa084ae7c Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.

Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-05 05:52:28 +00:00
ssummar 508562cc85 Bug 1603127 - Replaced mozilla::Tuple with std::tuple and applied structured bindings in mozilla/Encoding.h. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D129920
2021-11-05 05:33:58 +00:00
Csoregi Natalia d2f8488b6a Backed out 7 changesets (bug 1729640) for causing permafailures on browser_web_process_isolation.js. a=backout
Backed out changeset 5b2a1799ce4e (bug 1729640)
Backed out changeset fcd4b833ad73 (bug 1729640)
Backed out changeset 5ff8d3adc6eb (bug 1729640)
Backed out changeset b8fd0343ca42 (bug 1729640)
Backed out changeset fbd6928e34ef (bug 1729640)
Backed out changeset 4ce2eebab0c4 (bug 1729640)
Backed out changeset c7c50c85f911 (bug 1729640)
2021-11-04 23:44:26 +02:00
Dimi 3718fbdc11 Bug 1729640 - P1. Extend AddHighValuePermission to support 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission. r=necko-reviewers,farre,kershaw
This patch:
1. adds two 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission
2. moves 'AddHighValuePermission' from HttpBaseChannel to ProcessIsolation
   to support more high-value permission type.

Differential Revision: https://phabricator.services.mozilla.com/D127101
2021-11-04 11:17:03 +00:00
Agi Sferro 8c6612b46b Bug 1738966 - Pass in argc, argv in GreOmniPath. r=kershaw,valentin
A call to InitCommandLine was added in Bug 1727180 where gArgc and gArgv are
not defined.

The same bug also re-enabled some tests that appeared to pass (but really they
were just silently crashing), this patch fixes that too.

Differential Revision: https://phabricator.services.mozilla.com/D130223
2021-11-03 16:31:06 +00:00
Andreas Pehrson 4a1326da33 Bug 1729455 - Modularize RTCStatsTimestampMaker::GetNow(). r=ng,bwc
This is needed in order to provide precision reduction on timestamps from
libwebrtc. Similarly useful for providing a clock adapter so libwebrtc can use
our clock.

Differential Revision: https://phabricator.services.mozilla.com/D125715
2021-11-03 15:23:23 +00:00
Kershaw Chang 34f9cb2633 Bug 1727180 - Call XRE_InitCommandLine for xpcshell, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124890
2021-11-02 16:01:10 +00:00
Iulian Moraru bcd7d6fd66 Backed out 23 changesets (bug 1729455) for causing multiple build bustages. CLOSED TREE
Backed out changeset eb27a22d5419 (bug 1729455)
Backed out changeset 0744d68b8c94 (bug 1729455)
Backed out changeset 052a33acc2e4 (bug 1729455)
Backed out changeset 6911243d9ae0 (bug 1729455)
Backed out changeset 0473c7cfd344 (bug 1729455)
Backed out changeset 9b44714d7fce (bug 1729455)
Backed out changeset b04e243f4ab5 (bug 1729455)
Backed out changeset d112b90b7c05 (bug 1729455)
Backed out changeset 40008e4f1c1f (bug 1729455)
Backed out changeset 5a3ecc96a699 (bug 1729455)
Backed out changeset 3e8ac168ee3d (bug 1729455)
Backed out changeset 0cfae6f33c35 (bug 1729455)
Backed out changeset e8d24be16e22 (bug 1729455)
Backed out changeset eb07a028bc43 (bug 1729455)
Backed out changeset 11637120b0cc (bug 1729455)
Backed out changeset 7f7c9f002087 (bug 1729455)
Backed out changeset 080188fa01cf (bug 1729455)
Backed out changeset f058fbb8662e (bug 1729455)
Backed out changeset 907da0f267fd (bug 1729455)
Backed out changeset 8e036b0931e3 (bug 1729455)
Backed out changeset cfcd4d853484 (bug 1729455)
Backed out changeset 99267b6d193f (bug 1729455)
Backed out changeset a2cee9ad6c6c (bug 1729455)
2021-11-02 18:10:53 +02:00
Andreas Pehrson 2d04fbf93c Bug 1729455 - Modularize RTCStatsTimestampMaker::GetNow(). r=ng,bwc
This is needed in order to provide precision reduction on timestamps from
libwebrtc. Similarly useful for providing a clock adapter so libwebrtc can use
our clock.

Differential Revision: https://phabricator.services.mozilla.com/D125715
2021-11-02 14:35:54 +00:00
Norisz Fay 47a4e47af2 Backed out 7 changesets (bug 1729640) for causing Bp-hybrid bustages on LoginDetectionService.o CLOSED TREE
Backed out changeset 4d3532da5652 (bug 1729640)
Backed out changeset 9ec5346cf9d9 (bug 1729640)
Backed out changeset 43dd05680186 (bug 1729640)
Backed out changeset f44a8f37d84c (bug 1729640)
Backed out changeset 66376bee8cef (bug 1729640)
Backed out changeset c7ffe85380d7 (bug 1729640)
Backed out changeset ae9c5de3902a (bug 1729640)
2021-11-02 16:33:01 +02:00
Dimi fc57da5280 Bug 1729640 - P1. Extend AddHighValuePermission to support 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission. r=necko-reviewers,farre,kershaw
This patch:
1. adds two 'highValueHasSavedLogin' and 'highValueIsLoggedIn' permission
2. moves 'AddHighValuePermission' from HttpBaseChannel to ProcessIsolation
   to support more high-value permission type.

Differential Revision: https://phabricator.services.mozilla.com/D127101
2021-11-02 13:47:47 +00:00
Anne van Kesteren b066868aed Bug 1736689 - Postpone OPAQUE_RESPONSE_BLOCKING expiry. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D129846
2021-11-02 11:42:04 +00:00
Sebastian Hengst d21e359bd2 Merge autoland to mozilla-central. a=merge 2021-11-01 22:58:34 +01:00
Sebastian Hengst e1d59e5c59 Bug 1736627 - disable test_http3_large_post_telemetry.js temporarily until telemetry probe got extended. a=Aryx 2021-11-01 19:23:12 +01:00
ffxbld 77b1c7801c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130015
2021-11-01 16:11:24 +00:00
Kershaw Chang 541d91f0ba Bug 1703933 - Avoid racing on mIsHttp3Used, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D130006
2021-11-01 11:51:31 +00:00
Andrew McCreight 0cbe58f388 Bug 1736689 - Disable browser_opaque_response_blocking_telemetry.js in Nightly for now. r=aryx
The telemetry that this is testing expires in 96. We can reenable the test
when we reenable the telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D129851
2021-10-28 17:12:16 +00:00
Sean Feng 5283aecc5d Bug 1468476 - Make soft reload only force validates top level document r=necko-reviewers,nika,dragana,asuth
Currently, soft reload uses the `VALIDATE_ALWAYS` flag to not only
force revalidate the top level document, but also subresources.
This causes content to be refetched from the web even if there
are caches that are still valid and can be used.

Chrome already has such behaviour to not revalidate all resources.

Differential Revision: https://phabricator.services.mozilla.com/D122270
2021-10-28 16:11:56 +00:00
ffxbld e156d378d8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129802
2021-10-28 13:15:42 +00:00
somdatta 7f3ac3954b Bug 271386- Make some functions private in nsHttpResponseHead r=necko-reviewers,kershaw
Make the following functions private because they are only used in nsHttpResponseHead.cpp for compiler optimization-
GetDateValue,GetAgeValue,GetMaxAgeValue,GetExpiresValue.
GetLastModifiedValue cannot be made private since it is being used in CachePushChecker.cpp and ParseDateHeader is already private.

Differential Revision: https://phabricator.services.mozilla.com/D129664
2021-10-28 11:07:55 +00:00
Sean Feng 98962cf9f6 Bug 1735644 - Use TimeStamp::Now() as AsyncOpenTime for DocumentChannel r=nika,valentin,necko-reviewers
Currently `AsyncOpenTime` is generated when DocumentChannel is
created, rather than being set in the `AsyncOpen` function. This is
mysterious and the reason for doing it this way is unclear.

I noticed a discrepancy while comparing the test result for
`nav2_test_redirect_server.html`. When I run it locally, the
value of `redirectStart` was 0.05 for me in Firefox and 1.5 in Chrome,
which turned out AsyncOpenTime was being used, and it didn't look like
it was set to the correct value.

I think we should use `TimeStamp::Now()` instead which appeals to be
more accurate.

Differential Revision: https://phabricator.services.mozilla.com/D129549
2021-10-28 00:37:15 +00:00
Alexandru Michis 363dc1e112 Backed out 3 changesets (bug 1732792, bug 1733481) for causing talos crashes in ConditionVariableImpl and xpcshell failures in test_remote_settings_utils.js.
CLOSED TREE

Backed out changeset 309190b4a49d (bug 1732792)
Backed out changeset 600e6dfd7436 (bug 1732792)
Backed out changeset 834441a08cc0 (bug 1733481)
2021-10-27 22:37:07 +03:00
Noemi Erli 0ac4387461 Backed out 2 changesets (bug 1734573) per developer's request CLOSED TREE
Backed out changeset 7d7d9674f18f (bug 1734573)
Backed out changeset 0e5afef7d074 (bug 1734573)
2021-10-27 21:43:19 +03:00
Shane Caraveo b683ebea88 Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-27 16:16:50 +00:00
Valentin Gosu 6b419daeb0 Bug 1702529 - Pass NetAddr pointers to rust instead of a serialization r=necko-reviewers,dragana
It seems that the serialization generated by inet_ntop_internal via
getnameinfo is sometimes wrong, returning `?` instead of serializing the
IP we pass in.
It's also inefficient to keep passing the serialization to and from rust
code - instead it's much easier to just pass a pointer to the NetAddr
union and build a proper SocketAddr instance on the rust side from
from the bytes instead of parsing the serialization

Differential Revision: https://phabricator.services.mozilla.com/D129489
2021-10-27 15:28:41 +00:00
Cristian Tuns d766fa0f20 Backed out changeset ba94ff2a7696 (bug 1702529) for causing build bustages. CLOSED TREE 2021-10-27 07:07:17 -04:00
Valentin Gosu 609bf1922f Bug 1702529 - Pass NetAddr pointers to rust instead of a serialization r=necko-reviewers,dragana
It seems that the serialization generated by inet_ntop_internal via
getnameinfo is sometimes wrong, returning `?` instead of serializing the
IP we pass in.
It's also inefficient to keep passing the serialization to and from rust
code - instead it's much easier to just pass a pointer to the NetAddr
union and build a proper SocketAddr instance on the rust side from
from the bytes instead of parsing the serialization

Differential Revision: https://phabricator.services.mozilla.com/D129489
2021-10-27 10:44:46 +00:00
Valentin Gosu f2f9847964 Bug 1733356 - Fix non-unified build errors in netwerk/test/gtest/ r=necko-reviewers,kershaw
Depends on D129500

Differential Revision: https://phabricator.services.mozilla.com/D129501
2021-10-27 08:52:26 +00:00
Valentin Gosu 2650af618b Bug 1733356 - Fix non-unified build errors in netwerk/socket/ r=necko-reviewers,kershaw
Depends on D129499

Differential Revision: https://phabricator.services.mozilla.com/D129500
2021-10-27 08:52:26 +00:00
Valentin Gosu 1415006c21 Bug 1733356 - Fix non-unified build errors in netwerk/url-classifier/ r=necko-reviewers,kershaw
Depends on D129498

Differential Revision: https://phabricator.services.mozilla.com/D129499
2021-10-27 08:52:25 +00:00
Valentin Gosu d65c56a554 Bug 1733356 - Fix non-unified build errors in netwerk/streamconv/converters/ r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D129498
2021-10-27 08:52:25 +00:00
Marian-Vasile Laza 84fc0a136f Backed out changeset 3882acd862fc (bug 1733481) for causing build bustages on HttpBaseChannel.cpp. CLOSED TREE 2021-10-27 01:37:32 +03:00
Shane Caraveo 863c48338b Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 20:32:52 +00:00
Gijs Kruitbosch 7089834427 Bug 1737859 - migrate docs for the http server, r=mconley DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129550
2021-10-26 20:27:06 +00:00
Alexandre Lissy 4e04ec89a3 Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D123186
2021-10-26 19:42:03 +00:00
Kershaw Chang 6f8690e393 Bug 1734573 - Add a new activity type to report proxy response header, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127824
2021-10-26 19:39:27 +00:00
Narcis Beleuzu 331a8b2a4f Backed out changeset 054e0b5325a3 (bug 1733481) for xpcshell failures on /test_failover_retry.js CLOSED TREE 2021-10-26 21:57:33 +03:00
Shane Caraveo 5b177fc77d Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 18:16:38 +00:00
Marian-Vasile Laza f8576fec48 Backed out changeset fe716ee1a126 (bug 1723505) for causing build bustages. CLOSED TREE 2021-10-26 20:45:47 +03:00
Alexandre Lissy 14420a3ffc Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D123186
2021-10-26 17:14:13 +00:00
Sandor Molnar 799be2330b Backed out changeset 5a4d9d296d42 (bug 1733481) for causing xpc failures in unit/test_failover_retry. CLOSED TREE 2021-10-26 18:39:07 +03:00
Shane Caraveo 15e1356e3b Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-10-26 14:41:11 +00:00
Hannah Peuckmann 09b6c3a033 Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-26 13:32:31 +00:00