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

21327 Коммитов

Автор SHA1 Сообщение Дата
ffxbld c8813f6eb7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D97591
2020-11-19 14:40:46 +00:00
Valentin Gosu 47e3ae93eb Bug 1675808 - Move DNS packet parsing methods out of TRR r=necko-reviewers,dragana
This change only moves the DNS encoding & parsing methods to another file.
It is intended to be functionally the same - the most relevant change is
getting rid of mExtendedCode in TRR.h and using the return code to signal
NS_ERROR_DEFINITIVE_UNKNOWN_HOST.

Differential Revision: https://phabricator.services.mozilla.com/D96211
2020-11-19 14:06:15 +00:00
Dragana Damjanovic 1c5dbb5595 Bug 1677858 - Make headers that http3serve sends lowercase. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D97374
2020-11-19 13:06:31 +00:00
Dragana Damjanovic 8915c56905 Bug 1677743 - Neqo version 0.4.16 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97445
2020-11-19 13:06:31 +00:00
Kershaw Chang eacc182669 Bug 1648558 - Implement fast fallback for HTTP3 without httpssvc r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D95928
2020-11-19 10:18:09 +00:00
Kershaw Chang 92744d4afe Bug 1676424 - Honor Http3 excluded list when selecting a httpssvc record r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D96715
2020-11-19 10:18:49 +00:00
Gerald Squelart b3314a1582 Bug 1675409 - Removed now-unused ProfilerMarkerPayload and all dependencies - r=gregtatum,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96054
2020-11-18 21:56:57 +00:00
Gerald Squelart 6e65d94961 Bug 1675409 - Migrated NetworkMarkerPayload to Markers 2.0 API - r=gregtatum,necko-reviewers,julienw
While migrating, profiler_add_network_marker was optimized to avoid some string allocations.

Differential Revision: https://phabricator.services.mozilla.com/D96040
2020-11-18 21:48:17 +00:00
Andreea Pavel 52ec37bbce Bug 1670867 - disable browser_child_resource.js on fission r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97055
2020-11-17 10:47:18 +00:00
Razvan Maries b7eeb731df Backed out 23 changesets (bug 1675409) for build bustages on Preferences.cpp. CLOSED TREE
Backed out changeset c1a131a55767 (bug 1675409)
Backed out changeset 47d210802a5d (bug 1675409)
Backed out changeset e8ebb1c58d30 (bug 1675409)
Backed out changeset 69a1e9aeff2a (bug 1675409)
Backed out changeset 68f330b387a8 (bug 1675409)
Backed out changeset e4750d9ef5a1 (bug 1675409)
Backed out changeset bb6bb71e5ab3 (bug 1675409)
Backed out changeset 988d7f4716df (bug 1675409)
Backed out changeset ca41382e891c (bug 1675409)
Backed out changeset 90f3fbbbbeda (bug 1675409)
Backed out changeset 9b109d61a6f6 (bug 1675409)
Backed out changeset 3dd66abfdaa2 (bug 1675409)
Backed out changeset 44181df5f0db (bug 1675409)
Backed out changeset bb2603d947fc (bug 1675409)
Backed out changeset 97055cf20a56 (bug 1675409)
Backed out changeset f88fcf09de0d (bug 1675409)
Backed out changeset 7963e1c49786 (bug 1675409)
Backed out changeset 4c379c1061c3 (bug 1675409)
Backed out changeset b8be8ae7da63 (bug 1675409)
Backed out changeset 0b90aa89421e (bug 1675409)
Backed out changeset c10fb46467c9 (bug 1675409)
Backed out changeset 894ac233b290 (bug 1675409)
Backed out changeset 075d1d8e34c2 (bug 1675409)
2020-11-18 20:06:28 +02:00
Valentin Gosu af22c7c5f0 Bug 1648493 - tests r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D88299
2020-11-18 09:29:56 +00:00
Simon Giesecke d7abe77fa1 Bug 1671367 - Add overloads of NS_NewLocal*FileStream functions returning a Result and use them. r=dom-workers-and-storage-reviewers,necko-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D94138
2020-11-17 19:30:05 +00:00
Sylvestre Ledru bebb9f9181 Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp
It is bringing some minor changes

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D90795
2020-11-18 09:05:59 +00:00
Gerald Squelart ced008cc9f Bug 1675409 - Removed now-unused ProfilerMarkerPayload and all dependencies - r=gregtatum,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96054
2020-11-17 22:26:20 +00:00
Gerald Squelart 91baec6f52 Bug 1675409 - Migrated NetworkMarkerPayload to Markers 2.0 API - r=gregtatum,necko-reviewers,julienw
While migrating, profiler_add_network_marker was optimized to avoid some string allocations.

