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

21355 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 37d53cb0c1 Bug 1680042 - Fix "detroyed" typos. DONTBUILD r=necko-reviewers,geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D98341
2020-12-01 17:35:54 +00:00
Razvan Maries 4d4d4b50d0 Backed out changeset 9f21beac8249 (bug 1678614) for perma failures on test_trr.js. CLOSED TREE 2020-12-01 11:17:53 +02:00
Kershaw Chang 86442ca53f Bug 1678614 - Don't try to resolve the host name again when trr mode is trr only r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98024
2020-11-30 21:04:10 +00:00
Valentin Gosu 41be7544bc Bug 1679739 - Use NS_NewURI and nsContentUtils::GetUTFOrigin in CacheFileContextEvictor::EvictEntries r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98136
2020-12-01 08:12:16 +00:00
Andrew McCreight c33eb81922 Bug 1678413 - Release listeners for nsViewSourceChannel. r=necko-reviewers,dragana
Release the two kinds of listeners that view source channel has
if AsyncOpen fails, or in OnStop. This matches the behavior of
HttpChannelChild. The former change fixes a leak when view source
channels are blocked by enterprise policies.

It looks like clang-format deleted the double include of
nsViewSourceChannel.h.

Differential Revision: https://phabricator.services.mozilla.com/D98223
2020-11-30 21:09:31 +00:00
Valentin Gosu c58b87b18e Bug 1663213 - Clear DoH cache when the TRRService mode goes from ON to OFF r=necko-reviewers,kershaw
This is necessary in order to avoid using cached entries on a network where
they might not be valid (such as when using a VPN).

This might not fix things when turning on the VPN does not cause a network
change event and thus no network.trr.mode/doh-rollout.mode change actually
happens.

Differential Revision: https://phabricator.services.mozilla.com/D97995
2020-11-27 10:44:28 +00:00
Narcis Beleuzu eaa6d5669b Backed out changeset 223338b5183e (bug 1663213) for xpcshell failure on test_trr.js . CLOSED TREE 2020-11-27 11:42:52 +02:00
Valentin Gosu 7f5a29a97d Bug 1663213 - Clear DoH cache when the TRRService mode goes from ON to OFF r=necko-reviewers,kershaw
This is necessary in order to avoid using cached entries on a network where
they might not be valid (such as when using a VPN).

This might not fix things when turning on the VPN does not cause a network
change event and thus no network.trr.mode/doh-rollout.mode change actually
happens.

Differential Revision: https://phabricator.services.mozilla.com/D97995
2020-11-26 20:01:47 +00:00
Hubert Boma Manilla ebc4be2030 Bug 1666726 - Set if a transaction uses Http 3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97130
2020-11-20 03:36:37 +00:00
Simon Giesecke dd80614fa0 Bug 1678062 - Remove unnecessary includes. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97467

Depends on D96561
2020-11-23 16:12:02 +00:00
Simon Giesecke d10d03d076 Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96556

Depends on D96554
2020-11-23 16:10:41 +00:00
Simon Giesecke 0a3ad2063b Bug 1676369 - Avoid including nsIHttpChannel.h from header files. r=#necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96552

Depends on D96551
2020-11-23 16:10:11 +00:00
Simon Giesecke 6fac745ea4 Bug 1673931 - Remove dependency of BindingUtils.h on Document.h.
Differential Revision: https://phabricator.services.mozilla.com/D95048

Depends on D95047
2020-11-23 16:08:03 +00:00
Simon Giesecke ae75be244a Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D93568

Depends on D93567
2020-11-23 16:06:42 +00:00
Simon Giesecke 6d43fb5a29 Bug 1660470 - Avoid including URIUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93560

Depends on D93559
2020-11-23 16:06:09 +00:00
Simon Giesecke 2fcd87a716 Bug 1660470 - Avoid including PropertyBagUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93559

Depends on D93558
2020-11-23 16:06:03 +00:00
Simon Giesecke d3f2ef0d0c Bug 1660470 - Avoid including ReferrerInfoUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93558

Depends on D93557
2020-11-23 16:05:56 +00:00
Simon Giesecke 9ba9bb72c5 Bug 1660470 - Avoid including PermissionMessageUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93552

Depends on D93550
2020-11-23 16:05:33 +00:00
Simon Giesecke df217a1cec Bug 1660470 - Avoid including NeckoMessageUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93240

Depends on D93239
2020-11-23 16:04:12 +00:00
Simon Giesecke c077183836 Bug 1660470 - Avoid including IPCMessageUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93235

Depends on D93234
2020-11-23 16:03:47 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
ffxbld 516bd2e4c3 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D97880
2020-11-23 15:05:18 +00:00
Frederik Braun 5456ef0719 Bug 1677940 - clang-format r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97424
2020-11-23 08:44:48 +00:00
Frederik Braun a664b17bd5 Bug 1677940 Consider blocking ports 69, 137, 161, 1719, 6566, 10080 r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97423
2020-11-18 13:10:33 +00:00
smolnar 93595da8db Backed out changeset d57553438d94 (bug 1675329) for causing bustages in nsAppShell. CLOSED TREE 2020-11-20 22:37:39 +02:00
Dave Townsend a3cb03324e Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika
Callers can pass an exit code to nsIAppStartup::Quit and it will be returned from the process when
it exits.

Note that I have using uint16_t as the exit code because on Windows the exit code can be a uint and
elsewhere it is an int. A uint16_t will safely convert to either of those and no-one will ever need
more than 64k exit codes!

Differential Revision: https://phabricator.services.mozilla.com/D96857
2020-11-20 19:13:34 +00:00
Gian-Carlo Pascutto 3517275c68 Bug 1677485 - Add more HTTP response codes. r=necko-reviewers,bomsy
Include everything from
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

Differential Revision: https://phabricator.services.mozilla.com/D97167
2020-11-20 08:39:23 +00:00
Anny Gakhokidze 7804c5bdd9 Bug 1661833 - Fix duplicate OnStateChange events during process switches, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96228
2020-11-19 23:21:04 +00:00
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