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

7400 Коммитов

Автор SHA1 Сообщение Дата
Julien Wajsberg b63e2a6156 Bug 1543040 - Report timings for redirects in the child as well r=mayhemer
Depends on D31486

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:32 +00:00
Julien Wajsberg 6073a0fd93 Bug 1543040 - Report transaction timings in the redirect marker r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D31486

--HG--
extra : moz-landing-system : lando
2019-05-22 12:38:25 +00:00
Ehsan Akhgari 70dba3be94 Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30117

--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:43 +00:00
arthur.iakab af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Bogdan Tara fa8d90211a Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
Valentin Gosu b4b25d6861 Bug 1529911 - Ensure that mOnStartRequestCalled/mOnStopRequestCalled is set just before calling the listener to avoid reentrancy issues r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20499

--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:59 +00:00
Valentin Gosu 33c73bd3eb Bug 1529911 - Add more tests for cancelling the channel r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20500

--HG--
extra : moz-landing-system : lando
2019-05-22 13:58:55 +00:00
Valentin Gosu 9f3b339e68 Bug 1529911 - Make the httpcancel unit test run in e10s r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D20501

--HG--
extra : moz-landing-system : lando
2019-05-22 13:48:31 +00:00
Nika Layzell 30555bd898 Bug 1540731 - Part 3: Stop releasing actors within ActorDestroy, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D29606

--HG--
extra : moz-landing-system : lando
2019-05-21 17:04:23 +00:00
Liang-Heng Chen d77a6249b5 Bug 1552431 - handle first/third party correctly; r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D31590

--HG--
extra : moz-landing-system : lando
2019-05-21 14:41:58 +00:00
Daniel Varga 9054636e2c Backed out 2 changesets (bug 1487113) for mochitest failure at dom/base/test/test_script_loader_js_cache.html.
Backed out changeset dce59b615568 (bug 1487113)
Backed out changeset e6f579752678 (bug 1487113)
2019-05-20 21:04:40 +03:00
Shane Caraveo 636c68369c Bug 1552248 support ftp channel in proxy api r=mayhemer,kmag
ChannelWrapper is used throughout webext APIs and it requires a channel to support weakref.
FTPChannel did not, thus ftp requests did not go through proxy.onRequest.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 15:05:26 +00:00
Andrea Marchesini 32fb7a2445 Bug 1487113 - nsICacheInfoChannel.alternativeDataInputStream as attribute, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D31791

--HG--
extra : moz-landing-system : lando
2019-05-20 15:22:47 +00:00
Andrea Marchesini aa9560f5f0 Bug 1487113 - nsICacheInfoChannel.originalInputStream as attribute, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D31790

--HG--
extra : moz-landing-system : lando
2019-05-20 15:18:25 +00:00
Ryan Hunt f037851489 Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.

What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.

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

--HG--
extra : source : 757b4f595cc4b18ae35483d23edff4896d15d4b1
2019-05-15 12:33:42 -05:00
Gurzau Raul 57f573a6ff Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
Backed out changeset 1f2e86c2d691 (bug 1525720)
Backed out changeset 9b79caa460a0 (bug 1525720)
Backed out changeset e65cb2d4c5a5 (bug 1525720)
Backed out changeset 99f971a02d87 (bug 1525720)
Backed out changeset d25963c72ff7 (bug 1525720)
Backed out changeset 810b73719871 (bug 1525720)
Backed out changeset ee10a8254481 (bug 1525720)
Backed out changeset 1bcf9f586c55 (bug 1525720)
Backed out changeset d3b2ac8d5ca4 (bug 1525720)
Backed out changeset 697774dd8984 (bug 1525720)
Backed out changeset eadeacbe4483 (bug 1525720)
Backed out changeset 32eeee79d628 (bug 1525720)
Backed out changeset 07678a2fa9e7 (bug 1525720)
Backed out changeset 757b4f595cc4 (bug 1525720)
Backed out changeset b255e0a84e12 (bug 1525720)
Backed out changeset 9a255864f75d (bug 1525720)
Backed out changeset 5f1c1b609ec1 (bug 1525720)
Backed out changeset 00d83f1d02e0 (bug 1525720)
2019-05-23 01:57:16 +03:00
Ryan Hunt 3621e207d9 Bug 1525720, part 5 - Redirect nsIHttpChannel using content process ID instead of nsIRemoteTab. r=valentin
This code currently works for remote subframes assuming that nsIRemoteTab is implemented
by BrowserParent, but will break when nsIRemoteTab is only for a top-level BrowserParent.

