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

19444 Коммитов

Автор SHA1 Сообщение Дата
Dan Glastonbury 2fb206b546 Bug 1620119 - Remove isActive from DocumentChannelCreationArgs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65444

--HG--
extra : moz-landing-system : lando
2020-03-10 00:44:01 +00:00
Dan Glastonbury 27632abf25 Bug 1620107 - P3: Remove isTopLevelDoc from DocumentChannelCreationArgs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65433

--HG--
extra : moz-landing-system : lando
2020-03-10 00:43:58 +00:00
Dan Glastonbury 73cd3c19e9 Bug 1620107 - P2: Remove loadType from DocumentChannelCreationArgs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65432

--HG--
extra : moz-landing-system : lando
2020-03-10 00:43:56 +00:00
Dan Glastonbury b5bd2e5db0 Bug 1620107 - P1: Remove hasNonEmptySandboxingFlags from DocumentChannelCreationArgs. r=mattwoodrow,nika
Differential Revision: https://phabricator.services.mozilla.com/D65431

--HG--
extra : moz-landing-system : lando
2020-03-10 00:43:49 +00:00
Sebastian Streich b99da058ec Bug 1620441 - Refactor nsHttpChannel.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D65625

--HG--
extra : moz-landing-system : lando
2020-03-09 22:15:20 +00:00
Ehsan Akhgari 5200d034f5 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 23:36:39 +00:00
Ehsan Akhgari 2a68f773ba Bug 1620322 - Part 4: Refactor the code for the redirect heuristic out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65752

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:41 +00:00
Ehsan Akhgari c8b15ee520 Bug 1620322 - Part 3: Move MaybeGetDocumentURIBeingLoaded to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65751

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:39 +00:00
Ehsan Akhgari 8e46ea55d2 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:37 +00:00
Kershaw Chang 99be2e1886 Bug 1621005 - Make TRRServiceChannel only support https scheme r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66058

--HG--
extra : moz-landing-system : lando
2020-03-09 19:03:29 +00:00
Kershaw Chang 4171cffa9b Bug 1621051 - Add a mutext to protect mRestrictedPortList,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66086

--HG--
extra : moz-landing-system : lando
2020-03-09 19:03:27 +00:00
Narcis Beleuzu 0186cbe565 Backed out 8 changesets (bug 1620322) for bustages on nsContentSink.cpp . CLOSED TREE
Backed out changeset f41739c64dff (bug 1620322)
Backed out changeset be942a7f329e (bug 1620322)
Backed out changeset a916987c7c71 (bug 1620322)
Backed out changeset ead3484ffb5f (bug 1620322)
Backed out changeset 4e1e8b9afa1a (bug 1620322)
Backed out changeset 473bba698e5a (bug 1620322)
Backed out changeset 0e5e5d41597d (bug 1620322)
Backed out changeset 31b24d79db3d (bug 1620322)

--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 22:18:36 +02:00
Ehsan Akhgari 5045d313c2 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 18:12:40 +00:00
Ehsan Akhgari a1313db812 Bug 1620322 - Part 4: Refactor the code for the redirect heuristic out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65752

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:30 +00:00
Ehsan Akhgari f658ede842 Bug 1620322 - Part 3: Move MaybeGetDocumentURIBeingLoaded to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65751

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:28 +00:00
Ehsan Akhgari 78677f7812 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:26 +00:00
Sebastian Streich 59362e319c Bug 1620647 - Refactor nsHttpChannelAuthProvider r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D65762

--HG--
extra : moz-landing-system : lando
2020-03-09 18:38:29 +00:00
Andrea Marchesini b1699066b0 Bug 1621003 - Get rid of Set_Cookie2 nsHttp atom header, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D66041

--HG--
extra : moz-landing-system : lando
2020-03-09 16:58:08 +00:00
Noemi Erli a48fac9e3b Backed out 8 changesets (bug 1620322) for causing bustages in ContentBlockingLog.cpp CLOSED TREE
Backed out changeset 3dcf513e36cb (bug 1620322)
Backed out changeset 46714855ce1d (bug 1620322)
Backed out changeset 0eb2b5f7322f (bug 1620322)
Backed out changeset 72d640fa0740 (bug 1620322)
Backed out changeset 4533bb4e5177 (bug 1620322)
Backed out changeset 659270edd419 (bug 1620322)
Backed out changeset 6802c18b1914 (bug 1620322)
Backed out changeset 60ff34db9f15 (bug 1620322)

