Commit Graph

19638 Commits

Author SHA1 Message Date
Andrea Marchesini
f1cec250a8 Bug 1585306 - nsILoadGroup and nsILoadGroupChild as builtinclass, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66744

--HG--
extra : moz-landing-system : lando
2020-03-19 16:21:26 +00:00
Honza Bambas
c182c59955 Bug 1607218 - Make nsProxyInfo.mResolveFlags Atomic, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D64807

--HG--
extra : moz-landing-system : lando
2020-02-28 20:14:07 +00:00
Mihai Alexandru Michis
93ec4f0381 Backed out changeset f01596089356 (bug 1220810) for causing crashes in test_performance_attributes_exist_in_object.html
CLOSED TREE
2020-03-19 17:12:32 +02:00
Andrea Marchesini
e4db0e4496 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586

--HG--
extra : moz-landing-system : lando
2020-03-19 13:06:48 +00:00
Masatoshi Kimura
3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
Dan Glastonbury
85893ca83c Bug 1621192 - P4: Remove documentOpenFlags from DocumentChannelCreationArgs. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66170

--HG--
extra : moz-landing-system : lando
2020-03-19 01:49:24 +00:00
Dan Glastonbury
2e0a825b23 Bug 1621192 - P3: Remove mPluginsAllowed from DocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D66169

--HG--
extra : moz-landing-system : lando
2020-03-19 01:49:11 +00:00
Dan Glastonbury
2bb6d70d00 Bug 1621192 - P1: Move allowPlugins to BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66167

--HG--
extra : moz-landing-system : lando
2020-03-19 01:48:56 +00:00
Stefan Hindli
5f419e4b50 Backed out 9 changesets (bug 1622111) for causing mochitest failures in dom/animation/test/mozilla/test_restyles.html CLOSED TREE
Backed out changeset c244160797f8 (bug 1622111)
Backed out changeset dd9209f6bd8b (bug 1622111)
Backed out changeset d694c9e7061f (bug 1622111)
Backed out changeset 486aae809f6d (bug 1622111)
Backed out changeset 709266168c41 (bug 1622111)
Backed out changeset ca0d47bb86a8 (bug 1622111)
Backed out changeset caa735c8bb91 (bug 1622111)
Backed out changeset 12397711ab25 (bug 1622111)
Backed out changeset b66002fd1480 (bug 1622111)
2020-03-19 02:47:51 +02:00
Kristen Wright
edf4e23c7d 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-18 23:25:13 +00:00
Kristen Wright
54ef9a89c8 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-18 22:12:20 +00:00
Stefan Hindli
91f4c18048 Backed out 4 changesets (bug 1622042) for causing AddonInstallException: Could not install add-on: c:\users\task_1584560140\appdata\local\temp\tmpbg9_h7.zip: ERROR_FILE_ACCESS: There was an error accessing the filesystem. CLOSED TREE
Backed out changeset 929043330599 (bug 1622042)
Backed out changeset b08cdd075e20 (bug 1622042)
Backed out changeset ca87f1c6b90b (bug 1622042)
Backed out changeset 27dbbb7cd590 (bug 1622042)
2020-03-18 22:49:23 +02:00
Sebastian Streich
9cc7686ece Bug 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66634

--HG--
extra : moz-landing-system : lando
2020-03-18 16:00:53 +00:00
Valentin Gosu
8f8a2e2547 Bug 1617889 - Fix COOP comparison check r=michal
Differential Revision: https://phabricator.services.mozilla.com/D64083

--HG--
extra : moz-landing-system : lando
2020-03-17 16:36:17 +00:00
Kershaw Chang
0745a1676c Bug 1619584 - P2: Implement redirection r=valentin,dragana
Depends on D67150

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

--HG--
extra : moz-landing-system : lando
2020-03-18 15:13:09 +00:00
Kershaw Chang
c5b3e4d860 Bug 1619584 - Allow TRR to append DNS query string r=valentin
Depends on D66772

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

--HG--
extra : moz-landing-system : lando
2020-03-18 15:12:52 +00:00
Kershaw Chang
18721df102 Bug 1619584 - P1: Introduce TRRLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-18 15:12:36 +00:00
Andy Grover
b500f1a581 Bug 1623185 - Update Neqo to 0.2.2 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67232

--HG--
extra : moz-landing-system : lando
2020-03-17 23:56:48 +00:00
Paul Bone
199722f910 Bug 1611907 - Remove AssertNotDocumentChannel r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D67093