What this code really wants is a content process ID to retarget the channel to. This
commit switches the interfaces to pass this around instead of nsIRemoteTab.

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

--HG--
extra : rebase_source : be3303c2d38d704a6a1817fa45fd76700fae6287
extra : histedit_source : c7bf1e496f4328acc9ee70fcccdff98ea2cce5df
2019-05-15 12:33:42 -05:00
Liang-Heng Chen 846a1486fa Bug 1550756 - make system principal fall into new traffic category; r=dragana
- add 2 category: system principals for normal/private browsing
- P3Basic* and P3Content* are labeled incorrectly
- add many assertions to check categories

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:24:18 +00:00
Honza Bambas 4534b7e9ee Bug 1548804 - Remove origin suffix isolation for proxy credentials when setting authentication cache entry, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30911

--HG--
extra : moz-landing-system : lando
2019-05-14 13:40:30 +00:00
Honza Bambas 7e08712a6a Bug 1550498, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D30510

--HG--
extra : moz-landing-system : lando
2019-05-09 17:42:17 +00:00
Honza Bambas ad027c9594 Bug 1548822, r=kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D30364

--HG--
extra : moz-landing-system : lando
2019-05-09 16:39:59 +00:00
Honza Bambas f739775f6f Bug 1540759, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D30382

--HG--
extra : moz-landing-system : lando
2019-05-08 21:07:05 +00:00
Valentin Gosu 74914bc5a5 Bug 1548994 - Release nsCompleteUpgradeData.mUpgradeListener on the main thread as it is not always threadsafe r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D30022

--HG--
extra : moz-landing-system : lando
2019-05-13 22:49:02 +00:00
Andrew McCreight 2841945140 Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).

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

--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Valentin Gosu ab2249cd48 Bug 1547882 - Don't unescape %2e and %2f in the query or hash or moz-extension URLs. r=kershaw
Since the SubstitutingProtocolHandler is also extended by nsResProtocolHandler, this change would also apply to resource:// URLs.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 13:56:05 +00:00
Noemi Erli 6430d23336 Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari c7cb5521d1 Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30117

--HG--
extra : moz-landing-system : lando
2019-05-08 20:22:18 +00:00
Dragana Damjanovic 28355093cb Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-08 19:29:16 +00:00
Bogdan Tara be70e99ad1 Backed out changeset 723587a2ae49 (bug 1531344) for netwerk/test/unit/test_* failures CLOSED TREE 2019-05-08 00:04:32 +03:00
Dragana Damjanovic 463cf81c74 Bug 1531344 - Be strict about incorrect chunked encoding. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28811

--HG--
extra : moz-landing-system : lando
2019-05-07 17:57:33 +00:00
Valentin Gosu 987a27b272 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-05-06 16:38:16 +00:00
Valentin Gosu b20ae58567 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-05-06 16:37:01 +00:00
Valentin Gosu 975c55c679 Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-05-06 16:47:14 +00:00
Honza Bambas 994f162385 Bug 1549368 - Let proxyAuthorizationHeader and connectionIsolationKey in proxy.onRequest apply only to HTTPS proxies, no test, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D30066

--HG--
extra : moz-landing-system : lando
2019-05-06 16:28:25 +00:00
Honza Bambas 2555fb9646 Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29825

--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
Andrea Marchesini 360fec5787 Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28865

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:44 +00:00
Andrea Marchesini fc1e01dc0b Bug 1542170 - Introduce nsIWebSocketChannel.httpChannelId, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28864

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:24 +00:00
Andrea Marchesini 000c5d8a75 Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:23 +00:00
Liang-Heng Chen 9aff84c4b1 Bug 1546906 - use strict fingerprint category for telemetry; r=dragana,tanvi
Differential Revision: https://phabricator.services.mozilla.com/D28801