--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 19:19:41 +02:00
Ehsan Akhgari 1195c302a4 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 10:23:07 +00:00
Ehsan Akhgari c8e7dec480 Bug 1620322 - Part 4: Refactor the code for the redirect heuristic out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65752

--HG--
extra : moz-landing-system : lando
2020-03-09 10:20:53 +00:00
Ehsan Akhgari a860758740 Bug 1620322 - Part 3: Move MaybeGetDocumentURIBeingLoaded to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65751

--HG--
extra : moz-landing-system : lando
2020-03-09 10:20:12 +00:00
Ehsan Akhgari 4bc71d0112 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 10:16:54 +00:00
Michael Froman 40fb8ff87d Bug 1608558 - pt2 - add SandboxBrokerPolicyFactory::GetSocketProcessPolicy to allow access to certs. r=jld,gcp
Differential Revision: https://phabricator.services.mozilla.com/D62444

--HG--
extra : moz-landing-system : lando
2020-03-09 14:56:24 +00:00
Michael Froman 140e0771d3 Bug 1608558 - pt1 - add linux sandboxing to socket process. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D60014

--HG--
extra : moz-landing-system : lando
2020-03-09 14:56:03 +00:00
sonakshi e44d6706b8 Bug 1620687 - Removing unused aURI parameter r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D65868

--HG--
extra : moz-landing-system : lando
2020-03-09 14:33:25 +00:00
Sylvestre Ledru b2e3d51d34 Bug 1617369 - Reformat netwerk/ using rustfmt r=agrover
Depends on D65897

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

--HG--
extra : moz-landing-system : lando
2020-03-09 09:48:01 +00:00
Andrea Marchesini 750d1a507f Bug 1454781 - SameSite policy logged in the console - part 5 - Console messages for beta, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65579

--HG--
extra : moz-landing-system : lando
2020-03-09 09:42:45 +00:00
Andrea Marchesini f710f5d5ef Bug 1454781 - SameSite policy logged in the console - part 4 - tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65313

--HG--
extra : moz-landing-system : lando
2020-03-09 09:42:45 +00:00
Andrea Marchesini 371649e01e Bug 1454781 - SameSite policy logged in the console - part 3 - log invalid sameSite values, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65315

--HG--
extra : moz-landing-system : lando
2020-03-05 03:41:50 +00:00
Andrea Marchesini 3d32ec99d9 Bug 1454781 - SameSite policy logged in the console - part 2 - Console messages, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65242

--HG--
extra : moz-landing-system : lando
2020-03-06 17:21:51 +00:00
Andrea Marchesini 4d8ab701dd Bug 1454781 - SameSite policy logged in the console - part 1 - more data shown in MOZ_LOG, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65241

--HG--
extra : moz-landing-system : lando
2020-03-05 11:04:44 +00:00
sonakshi 8d463effbd Bug 1620681 - Removed nsISubstitutionObserver.idl and its references r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D65907

--HG--
extra : moz-landing-system : lando
2020-03-09 09:08:27 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Kershaw Chang c86671a23a Bug 1620758 - Don't call AltSvcMapping::ProcessHeader OMT r=valentin
This patch contains two changes.
1. `AltSvcMapping::ProcessHeader` is not thread-safe, so dispatching an async task to do this.
2. `TRRService::Init` is called earlier before the user profile is loaded. If `network.trr.fetch_off_main_thread` is default to false and changed to true by users, TRR background thread would not be created.

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

--HG--
extra : moz-landing-system : lando
2020-03-08 13:52:07 +00:00
Michal Novotny d607330e6d Bug 1470571 - Sync with cache IO thread before checking alt-data flag in index, r=valentin
syncWithCacheIOThread() ensures that all pending events on IO thread are processed before we continue on the main thread, where we synchronously check the flag in the index

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:36:43 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Boris Zbarsky 00cd5d4380 Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
Callers should pass in UTF-8, since that's what the JS engine ends up with in the end anyway.