Differential Revision: https://phabricator.services.mozilla.com/D96040
2020-11-17 22:17:40 +00:00
Johann Hofmann 35c7373e04 Bug 1675018 - Part 2 - Add PermissionManager::GetAllByTypeSince. r=timhuang
This function is a helper for clearing all storageAccessAPI permissions
that were modified after a certain date. We need to get them and filter
by principal to clear them.

Differential Revision: https://phabricator.services.mozilla.com/D96639
2020-11-17 22:24:55 +00:00
Bogdan Tara 7974baccc1 Backed out changeset a6a44286addf (bug 1677743) for test_http3.js failures CLOSED TREE 2020-11-17 21:51:33 +02:00
Bogdan Tara 0fbb64410b Backed out 8 changesets (bug 1671367) for ActorsParent.cpp related bustage CLOSED TREE
Backed out changeset cacebe0fc34c (bug 1671367)
Backed out changeset 37e2f1c36fc7 (bug 1671367)
Backed out changeset c4a3fca623aa (bug 1671367)
Backed out changeset 75e95ebade6a (bug 1671367)
Backed out changeset bfc08841dafb (bug 1671367)
Backed out changeset 445d4fd6004d (bug 1671367)
Backed out changeset 90e38a8f77d6 (bug 1671367)
Backed out changeset 7e5910c8a82e (bug 1671367)
2020-11-17 21:26:08 +02:00
Dragana Damjanovic 5fba5c88db Bug 1677743 - Update neqo (0.4.15) r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97328
2020-11-17 16:10:15 +00:00
Simon Giesecke 8aa789e16e Bug 1671367 - Add overloads of NS_NewLocal*FileStream functions returning a Result and use them. r=dom-workers-and-storage-reviewers,necko-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D94138
2020-11-17 15:13:22 +00:00
Dana Keeler 14f399b600 Bug 1634065 - re-work how PSM services get initialized on the main thread r=kjacobs,necko-reviewers,bbeurdouche
Some PSM services need to be initialized on the main thread. Before this patch,
this was achieved by dispatching a synchronous task to the main thread in the
event that a different thread was attempting to acquire a given service for the
first time. However, with the upcoming removal of the nested event loop in the
XPCOM service instantiation code (see other patches in this bug), this can
cause a deadlock. This patch avoids the deadlock by removing the synchronous
dispatch and ensuring that these services get initialized on the main thread
relatively early, when PSM itself is initialized.

Differential Revision: https://phabricator.services.mozilla.com/D94145
2020-11-17 16:29:44 +00:00
Dana Keeler ddd22fc6d6 Bug 1634065 - ensure nsIDNSService is only created on the main thread r=dragana,necko-reviewers,kershaw
Before this patch, if nsIDNSService were created on a thread other than the
main thread, the code that instantiates it would synchronously dispatch an
event to the main thread to do the actual construction. However, this can lead
to deadlocks unless the XPCOM service instantiation code uses a nested event
loop to work around such problems. Since that causes stability issues, this
patch reworks the nsIDNSService constructor to only run on the main thread, and
ensures that the code calling the constructor only runs on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D92799
2020-11-17 16:30:06 +00:00
Mihai Alexandru Michis c0d25b01b2 Backed out 24 changesets (bug 1666566, bug 1675409) for causing hazard failures in profiler/core/platform.cpp
CLOSED TREE

