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

19588 Коммитов

Автор SHA1 Сообщение Дата
anjali1903 b4133b9d99 Bug 1621557 FailDelayManager::mEntries should be a nsTArray<UniquePtr<FailDelay>> r=valentin,michal
Differential Revision: https://phabricator.services.mozilla.com/D66910

--HG--
extra : moz-landing-system : lando
2020-03-25 14:54:11 +00:00
Tim Huang 5f67d1c916 Bug 1612378 - Part 7: Remove the ContentBlockingAllowListPrincipal from the nsIHttpChannelInternal. r=dimi,baku
We nolonger need to use the ContentBlockingAllowListPrincipal in the
channel because we move to check the IsOnContentBlockingAllowList in the
CookieJarSettings when we do a content blocking allow list check. Also,
we would potentially expose the cross-origin info through the
ContentBlockingAllowListPrincipal in the channel. Hence, we will remove
it from the channel.

Differential Revision: https://phabricator.services.mozilla.com/D66214

--HG--
extra : moz-landing-system : lando
2020-03-25 13:51:05 +00:00
Tim Huang 17465d5c79 Bug 1612378 - Part 6: Make UrlClassifierCommon::IsAllowListed() to use the ContentBlockingAllowListPrincipal from the WindowGlobalParent. r=dimi,baku
In this patch, we make the UrlClassifierCommon::IsAllowListed() to get
the ContentBlockingAllowListPrincipal from the WindowGlobalParent
instead of from the channel.

Differential Revision: https://phabricator.services.mozilla.com/D66213

--HG--
extra : moz-landing-system : lando
2020-03-25 13:22:04 +00:00
Tim Huang b4accfb54f Bug 1612378 - Part 2: Update the IsOnContentBlockingAllowList boolean in the CookieJarSettings when doing a top-level load. r=dimi,baku
In this patch, we update the IsOnContentBlockingAllowList boolean in the
CookieJarSettings when doing a top-level load. The boolean will be set
in DocumentLoadListener::Open(). And this boolean would be propagated
with the CookieJarSettings. So, we can check this boolean to see if the
top-level site is in the ContentBlockingAllowList.

In addition, we remove setting the ContentBlockingAllowListPrincipal to
the httpBaseChannel in DocumentLoadListener::Open(). Because we can
use the IsOnContentBlockingAllowList directly without the principal.

Differential Revision: https://phabricator.services.mozilla.com/D66209

--HG--
extra : moz-landing-system : lando
2020-03-25 13:20:29 +00:00
Tim Huang 1375fac6ac Bug 1612378 - Part 1: Add a boolean IsOnContentBlockingAllowList in the CookieJarSettings. r=dimi,baku
In this patch, we add a IsOnContentBlockingAllowList boolean in the
CookieJarSettings. This boolean would be used to indicate whether the
top-level site in in the content blocking allow list.

Differential Revision: https://phabricator.services.mozilla.com/D66208

--HG--
extra : moz-landing-system : lando
2020-03-25 13:20:21 +00:00
sonakshi d0bf0d67e0 Bug 1608599 - Add preloaded status for requests in the Network panel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67764

--HG--
extra : moz-landing-system : lando
2020-03-25 13:04:35 +00:00
Andrea Marchesini 2f43df007a Bug 1293067 - Implement a cookie limit warning, r=mayhemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D67329

--HG--
extra : moz-landing-system : lando
2020-03-25 11:30:45 +00:00
MahakBansal 0481f58467 Bug 1624279 - Convert nsOnStartRequestEvent* to RefPtr<nsOnStartRequestEvent> r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67907

--HG--
extra : moz-landing-system : lando
2020-03-25 12:28:31 +00:00
Cosmin Sabou 22c2e8d92c Backed out 2 changesets (bug 1293067) for failures on browser_oversize.js.
CLOSED TREE

Backed out changeset 5df9d39b0b98 (bug 1293067)
Backed out changeset 8ed41aa3ed4f (bug 1293067)
2020-03-25 13:24:19 +02:00
Andrea Marchesini 6a03963e65 Bug 1293067 - Implement a cookie limit warning - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67330

--HG--
extra : moz-landing-system : lando
2020-03-25 10:39:03 +00:00
Andrea Marchesini 1c645731e5 Bug 1293067 - Implement a cookie limit warning, r=mayhemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D67329

--HG--
extra : moz-landing-system : lando
2020-03-25 10:38:45 +00:00
Dan Glastonbury 0d0ef2e1f6 Bug 1624761 - Remove OverrideStatus from DocumentLoadListener. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D68132

--HG--
extra : moz-landing-system : lando
2020-03-25 01:12:37 +00:00
Dragana Damjanovic aecbe2330a Bug 1618158 - Make Http3Session ref counting thread-safe. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D67703