--HG--
extra : moz-landing-system : lando
2020-03-17 19:20:58 +00:00
Mathieu Leplatre
bc6e54afaa Bug 1620185 - Remove usage of .openCollection() in other modules r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D66749

--HG--
extra : moz-landing-system : lando
2020-03-17 20:21:54 +00:00
Ciure Andrei
078138600a Backed out 3 changesets (bug 1619584) for causing build bustages CLOSED TREE
Backed out changeset 264d787ca2e7 (bug 1619584)
Backed out changeset d9cc82da0150 (bug 1619584)
Backed out changeset f9566be72ee5 (bug 1619584)
2020-03-17 22:55:52 +02:00
Kershaw Chang
5175b3c1e2 Bug 1619584 - P2: Implement redirection r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D66773

--HG--
extra : moz-landing-system : lando
2020-03-17 16:41:25 +00:00
Kershaw Chang
b7a96895f0 Bug 1619584 - Allow TRR to append DNS query string r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67150

--HG--
extra : moz-landing-system : lando
2020-03-17 16:41:21 +00:00
Kershaw Chang
35dfea302c Bug 1619584 - P1: Introduce NullLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-17 20:38:55 +00:00
Haik Aftandilian
ce0541018a Bug 1602635 - [macOS] Remove security.sandbox.content.mac.earlyinit and the old sandbox startup code paths r=spohl
Remove old content sandbox code paths that allowed the sandbox to be started
later during content process startup when the SetProcessSandbox() message was
received from the parent process. This older way of starting the sandbox was
still in the tree to support WebReplay which is now being removed. With this
fix, content processes always use the "earlyinit" sandbox startup like the
RDD and GMP processes.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 18:29:03 +00:00
JulianWels
e5c3036681 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-17 19:24:31 +00:00
Cosmin Sabou
029804e3f7 Backed out 4 changesets (bug 1622042) for causing build bustages on nsContentUtils.cpp. CLOSED TREE
Backed out changeset dc7af5abb8de (bug 1622042)
Backed out changeset 16e3b4a1fefc (bug 1622042)
Backed out changeset f60b16588dad (bug 1622042)
Backed out changeset 4193aea26e28 (bug 1622042)

--HG--
extra : amend_source : 2f2befe5703f683ccaac6d634fc4a262db9fff86
2020-03-17 20:38:35 +02:00
Sebastian Streich
6deb42e865 Bug 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66634

--HG--
extra : moz-landing-system : lando
2020-03-17 17:11:52 +00:00
Kershaw Chang
8129d84d1d Bug 1527384 - Introduce PAltSvcTransaction for carrying the validated result from socket process to parent process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65188

--HG--
extra : moz-landing-system : lando
2020-03-17 16:32:12 +00:00
Kershaw Chang
37344d5f8a Bug 1527384 - Implement SpeculativeConnect for socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D64597

--HG--
extra : moz-landing-system : lando
2020-03-17 16:32:32 +00:00
Kershaw Chang
c523e09d38 Bug 1527384 - Make net_EnsurePSMInit() work on socket process r=dragana
`net_EnsurePSMInit()` in socket process is called from `nsHttpConnectionMgr::SpeculativeConnect`, so let's also call `EnsureNSSInitializedChromeOrContent` to ensure NSS component is initialized.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 16:32:32 +00:00
Brindusan Cristian
2e859a7b70 Backed out 3 changesets (bug 1619584) for build bustages at UniquePtr.h. CLOSED TREE
Backed out changeset 0f77b2c11966 (bug 1619584)
Backed out changeset 330cffde7320 (bug 1619584)
Backed out changeset 563470b21a8f (bug 1619584)
2020-03-17 18:36:09 +02:00
Kershaw Chang
1a69c8800a Bug 1619584 - P2: Implement redirection r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D66773

--HG--
extra : moz-landing-system : lando
2020-03-17 15:51:01 +00:00
Kershaw Chang
4a22dca83d Bug 1619584 - Allow TRR to append DNS query string r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67150

--HG--
extra : moz-landing-system : lando
2020-03-17 14:30:47 +00:00
Kershaw Chang
568d63c2bd Bug 1619584 - P1: Introduce TRRLoadInfo for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66772

--HG--
extra : moz-landing-system : lando
2020-03-17 14:15:32 +00:00
anjali1903
4018161e48 Bug 1621251 Replace NS_ADDREF(*var = other) with *var = do_AddRef(other).take() in /netwerk r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66818