Backed out changeset 4d8af8533fd4 (bug 1666566)
Backed out changeset f031a3a8a20f (bug 1675409)
Backed out changeset 2b7e1a031921 (bug 1675409)
Backed out changeset bda5a24b2d0a (bug 1675409)
Backed out changeset 4282e2284314 (bug 1675409)
Backed out changeset 0637f1b26e9f (bug 1675409)
Backed out changeset 67ae04c8f607 (bug 1675409)
Backed out changeset 6c7b3f3618ef (bug 1675409)
Backed out changeset 2f325c22d169 (bug 1675409)
Backed out changeset 1e48ff70ad8f (bug 1675409)
Backed out changeset 1dfc32d6871d (bug 1675409)
Backed out changeset 4f1f218a777b (bug 1675409)
Backed out changeset e6ac8722b38e (bug 1675409)
Backed out changeset cf132e15fb57 (bug 1675409)
Backed out changeset a126e6b00ba9 (bug 1675409)
Backed out changeset fbc7fbb04f33 (bug 1675409)
Backed out changeset 554c69681474 (bug 1675409)
Backed out changeset 44d0521c701f (bug 1675409)
Backed out changeset 04653dfe4720 (bug 1675409)
Backed out changeset 41ca2c043a00 (bug 1675409)
Backed out changeset 264ae4c805d4 (bug 1675409)
Backed out changeset 5f3bbdac0d52 (bug 1675409)
Backed out changeset 11311c11a6e8 (bug 1675409)
Backed out changeset 0355fbc44baf (bug 1675409)
2020-11-17 19:31:28 +02:00
Gerald Squelart f8c24dd6a4 Bug 1675409 - Removed now-unused ProfilerMarkerPayload and all dependencies - r=gregtatum,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96054
2020-11-17 11:40:46 +00:00
Gerald Squelart 6ea0ba8e9d Bug 1675409 - Migrated NetworkMarkerPayload to Markers 2.0 API - r=gregtatum,necko-reviewers,julienw
While migrating, profiler_add_network_marker was optimized to avoid some string allocations.

Differential Revision: https://phabricator.services.mozilla.com/D96040
2020-11-17 11:57:23 +00:00
Kershaw Chang 2e58759c35 Bug 1677086 - Parse SvcParamKeyAlpn as defined in spec r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97000
2020-11-17 11:07:03 +00:00
Valentin Gosu 4e5d703a9d Bug 1674088 - Add pref for minimum delay time for TRR confirmation timer r=dragana,necko-reviewers
Due to various reasons (network change, temporary network congestion, etc) it
may happen that we exceed the limit of TRR failures thus going into
CONFIRM_FAILED state and setting the timer for automatic retry.
When confirmation is not "skip" we want to reduce the amount of time as much
as possible - so if it's a transient reason for the failures, we should retry
as early as possible.

This patch reduces the initial timer to 125 ms (down from 1000 ms).
Exponential backoff is still in effect, so the only effect should be retrying
earlier. We also turn it into a pref, so it's easy to experiment with it to
find the perfect value.

Depends on D96822

Differential Revision: https://phabricator.services.mozilla.com/D96823
2020-11-12 15:46:38 +00:00
Kershaw Chang 773f87cc8c Bug 1676953 - Convert echConfig to hex string for showing it in about:networking r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D96998
2020-11-17 10:38:07 +00:00
sagudev 2c2640694d Bug 1658008 - Add preference to control Accept HTTP header and genarate header based on image Accept header. r=jbauman,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95668
2020-11-16 21:47:10 +00:00
Sylvestre Ledru 0129dd3f83 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D96608
2020-11-16 22:09:25 +00:00
Dragana Damjanovic df04047c08 Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin
This needs to count encrypted data, therefore it is implemented as a NSPR layer right above the PR_NSPR_IO_LAYER layer.

Differential Revision: https://phabricator.services.mozilla.com/D96083
2020-11-16 20:38:25 +00:00
Csoregi Natalia af42a4dbc7 Backed out 5 changesets (bug 1675018) for linting failure. CLOSED TREE
Backed out changeset 81e7fe361388 (bug 1675018)
Backed out changeset 7fe621a805eb (bug 1675018)
Backed out changeset 34fd482121f2 (bug 1675018)
Backed out changeset ee836c7f63d4 (bug 1675018)
Backed out changeset 0e09ce61e374 (bug 1675018)
2020-11-17 00:34:27 +02:00
Johann Hofmann 70752f8763 Bug 1675018 - Part 2 - Add PermissionManager::GetAllByTypeSince. r=timhuang
This function is a helper for clearing all storageAccessAPI permissions
that were modified after a certain date. We need to get them and filter
by principal to clear them.

Differential Revision: https://phabricator.services.mozilla.com/D96639
2020-11-16 19:29:24 +00:00
Valentin Gosu b646398923 Bug 1666072 - Temporarily disable test_trr.js::test25e
The test expects the only code that would call SetAllowSTS=false is the OCSP code. Making the captive portal do that too messes up expectations. A follow-up to bug 1556194 is necessary.