--HG--
extra : moz-landing-system : lando
2020-03-24 23:01:34 +00:00
Dragana Damjanovic dbac585790 Bug 1623501 - WebSocket cannot run over http3. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D67890

--HG--
extra : moz-landing-system : lando
2020-03-24 21:23:28 +00:00
Nico Grunbaum 7c9ebecaf3 Bug 1552293 - round up freinds of DataChannel and DataChannelConnection - r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D31527

--HG--
extra : moz-landing-system : lando
2020-03-23 20:35:28 +00:00
Kevin Jacobs 00c927efc6 Bug 1624128 - Update CK_GCM_PARAMS uses for PKCS11 v3.0 definition r=keeler
This patch initializes the ulIvBits member of CK_GCM_PARAMS, which is new in PKCS11 v3.

For libprio, we instead define NSS_PKCS11_2_0_COMPAT, which yields the old struct definition.

Differential Revision: https://phabricator.services.mozilla.com/D67740

--HG--
extra : moz-landing-system : lando
2020-03-24 16:41:27 +00:00
Andrea Marchesini 400b195fb8 Bug 1437057 - Expose the origin of a cookie to JS - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67590

--HG--
extra : moz-landing-system : lando
2020-03-24 17:52:41 +00:00
Andrea Marchesini bd961ae216 Bug 1437057 - Expose the origin of a cookie to JS, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67589

--HG--
extra : moz-landing-system : lando
2020-03-24 16:47:57 +00:00
Kristen Wright 656a5d7c45 Bug 1622111 - Convert four security.mixed_content.* prefs in nsMixedContentBlocker r=njn
Converts `security.mixed_content.block_object_subrequest`, `security.mixed_content.block_display_content`, `security.mixed_content.upgrade_display_content`, and `security.mixed_content.block_active_content` to static prefs.

Differential Revision: https://phabricator.services.mozilla.com/D67205

--HG--
extra : moz-landing-system : lando
2020-03-19 00:54:29 +00:00
Kristen Wright 5094f72a18 Bug 1622111 - Convert security.data_uri.unique_opaque_origin to static pref and remove ClientPrefs. r=njn
Converts security.data_uri.unique_opaque_origin to a static pref. This pref was initialized by the ClientManager in ClientPrefs, so this commit also removes those files. Somehow this pref was getting added in VarCache twice, so it also removes the places where the pref was added in Networking.

Differential Revision: https://phabricator.services.mozilla.com/D67185

--HG--
extra : moz-landing-system : lando
2020-03-23 16:08:52 +00:00
Andrea Marchesini d7badaf4fb Bug 1623593 - Get rid of NECKO_COOKIES compilation flag, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67451

--HG--
extra : moz-landing-system : lando
2020-03-24 16:30:03 +00:00
Andrea Marchesini 11a52fafb6 Bug 1623313 - gtest for pref network.cookie.sameSite.laxByDefault.disabledHosts, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67306

--HG--
extra : moz-landing-system : lando
2020-03-24 16:09:05 +00:00
Andrea Marchesini 23a1e408dc Bug 1623313 - disable cookie sameSite=laxByDefault for a list of hosts by pref, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67305

--HG--
extra : moz-landing-system : lando
2020-03-24 16:08:36 +00:00
Andrea Marchesini 4fa365563a Bug 1622306 - Group cookie console info/warning logs, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D66890

--HG--
extra : moz-landing-system : lando
2020-03-24 09:41:07 +00:00
Dragana Damjanovic f5a03c008e Bug 1623755 - Fix http version parsing. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67549

--HG--
extra : moz-landing-system : lando
2020-03-23 18:38:45 +00:00
Andrea Marchesini afcfb5927f Bug 1623867 - Get rid of expired cookies telemetry IDs, r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D67610

--HG--
extra : moz-landing-system : lando
2020-03-23 17:39:31 +00:00
undef1nd c9ce90a9d3 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 15:01:18 +00:00
ffxbld 688cc76dfc No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D67852

--HG--
extra : moz-landing-system : lando
2020-03-23 13:43:31 +00:00
Mihai Alexandru Michis 2b56315b69 Backed out changeset 41f948371551 (bug 1624189) for causing bustages in base/nsURLHelper.cpp
CLOSED TREE
2020-03-23 15:18:09 +02:00
undef1nd eaecb6baf8 Bug 1624189 - Generate rust-helper's header file via cbindgen r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67786

--HG--
extra : moz-landing-system : lando
2020-03-23 12:57:45 +00:00
anjali1903 75f45064cc Bug 1622794 Replace URIParams with nsIURI in PNecko.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67567

--HG--
extra : moz-landing-system : lando
2020-03-23 12:54:35 +00:00
Andrea Marchesini 96d0e4f828 Bug 1402784 - Introduce nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D67105