--HG--
extra : moz-landing-system : lando
2020-03-17 15:05:26 +00:00
MahakBansal
aed05546dc Bug 1599373 - Checking for http proxy should compare only 4 characters.r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66860

--HG--
extra : moz-landing-system : lando
2020-03-17 11:22:10 +00:00
Chris Fronk
d5b004443b Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-17 12:42:12 +00:00
Matt Woodrow
6bc2c7bf45 Bug 1620875 - Don't duplicate loadFlags in the http specific config as well as the generic config for DocumentChannel replacement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65922

--HG--
extra : moz-landing-system : lando
2020-03-16 00:56:03 +00:00
Noemi Erli
f10f67e74c Backed out changeset 21f62488a5b5 (bug 1620242) for causing bustages in nsMixedContentBlocker.cpp CLOSED TREE 2020-03-16 23:11:00 +02:00
JulianWels
c2c4e65115 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-16 16:47:54 +00:00
Valentin Gosu
51343665fb Bug 1621877 - Add more unit tests for setting an empty host on URLTYPE_AUTHORITY URLs r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D66541

--HG--
extra : moz-landing-system : lando
2020-03-13 13:34:16 +00:00
sonakshi
587a2573ea Bug 1622733 - Removed unused URIParams header in ipdl files r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66991

--HG--
extra : moz-landing-system : lando
2020-03-16 18:25:11 +00:00
sonakshi
641f3860b8 Bug 1621589 - Convert pointer to rtcweb_datachannel_open_request to UniqueFreePtr r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66894

--HG--
extra : moz-landing-system : lando
2020-03-16 15:19:44 +00:00
ffxbld
5102396177 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D66963

--HG--
extra : moz-landing-system : lando
2020-03-16 13:48:38 +00:00
Marco Bonardo
b9072f2115 Bug 1621168 - Add a way to validate an origin suffix against the public suffix list. r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D66146

--HG--
extra : moz-landing-system : lando
2020-03-12 15:17:56 +00:00
Marco Bonardo
2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
sonakshi
70f58c425c Bug 1622623 - Removed unused header URIParams from PDataChannel.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66925

--HG--
extra : moz-landing-system : lando
2020-03-16 09:59:23 +00:00
Matt Woodrow
67e4cb66fe Bug 1611081 - Add multipart support to nsStreamListenerTee. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66713

--HG--
extra : moz-landing-system : lando
2020-03-16 00:58:34 +00:00
MahakBansal
afb2989850 Bug 1621539 - Replace PL_Base64Encode with Base64Encode r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66452

--HG--
extra : moz-landing-system : lando
2020-03-15 19:24:39 +00:00
undef1nd
4cba8fb8e6 Bug 1620769 - Convert net_IsValidScheme function to Rust r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66871

--HG--
extra : moz-landing-system : lando
2020-03-15 12:09:57 +00:00
sonakshi
7b0de70e19 Bug 1609078 - Removed browser.tabs.remote.useCORP r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66861

--HG--
extra : moz-landing-system : lando
2020-03-15 11:03:57 +00:00
Christoph Kerschbaumer
af63b804a6 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : source : a0508ae6c037928981ac2733860b6ec84d7069ec
2020-03-14 17:28:41 +00:00
Brindusan Cristian
11cc2fbf73 Backed out changeset a0508ae6c037 (bug 1508292) for sm bustage.
--HG--
extra : rebase_source : 0db77cae1e8115c19dbaa6d556b30890909ed996
2020-03-14 22:40:55 +02:00
Christoph Kerschbaumer
bc8997ee18 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : moz-landing-system : lando
2020-03-14 17:28:41 +00:00
Noemi Erli
0dfb969f81 Backed out changeset e1e71813c4a5 (bug 1609078) for causing web platform failure in blob.https.html CLOSED TREE 2020-03-14 18:07:34 +02:00
sonakshi
4aa4a8f29b Bug 1609078 - Removed browser.tabs.remote.useCORP r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66861

--HG--
extra : moz-landing-system : lando
2020-03-14 12:22:54 +00:00
Ed Lee
acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Mihai Alexandru Michis
75355611d1 Backed out changeset 46dfbb4de902 (bug 1620242) for causing failures in test_x-frame-options.html
CLOSED TREE
2020-03-13 18:24:03 +02:00
Mihai Alexandru Michis
bc46756805 Backed out changeset 93abc56ef420 (bug 1599131) for causing failures in frame-ancestors-from-serviceworker.https.html 2020-03-13 18:23:15 +02:00
Michael Froman
1edd53808e Bug 1611288 - add macOS sandboxing to socket process. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D60988