The various URL changes are because NS_NewURI converts incoming nsAString to
UTF-8 anyway.  So we might as well do that up-front and then use the UTF-8
string for both the NS_NewURI call and the error-reporting if it fails.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:02 +00:00
Ehsan Akhgari 5a4c537105 Bug 1620322 - Part 1: Refactor the code for content blocking allow list out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65662

--HG--
extra : moz-landing-system : lando
2020-03-06 16:36:01 +00:00
Simon Giesecke 14dbfcaa29 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in netwerk. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65496

--HG--
extra : moz-landing-system : lando
2020-03-06 09:22:49 +00:00
Christoph Kerschbaumer 2a8f862604 Bug 1620514: Remove null checks for loadinfo within nsHttpChannel. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65684

--HG--
extra : moz-landing-system : lando
2020-03-06 08:36:09 +00:00
Matt Woodrow 5eb1e13fa3 Bug 1618057 - Use the target BrowsingContext of the load, rather than the process-top BrowsingContext when initializing DocumentLoadListener. r=nika
This also fixes the Window lookup in nsExternalAppHandler, which was the reason for previously needing the process-top BrowsingContext.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 21:15:50 +00:00
Tim Huang 93e600f428 Bug 1619602 - Part 1: Recompute the ContentBlockingAllowListPrincipal if this is a top-level load. r=dimi,Ehsan
For top-level load, we only recompute the ContentBlockingAllowListPrincipal
if the original one is a NullPrincipal. This is for the case for the
initial navigation from about:blank to the loading page. But if we do a
navigation that it is not from the about:blank, we won't recompute it.
This introduces an issue that we would use a wrong principal for the
top-level loading channel.

This patch enforces the recomputation for the top-level loading
regardlesss if the original ContentBlockingAllowList is a NullPrincipal.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 10:48:39 +00:00
Mike Shal c1b6e67162 Bug 1620035 - Run several GENERATED_FILES scripts in py3; r=firefox-build-system-reviewers,rstewart
These already work in py3. I either missed them in bug 1616630, or they
were dependent on other scripts that have since been converted.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 17:06:21 +00:00
Kershaw Chang 181dd8f70e Bug 1619582 - Rename SimpleHttpChannel to TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D65560

--HG--
rename : netwerk/protocol/http/SimpleHttpChannel.cpp => netwerk/protocol/http/TRRServiceChannel.cpp
rename : netwerk/protocol/http/SimpleHttpChannel.h => netwerk/protocol/http/TRRServiceChannel.h
extra : rebase_source : 016b66393aae71056dd591f685a0c45d2ae5f78d
extra : source : b1a40e8bc1620f7198984d2ae853f43ef509236c
2020-03-05 18:13:32 +00:00
Daniel Varga 95c78df58f Backed out changeset b1a40e8bc162 (bug 1619582) for causing linting failure
CLOSED TREE

--HG--
rename : netwerk/protocol/http/TRRServiceChannel.cpp => netwerk/protocol/http/SimpleHttpChannel.cpp
rename : netwerk/protocol/http/TRRServiceChannel.h => netwerk/protocol/http/SimpleHttpChannel.h
2020-03-05 20:35:52 +02:00
Kershaw Chang 4fc8a0de16 Bug 1619582 - Rename SimpleHttpChannel to TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D65560

--HG--
rename : netwerk/protocol/http/SimpleHttpChannel.cpp => netwerk/protocol/http/TRRServiceChannel.cpp
rename : netwerk/protocol/http/SimpleHttpChannel.h => netwerk/protocol/http/TRRServiceChannel.h
extra : moz-landing-system : lando
2020-03-05 18:13:32 +00:00
Cosmin Sabou 9ec8941cd4 Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE
Backed out changeset 05dbbf7c379f (bug 1603703)
Backed out changeset a1e723439116 (bug 1603703)

--HG--
extra : rebase_source : 65d834f15b63fdd0ce5c90d2efd080e4841777aa
2020-03-05 19:37:32 +02:00
ffxbld 39c3d77141 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D65516

--HG--
extra : moz-landing-system : lando
2020-03-05 17:17:28 +00:00
Simon Giesecke 9e296ae57f Bug 1603703 - Part 2: Rename CreateFunction/RemoveFunction to RegisterFunction/UnregisterFunction. r=mak
Depends on D57089

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

--HG--
extra : moz-landing-system : lando
2020-03-05 15:14:56 +00:00