Dimi Lee
e83925623c
Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
...
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.
Depends on D55621
Differential Revision: https://phabricator.services.mozilla.com/D55622
2019-12-17 11:25:23 +00:00
Erica Wright
831516af01
Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D58044
2020-01-09 17:50:11 +00:00
Noemi Erli
883f769112
Backed out changeset bc55dd49ef82 (bug 1603545) for causing build bustages CLOSED TREE
2020-01-09 18:25:18 +02:00
Erica Wright
e12d63e48f
Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D58044
2020-01-09 15:57:02 +00:00
Ehsan Akhgari
a9bd53c507
Bug 1603969 - Part 1: Remove the concept of granted origins from the anti-tracking backend; r=baku
...
Granted origins cause a third-party tracker browsing context to not get
full first-party storage access after successfully calling the storage
access API or a heuristic granting ephemeral access.
For example, after https://tracker.example calls the storage access API
successfully in the third-party context, they embed
https://other-tracker.example , and that load fails because of ETP
restrictions. Here what happens is that https://other-tracker.example
is mistakenly considered the granted origin, and because such a
permission doesn't exist, access is denied.
Differential Revision: https://phabricator.services.mozilla.com/D57493
2019-12-19 02:56:52 +00:00
Gurzau Raul
9646f974e0
Backed out 4 changesets (bug 1603969) for failing at /browser_startup_mainthreadio.js on a CLOSED TREE.
...
Backed out changeset c4d79087eef1 (bug 1603969)
Backed out changeset 2c0198f3506c (bug 1603969)
Backed out changeset c5ad252c525b (bug 1603969)
Backed out changeset a334451b95eb (bug 1603969)
2019-12-19 02:08:09 +02:00
Ehsan Akhgari
4f7f73843f
Bug 1603969 - Part 1: Remove the concept of granted origins from the anti-tracking backend; r=baku
...
Granted origins cause a third-party tracker browsing context to not get
full first-party storage access after successfully calling the storage
access API or a heuristic granting ephemeral access.
For example, after https://tracker.example calls the storage access API
successfully in the third-party context, they embed
https://other-tracker.example , and that load fails because of ETP
restrictions. Here what happens is that https://other-tracker.example
is mistakenly considered the granted origin, and because such a
permission doesn't exist, access is denied.
Differential Revision: https://phabricator.services.mozilla.com/D57493
2019-12-18 19:14:53 +00:00
Gurzau Raul
10ec17678c
Backed out 4 changesets (bug 1603969) for failing at /browser_startup_mainthreadio.js on a CLOSED TREE.
...
Backed out changeset 959f12e42db9 (bug 1603969)
Backed out changeset 18bf461b9630 (bug 1603969)
Backed out changeset 8c3bb23a048b (bug 1603969)
Backed out changeset 450eec13d73e (bug 1603969)
2019-12-18 20:53:13 +02:00
Ehsan Akhgari
29fa5c0a8a
Bug 1603969 - Part 1: Remove the concept of granted origins from the anti-tracking backend; r=baku
...
Granted origins cause a third-party tracker browsing context to not get
full first-party storage access after successfully calling the storage
access API or a heuristic granting ephemeral access.
For example, after https://tracker.example calls the storage access API
successfully in the third-party context, they embed
https://other-tracker.example , and that load fails because of ETP
restrictions. Here what happens is that https://other-tracker.example
is mistakenly considered the granted origin, and because such a
permission doesn't exist, access is denied.
Differential Revision: https://phabricator.services.mozilla.com/D57493
2019-12-18 15:48:29 +00:00
Johann Hofmann
cdeb6cc6af
Bug 1603511 - Optimize sending SiteProtection:ContentBlockingEvent events. r=nhnt11
...
These events were sent excessively on onStateChange. This patch makes it so that:
- we only listen to top-level document changes (we used to send all events from iframes)
- we don't send events unless there's tracking content on the page
- we only send a single event on tab switch instead of multiple
Differential Revision: https://phabricator.services.mozilla.com/D57006
2019-12-12 23:48:13 +00:00
Ehsan Akhgari
4f80b43251
Bug 1589476 - Emit a separate notification when a tracker from the Level 2 Disconnect blocklist is observed on a page and use this code to avoid using the URL classifer service in the front-end; r=nhnt11,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D49660
2019-11-18 20:56:36 +00:00
Nihanth Subramanya
0d817f0d56
Bug 1578831 - Link directly to breakage report subview when ETP is off. r=timhuang,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D47574
2019-11-07 20:13:31 +00:00
Johann Hofmann
eec1c8d979
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-06 21:14:19 +00:00
Johann Hofmann
19a257105e
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 21:14:21 +00:00
Johann Hofmann
10b5f06c6c
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-06 21:16:53 +00:00
Coroiu Cristina
23ead68999
Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for browser-chrome failures at browser/base/content/test/siteProtections/browser_protections_UI.js on a CLOSED TREE
...
Backed out changeset 7bc4ba491fc6 (bug 1592616)
Backed out changeset 7f420cfdf282 (bug 1592616)
Backed out changeset 9c00153e7458 (bug 1575785)
Backed out changeset e8ba7d342c46 (bug 1582751)
Backed out changeset 6ded6886d2ed (bug 1592616)
2019-11-06 22:58:29 +02:00
Johann Hofmann
861ea7b671
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-06 13:53:54 +00:00
Johann Hofmann
75310ef7bd
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 15:35:17 +00:00
Johann Hofmann
d2d2097209
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-06 16:48:08 +00:00
Gurzau Raul
0ba66b9123
Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
...
Backed out changeset ee2ba98f5a17 (bug 1592616)
Backed out changeset 1f665fb32bff (bug 1592616)
Backed out changeset dde543f12c83 (bug 1575785)
Backed out changeset fadcc9e29ffd (bug 1582751)
Backed out changeset e86703d8db17 (bug 1592616)
2019-11-06 15:48:17 +02:00
Johann Hofmann
29874f0efd
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-06 00:47:31 +00:00
Johann Hofmann
4e30d01f3f
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 00:47:33 +00:00
Johann Hofmann
cd970b510d
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-06 11:38:26 +00:00
Brindusan Cristian
9c5f78c9db
Backed out 4 changesets (bug 1582751, bug 1575785, bug 1592616) for bc failures at browser_protections_UI.js. CLOSED TREE
...
Backed out changeset 7065a97d62f2 (bug 1592616)
Backed out changeset 5f243fa3ab1e (bug 1575785)
Backed out changeset 7870976299f2 (bug 1582751)
Backed out changeset a9b6b44f82af (bug 1592616)
2019-11-06 02:23:31 +02:00
Johann Hofmann
7acf7de7cc
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-05 21:33:06 +00:00
Johann Hofmann
ff52527bc1
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-03 06:46:39 +00:00
Johann Hofmann
3375455afd
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-05 21:33:06 +00:00
Nihanth Subramanya
576a42a167
Bug 1593573 - Make sure we correctly build the UI when STP is disabled. r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D51551
2019-11-04 16:34:53 +00:00
Nihanth Subramanya
951de93553
Bug 1593509 - Fix typo in SocialTracking.isBlocking. r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D51538
2019-11-04 09:48:37 +00:00
shindli
ef519b5ffe
Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for causing perma failures in browser/base/content/test/siteProtections/browser_protections_UI.js CLOSED TREE
...
Backed out changeset d08754485c25 (bug 1575785)
Backed out changeset be51af34cb7a (bug 1582751)
Backed out changeset c753c25b8f77 (bug 1592616)
2019-11-03 08:43:22 +02:00
Johann Hofmann
d6b2441e6c
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-03 04:11:08 +00:00
Johann Hofmann
30a4437521
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-03 04:10:55 +00:00
Johann Hofmann
3937eaa7b1
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-03 04:10:43 +00:00
Nihanth Subramanya
4a028591d5
Bug 1584479 - Part 3: Use new social cookies blocked flag in protections panel category logic. r=johannh,xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D47428
2019-11-01 23:24:29 +00:00
Dorel Luca
2060c2bf48
Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
...
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya
75dbf1924f
Bug 1584479 - Part 3: Use new social cookies blocked flag in protections panel category logic. r=johannh,xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D47428
2019-11-01 20:07:09 +00:00
Gurzau Raul
d21dcc6592
Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
...
Backed out changeset 4905af6536bd (bug 1575785)
Backed out changeset 13566afee847 (bug 1582751)
Backed out changeset 5fe8f0955483 (bug 1592616)
2019-11-01 18:27:33 +02:00
Johann Hofmann
fad0fc884a
Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51383
2019-11-01 10:50:35 +00:00
Johann Hofmann
2969130428
Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-01 12:07:13 +00:00
Johann Hofmann
6c5c108dad
Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D51381
2019-11-01 10:50:22 +00:00
Ehsan Akhgari
61a292cda2
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
2019-10-29 01:56:25 +00:00
Arthur Iakab
9736ea2bfc
Backed out 2 changesets (bug 1591803) for causing build bustages on XULAlerts.cpp CLOSED TREE
...
Backed out changeset 7eff50262110 (bug 1591803)
Backed out changeset c0b6f37d24d2 (bug 1591803)
2019-10-29 03:37:07 +02:00
Ehsan Akhgari
fbc9155c02
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
2019-10-28 20:26:21 +00:00
Arthur Iakab
1b46ed0161
Backed out 2 changesets (bug 1591803) for causing build busatges on PermissionManager.idl. CLOSED TREE
...
Backed out changeset 060f159fa43d (bug 1591803)
Backed out changeset b53a3d8c408d (bug 1591803)
2019-10-28 22:12:01 +02:00
Ehsan Akhgari
06d838e8bc
Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50753
2019-10-28 13:55:56 +00:00
Liang-Heng Chen
2b4126a6c5
Bug 1588706 - merge content blocking events and set doorhanger priority; r=johannh
...
cfr doorhangers supports priority field, but it doen't work if we receive content blocking event separtely.
Therefore we should fire an event contains all events and let cfr priority decides the order.
Differential Revision: https://phabricator.services.mozilla.com/D49771
2019-10-25 10:44:29 +00:00
Nihanth Subramanya
850b367c42
Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D49599
2019-10-21 15:16:34 +00:00
Razvan Maries
aa0a70cc7e
Backed out changeset 66b01a30ed12 (bug 1589015) for causing perma fails on browser_trackingUI_categories.js. CLOSED TREE
2019-10-18 12:29:35 +03:00
Nihanth Subramanya
84afb64d7e
Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D49599
2019-10-18 08:23:48 +00:00
Nihanth Subramanya
8c44ae15b1
Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D47799
2019-10-16 09:00:20 +00:00