Depends on D97152

Differential Revision: https://phabricator.services.mozilla.com/D97172
2020-11-16 15:52:55 +00:00
Frederik Braun 0d98da0194 Bug 1677047 - Add the ports for the H323, PPTP, RTSP protocols (1720, 1723, 554) to the restricted ports list. - r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96979
2020-11-13 12:19:07 +00:00
Valentin Gosu bd132e112d Bug 1658097 - [fission] Send resource timing data for cross-origin frames to the correct process r=nika,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D96754
2020-11-13 13:48:00 +00:00
Dragana Damjanovic 71612de3dc Bug 1676851 - Make sure to return NS_BASE_STREAM_WOULD_BLOCK if number of read/written bytes to neqo stream is 0. r=necko-reviewers,valentin
If NS_OK is return, nsBufferedInputStream::ReadSegments may loop.

Differential Revision: https://phabricator.services.mozilla.com/D96996
2020-11-13 21:26:14 +00:00
Butkovits Atila 172256ead3 Bug 1673682 - Add missing include. r=fix. CLOSED TREE 2020-11-13 12:14:29 +02:00
Simon Giesecke fa092143ff Bug 1673682 - Remove redundant URLParam ctor/dtor. r=valentin,necko-reviewers
Depends on D96567

Differential Revision: https://phabricator.services.mozilla.com/D96568
2020-11-10 13:05:21 +00:00
Simon Giesecke f1c4d7671e Bug 1673682 - Add documentation to several URLParam member functions. r=valentin,necko-reviewers
Depends on D96444

Differential Revision: https://phabricator.services.mozilla.com/D96567
2020-11-10 13:04:58 +00:00
Simon Giesecke 9dc1d2f450 Bug 1673682 - Remove uses of deprecated reading iterators in URLParams::DecodeStringURLParams::DecodeString. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96444
2020-11-10 13:04:02 +00:00
Simon Giesecke 9506e4e25e Bug 1673682 - Use std::any_of/find_if in URLParams::Has/Get. r=valentin,necko-reviewers
Depends on D96428

Differential Revision: https://phabricator.services.mozilla.com/D96443
2020-11-10 13:01:29 +00:00
Simon Giesecke f355f05fec Bug 1673682 - Accept functors rather than a virtual function override in URLParams::Parse. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96428
2020-11-13 08:12:12 +00:00
Simon Giesecke 0138da753c Bug 1673682 - Remove unused nsresult return value from URLParams::Sort. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96419
2020-11-09 18:06:10 +00:00
Simon Giesecke 61560b5e60 Bug 1673682 - Use StableSort in URLParams::Sort. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96418
2020-11-09 18:06:07 +00:00
Simon Giesecke 8485a0a6db Bug 1673682 - Don't copy substrings in URLParams::Parse. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96417
2020-11-09 18:06:00 +00:00
Simon Giesecke 6206951895 Bug 1673682 - Move URLParams to nsURLHelper.h. r=valentin,necko-reviewers
Move ReadStructuredClone/WriteStructuredClone to URLSearchParams.

Adapt all uses of URLParams.

Differential Revision: https://phabricator.services.mozilla.com/D96416
2020-11-13 08:11:32 +00:00
Dragana Damjanovic 1e9bbd3671 Bug 1675500 - SupportHTTP3 is only set on HTTP2 connections r=necko-reviewers,valentin
supportsHttp3 is only needed for telemetry therefore it is only set on HTTP2 connections. It is also moved to nsIHttpChannelInternal.

Differential Revision: https://phabricator.services.mozilla.com/D96585
2020-11-12 01:52:06 +00:00
Dragana Damjanovic 26e1c0981c Bug 1675500 - Add more telemetry about http transactions r=necko-reviewers,valentin
This telemetry will be collected for transaction that have used HTTP3 and transaction that have used HTTP2 but the servers they are connecting to support HTTP3.

Differential Revision: https://phabricator.services.mozilla.com/D96459
2020-11-12 02:12:06 +00:00
Dragana Damjanovic 7b3c2eaf3c Bug 1675500 - Add telemetry about time needed for an transaction to be dispatch. r=necko-reviewers,valentin
This probe olny collect data for transactions that have used HTTP2, but support HTTP3

Differential Revision: https://phabricator.services.mozilla.com/D96264
2020-11-12 19:07:14 +00:00