--HG--
extra : moz-landing-system : lando
2019-05-03 10:05:30 +00:00
Bogdan Tara 386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini 3621968eed Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-02 17:25:05 +00:00
Bogdan Tara 8244fce3c8 Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE
Backed out changeset d9a454afe9bf (bug 1525640)
Backed out changeset 19aa991328cb (bug 1525640)
Backed out changeset 4294abed890f (bug 1525640)
2019-05-03 00:16:20 +03:00
Perry Jiang cf811f1da6 Bug 1535699 - Propagate redirect mode across cross-process redirects. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29719

--HG--
extra : moz-landing-system : lando
2019-05-02 20:46:34 +00:00
Valentin Gosu 50b2b648b6 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:45 +00:00
Valentin Gosu f96dbbf019 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Valentin Gosu e649e93aa1 Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:36 +00:00
Thomas Nguyen 23e61a2595 Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
Differential Revision: https://phabricator.services.mozilla.com/D22783

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +00:00
Cosmin Sabou a884fb99d8 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini 7a0fabb9f6 Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:19 +00:00
Andrea Marchesini 79d0eaf58e Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29514

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:44 +00:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Geoff Lankow db8a35c1de Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 16:01:06 +00:00
Gurzau Raul f1e0f0ddf1 Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author.
--HG--
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.js => browser/components/enterprisepolicies/EnterprisePolicies.js
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.manifest => browser/components/enterprisepolicies/EnterprisePolicies.manifest
rename : toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js => browser/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : toolkit/components/enterprisepolicies/WindowsGPOParser.jsm => browser/components/enterprisepolicies/WindowsGPOParser.jsm
rename : toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm => browser/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json => browser/components/enterprisepolicies/tests/browser/config_broken_json.json
2019-04-30 18:54:43 +03:00
Magnus Melin a032a45a18 Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 15:38:22 +00:00
Sebastian Hengst 3dd01e8232 Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)

--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
dlee 2baaee894b Bug 1545033 - P2. Add SetMatchedTrackingInfo in nsIClassifiedChannel. r=baku
This patch adds |setMatchedTrackingInfo| to channel to report matches that
are found in tracking annotation tables.

We have done something similar in nsIClassifiedChannel::setMatchedInfo to
report phishing protection matches.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:03:50 +00:00
Ehsan Akhgari 2422b99643 Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor.  This patch refactors the clone method to avoid using
SetIsolated().

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

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari b1bd6e9654 Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28376

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari 45d4036c98 Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28375

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:40 +00:00
Ehsan Akhgari 969addfef3 Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28374

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari dc946ab989 Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28373

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari 3fcf2c3bae Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28372

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:37 +00:00
Ehsan Akhgari 7fb3204d5c Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28371

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:32 +00:00
Cosmin Sabou 9ce8571e7a Merge mozilla-central to autoland. 2019-04-29 12:57:24 +03:00
Gurzau Raul 2c2d5c8e3d Backed out 7 changesets (bug 1535697) for causing Bug 1547596. a=backout
Backed out changeset 037390836504 (bug 1535697)
Backed out changeset ebad998aae7a (bug 1535697)
Backed out changeset 969945148b3d (bug 1535697)
Backed out changeset 5cbdeb635a3e (bug 1535697)
Backed out changeset c316d49df8c4 (bug 1535697)
Backed out changeset 4a5475f6aa49 (bug 1535697)
Backed out changeset 9191d987a9e1 (bug 1535697)
2019-04-29 01:05:24 +03:00
Andrea Marchesini 071573bc71 Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D28949

--HG--
extra : moz-landing-system : lando
2019-04-26 22:51:42 +00:00
Kershaw Chang 351a470dad Bug 1544526 - Copy the callback instead of moving r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D27894

--HG--
extra : moz-landing-system : lando
2019-04-26 18:33:28 +00:00
Ehsan Akhgari f3548957c4 Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor.  This patch refactors the clone method to avoid using
SetIsolated().

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

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:41 +00:00
Ehsan Akhgari 8d5e253237 Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28376

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:39 +00:00
Ehsan Akhgari 1d483abfeb Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28375

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:37 +00:00
Ehsan Akhgari fef6fe14e0 Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28374

--HG--
extra : moz-landing-system : lando
2019-04-27 07:47:52 +00:00
Ehsan Akhgari a709cc3a40 Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28373

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:32 +00:00
Ehsan Akhgari f2113beb89 Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28372

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:30 +00:00
Ehsan Akhgari c64e2314b0 Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28371

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:23 +00:00
Dana Keeler c90cfeaf74 bug 1441989 - remove ContentVerifier r=baku,mayhemer
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +00:00
Cosmin Sabou 6041076346 Backed out changeset daeba572395d (bug 1541339) for xpcshell failures on test_dns_proxy_bypass. 2019-04-26 21:26:21 +03:00
Andrea Marchesini 1e2d43b310 Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D28949