--HG--
extra : moz-landing-system : lando
2020-03-12 17:13:40 +00:00
JulianWels
d5b073f588 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-13 14:25:08 +00:00
Christoph Kerschbaumer
5ea63e55c7 Bug 1599131: Remove carve outs for downloads within x-frame-options when fission enabled. r=smaug,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65949

--HG--
extra : moz-landing-system : lando
2020-03-13 14:20:20 +00:00
Ricky Stewart
13aa77e4a5 Bug 1619460 - ensure subsequent runs of ./mach build-backend under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:26 +00:00
Sebastian Streich
13de9eb145 Bug 1621305 - Remove GetUri in nsChannelClassifier.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66248

--HG--
extra : moz-landing-system : lando
2020-03-12 19:47:51 +00:00
AlaaEmad
e1148a5551 Bug 1621395 - Convert mQueue to nsTArray<UniquePtr<nsOpenConn>> r=valentin
***
Bug 1621395 - Convert mQueue to nsTArray<UniquePtr<nsOpenConn>>

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

--HG--
extra : moz-landing-system : lando
2020-03-12 18:28:39 +00:00
Cosmin Sabou
8041bb7baa Backed out changeset 06202ffdb7f5 (bug 1621395) as requested by valentin.
CLOSED TREE
2020-03-12 20:30:09 +02:00
AlaaEmad
09b737bd40 Bug 1621395 - Convert mQueue to nsTArray<UniquePtr<nsOpenConn>> r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66488

--HG--
extra : moz-landing-system : lando
2020-03-12 17:38:51 +00:00
Narcis Beleuzu
4437350f38 Backed out changeset 1f0cfca78242 (bug 1619460) perf regression in automation, req by rstewart. CLOSED TREE
--HG--
extra : rebase_source : ef3f1ce03bc9fdedb81d33ede68f9925f447ba32
2020-03-12 19:37:27 +02:00
ffxbld
7207d7f765 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D66614

--HG--
extra : moz-landing-system : lando
2020-03-12 17:07:37 +00:00
Valentin Gosu
a28e392c76 Bug 1618042 - Skip confirmation in TRR mode3 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66014

--HG--
extra : moz-landing-system : lando
2020-03-12 11:24:27 +00:00
Valentin Gosu
7aa88111eb Bug 1611651 - Make sure channels doing a stale-while-revalidate cannot trigger another revalidation r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65814

--HG--
extra : moz-landing-system : lando
2020-03-10 11:37:19 +00:00
Valentin Gosu
340feb823a Bug 1611651 - Add pref for stale-while-revalidate r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65813

--HG--
extra : moz-landing-system : lando
2020-03-10 19:04:43 +00:00
Valentin Gosu
fd2cf8c108 Bug 1611651 - Add test for stale-while-revalidate loop bug
Differential Revision: https://phabricator.services.mozilla.com/D64397

--HG--
rename : netwerk/test/unit/test_stale-while-revalidate_positive.js => netwerk/test/unit/test_stale-while-revalidate_loop.js
extra : moz-landing-system : lando
2020-03-07 16:59:16 +00:00
undef1nd
0e43c8b9d4 Bug 1620864 - Convert net_IsValidSchemeChar function to Rust r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66494

--HG--
extra : moz-landing-system : lando
2020-03-12 06:57:44 +00:00
Dan Glastonbury
6136427ec3 Bug 1620499 - Cleanup access to BrowsingContext. r=mattwoodrow
Use the local source of truth instead of retrieving the value from nsILoadInfo.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 02:03:48 +00:00
MahakBansal
51fab38129 Bug 1621538 - Remove unnecessary URIs lines released on main thread. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66441

--HG--
extra : moz-landing-system : lando
2020-03-11 22:01:57 +00:00
shindli
b02b3a6e1a Backed out changeset a08637fb30c8 (bug 1143478) for causing bustages in /builds/worker/checkouts/gecko/ipc/mscom/Registration.cpp CLOSED TREE
--HG--
rename : mfbt/CompactPair.h => mfbt/Pair.h
2020-03-11 14:30:54 +02:00
Chris Fronk
a27e438c2d Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-11 12:18:13 +00:00
Emilio Cobos Álvarez
62800f568a Bug 1621044 - Update neqo. r=agrover
This pulls a new bindgen version and so on.