--HG--
extra : moz-landing-system : lando
2020-03-17 11:29:33 +00:00
MahakBansal d5e339d91f Bug 1621082 - Convert OutboundMessage::mMsg to a mozilla::Variant r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66873

--HG--
extra : moz-landing-system : lando
2020-03-23 10:02:31 +00:00
Brindusan Cristian 4646c1f41f Backed out 2 changesets (bug 1614933) for bc failures at browser_tabicon_after_bg_tab_crash.js.
Backed out changeset 59503d3a702f (bug 1614933)
Backed out changeset 578c8ba9598f (bug 1614933)
2020-03-22 17:30:07 +02:00
Gabriele Svelto 322404bebb Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

Differential Revision: https://phabricator.services.mozilla.com/D62586

--HG--
extra : moz-landing-system : lando
2020-03-21 17:13:08 +00:00
Michal Novotny 57e9dcd9e4 Bug 1624105 - We don't try to activate Http3Stream again if it failed once r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67733

--HG--
extra : moz-landing-system : lando
2020-03-21 23:51:58 +00:00
Tom Schuster d99e2a3133 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:13 +00:00
Dragana Damjanovic ce21ab8ef9 Bug 1623312 - Slow reader will be added to a queue and ForceRecv will be called. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D67307

--HG--
extra : moz-landing-system : lando
2020-03-20 18:59:30 +00:00
Mihai Alexandru Michis 13d1400778 Backed out 4 changesets (bug 1622562) for causing wpt failures.
CLOSED TREE

Backed out changeset 1ab69d63949b (bug 1622562)
Backed out changeset a5c299f23df7 (bug 1622562)
Backed out changeset 233b80b283fb (bug 1622562)
Backed out changeset e76f213e7f04 (bug 1622562)

--HG--
extra : rebase_source : 3765e25897f0d8f95a7304e11713bf5aed8f5b83
2020-03-20 20:56:58 +02:00
Tom Schuster 7328dae6e3 Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67029

--HG--
extra : moz-landing-system : lando
2020-03-20 17:24:28 +00:00
Dragana Damjanovic 73917fdfe5 Bug 1622861 - Check that Http3Session is present in HttpConnectionUDP::CloseTransaction. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D67308

--HG--
extra : moz-landing-system : lando
2020-03-20 16:21:57 +00:00
Dragana Damjanovic 2c4e6310d5 Bug 1622861 - Make closing of http3 connection more understandable and remove some unused code. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67005

--HG--
extra : moz-landing-system : lando
2020-03-20 16:08:16 +00:00
Bogdan Tara a3db8af185 Backed out 3 changesets (bug 1602832) for assertion failing on IOInterposer.cpp CLOSED TREE
Backed out changeset 9123faab0d42 (bug 1602832)
Backed out changeset 4c3764b3d7bc (bug 1602832)
Backed out changeset 9c955a99c95d (bug 1602832)
2020-03-20 14:03:28 +02:00
Kershaw Chang 2086e3d17b Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448

--HG--
extra : moz-landing-system : lando
2020-03-19 15:01:44 +00:00
Kershaw Chang 1e77753c5b Bug 1602832 - P1: Run xpcshell tests without e10s with socket process r=dragana
1. Add `network.process.enabled` beck to `all.js`, since it's easier to run xpcshell tests locally.
2. Launch socket process at `nsHttpHandler::Init`.
3. Allow to launch socket process for running xpcshell test without e10s.

Differential Revision: https://phabricator.services.mozilla.com/D58110

--HG--
extra : moz-landing-system : lando
2020-03-19 10:29:57 +00:00
Christoph Kerschbaumer 3e884ce321 Bug 1188538: Ensure every protocol handler sets a valid security flag. r=bholley,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D67496

--HG--
extra : moz-landing-system : lando
2020-03-20 08:25:18 +00:00
Andrea Marchesini 53edc6acc8 Bug 1620179 - cookie sameSite=lax by default must have a 2 minute tolerance for unsafe HTTP methods, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66781

--HG--
extra : moz-landing-system : lando
2020-03-20 07:51:26 +00:00
Andrea Marchesini 904121ca5b Bug 1585306 - private browsing and beacon requests - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66746

--HG--
extra : moz-landing-system : lando
2020-03-19 16:24:21 +00:00
Andrea Marchesini 1138d01b8a Bug 1585306 - HTTP channels must check if the browsing context is discarded, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66760

--HG--
extra : moz-landing-system : lando
2020-03-19 16:23:40 +00:00
Andrea Marchesini 4a7c415e8a Bug 1585306 - nsILoadGroup observes last-pb-context-exit to monitor the browsing context, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66745

--HG--
extra : moz-landing-system : lando
2020-03-19 16:24:21 +00:00