--HG--
extra : moz-landing-system : lando
2019-04-26 17:44:59 +00:00
Liang-Heng Chen 984a2d5906 Bug 1546796 - Fix swapped traffic category descriptions; r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D28792

--HG--
extra : moz-landing-system : lando
2019-04-26 15:01:58 +00:00
Liang-Heng Chen a6b1274871 Bug 1546903 - change traffic telemetry unit from byte to KB; r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D28797

--HG--
extra : moz-landing-system : lando
2019-04-26 09:39:31 +00:00
Liang-Heng Chen bed04f7f7b Bug 1546884 - fix third-party channel checks; r=dragana
`mThirdPartyClassificationFlags` can only check for third-party tracking channel, it should be checked by calling `IsThirdPartyWindowOrChannel`.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 09:29:07 +00:00
Honza Bambas 5f945421d4 Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
Differential Revision: https://phabricator.services.mozilla.com/D23150

--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Sebastian Streich a2d3e618af Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D27647

--HG--
extra : moz-landing-system : lando
2019-04-25 12:16:35 +00:00
Michal Novotny 1efe8b8b26 Bug 1506534 - Collect telemetry to measure how much penalty we will experience with first-party cache isolation, r=mayhemer, data-r=chutten
Whenever a cache entry is accessed during a document load, eTLD+1 of the top level document is added to the entry's metadata. Number of accessing sites is also stored in cache index. So we know how many copies of each entry would we have if we did a first party isolation without data deduplication. The telemetry is sent every time we write 2GB to the cache and then the data is reset. Telemetry report ID is an identifier of the telemetry cycle and it's used to invalidate eTLD+1 hashes in all cache entries.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 12:21:17 +00:00
Brindusan Cristian f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Honza Bambas f26d4b5095 Bug 1536511 - Cache-control: stale-while-revalidate response header implementation, r=kershaw,asuth
Differential Revision: https://phabricator.services.mozilla.com/D28494

--HG--
extra : moz-landing-system : lando
2019-04-24 16:40:59 +00:00
Eden Chuang 9bffd42acf Bug 1539208 - Propagate the result of mListener in InterceptedHttpChannel::OnStartRequest and ::OnStopRequest r=perry,ttung,kershaw
1. Propagate the mListener's result in InterceptedHttpChannel::OnStartRequest()
   and ::OnStopRequest().

2. remove unnecessary assertion in FetchDriver::OnStartRequest().

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

--HG--
extra : moz-landing-system : lando
2019-04-24 08:49:36 +00:00
Andrew McCreight 710a932577 Bug 1545843 - Mark some HTTP XPIDL classes as builtinclass. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28295

--HG--
extra : moz-landing-system : lando
2019-04-23 16:05:29 +00:00
Oana Pop Rus 3c634d9c72 Merge autoland to mozilla-central. a=merge 2019-04-23 00:45:58 +03:00
Sylvestre Ledru a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Narcis Beleuzu b985ba7468 Backed out changeset 728aa342ad35 (bug 1536511) for causing crashes on Bug 1545023. a=backout 2019-04-22 14:57:20 +03:00
Ryan Hunt d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt e9e7d608be Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.

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

--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt 0eeced87be Bug 1534395 - Rename TabParent to BrowserParent. r=nika
This commit renames TabParent to BrowserParent.

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

--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Cosmin Sabou ee0e94e991 Merge mozilla-central to mozilla-inbound. 2019-04-19 19:36:21 +03:00
arthur.iakab 57c7c5a365 Merge mozilla-central to mozilla-inbound 2019-04-19 12:49:24 +03:00
Dragana Damjanovic a27692b748 Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 09:26:48 +00:00
Michal Novotny bd208195d9 Bug 1358038 - "Add "Race Cache With Network" status to netmonitor" r=Honza
--HG--
extra : histedit_source : 6fd61c4cdc5b6fc1e48463dea15614f845d0ae7a
2019-04-15 05:52:00 +03:00