See last patch of this bug for the relevant third_party/ code changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 21:04:54 +00:00
Mike Shal
dc0f12b8f8 Bug 1620744 - Convert prepare_tlds.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65851

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:27 +00:00
Bryce Seager van Dyk
dcdb7f732d Bug 1589749 - Comment out assertion in HttpChannelParent as invariant does not hold. r=asuth
It's possible to hit the commented assertion in debug builds as the invariant it
is checking can be violated. Disable it to prevent crashes in debug builds until
the invariant holds.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 19:34:49 +00:00
Daniel Varga
09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Mike Shal
c738ae638c Bug 1620744 - Convert prepare_tlds.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65851

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:34 +00:00
Kershaw Chang
55a6779ce5 Bug 1537761 - P2 Add an IPC message for AltSvcMapping::ProcessHeader r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65553

--HG--
extra : moz-landing-system : lando
2020-03-10 16:28:49 +00:00
Kershaw Chang
b2cd50f58e Bug 1537761 - P1: Send an IPC message for ClearHostMapping() r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65552

--HG--
extra : moz-landing-system : lando
2020-03-10 16:28:47 +00:00
Ricky Stewart
5a39034089 Bug 1619460 - ensure subsequent runs of ./mach build-backend under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-09 22:34:19 +00:00
Bogdan Tara
2cbd312d97 Backed out changeset ed75364b23c3 (bug 1618042) for xpc shell failures complaining about test_trr.js CLOSED TREE 2020-03-10 17:40:32 +02:00
Bogdan Tara
fb2b3d4e41 Backed out 2 changesets (bug 1614933) for busages complaining about IdleSchedulerChild.cpp CLOSED TREE
Backed out changeset ff92f800a74e (bug 1614933)
Backed out changeset 5cee8f603ae4 (bug 1614933)
2020-03-10 17:21:55 +02:00
Gabriele Svelto
9336e8143b 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-10 14:59:22 +00:00
Valentin Gosu
9542f19af8 Bug 1618042 - Skip confirmation in TRR mode3 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66014

--HG--
extra : moz-landing-system : lando
2020-03-10 11:39:06 +00:00
Kershaw Chang
73d4e22e87 Bug 1620824 - Test if TRRServiceChannel can handle gzip content encoding,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66199

--HG--
extra : moz-landing-system : lando
2020-03-10 14:28:27 +00:00
Kershaw Chang
22851c69c6 Bug 1620824 - Add content encoding support for TRRServiceChannel r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D65898

--HG--
extra : moz-landing-system : lando
2020-03-10 14:28:27 +00:00
Christoph Kerschbaumer
733f875cc0 Bug 1620924: Remove null checks for loadinfo within nsHttpBaseChannel. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65933

--HG--
extra : moz-landing-system : lando
2020-03-10 11:37:39 +00:00
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
Simon Giesecke
e6cae211c4 Bug 1603703 - Part 1: Change mozIStorageAsyncConnection::CreateFunction to accept a nsCOMPtr rather than a raw pointer. r=asuth,mak
Differential Revision: https://phabricator.services.mozilla.com/D57089

--HG--
extra : moz-landing-system : lando
2020-03-05 16:51:14 +00:00
Andrea Marchesini
9bc071f817 Bug 1619875 - Remove the remaining of the prompting code in the cookie-world, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65289

--HG--
extra : moz-landing-system : lando
2020-03-04 21:25:33 +00:00
Dragana Damjanovic
59d7c13750 Bug 1619813 - If transaction has data to write but is blocked on http3's max_stream_data put them in an array to wait for a DataWritable event. r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D65246

--HG--
extra : moz-landing-system : lando
2020-03-04 01:18:25 +00:00
Kershaw Chang
64d7034869 Bug 1619626 - Refactor TransactionObserver and fix the cycle issue r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65187

--HG--
extra : moz-landing-system : lando
2020-03-04 09:45:35 +00:00
Andrea Marchesini
fc29d15f51 Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65243

--HG--
extra : moz-landing-system : lando
2020-03-04 15:12:05 +00:00
Kershaw Chang
6fce0d130b Bug 1615335 - Use SimpleHttpChannel to fetch TRR data r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D63646

--HG--
extra : moz-landing-system : lando
2020-03-04 16:11:16 +00:00