Commit Graph

173 Commits

Author SHA1 Message Date
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
Cosmin Sabou
c57a4e7ae5 Backed out changeset 1a28547631d7 (bug 1584312) for failures on browser_protections_UI_milestones.js. 2019-10-16 11:26:06 +03:00
Nihanth Subramanya
8f1d00fb37 Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799
2019-10-15 17:09:59 +00:00
Nihanth Subramanya
ca788ccf20 Bug 1582750 - Ensure descriptionHeightWorkaround is called for multiple consecutive content blocking events. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47817
2019-10-02 14:45:07 +00:00
Nihanth Subramanya
2274ed8edd Bug 1582750 - Manually invoke descriptionHeightWorkaround() on protections panel the first time we show category items. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47651
2019-09-30 18:28:53 +00:00
Tim Huang
9c0403b1d9 Bug 1578334 - Update the tooltip of the tracking protection icon when toggling the TP switch. r=nhnt11
In order to show a correct tooltip after toggling the TP switch. We
update the tooltip of the tracking protection icon when toggling the TP
switch right before the 500 ms waiting.

Differential Revision: https://phabricator.services.mozilla.com/D47587
2019-09-30 12:36:05 +00:00
Nihanth Subramanya
08301d0a1d Bug 1579209 - [Protections Panel] Use new STATE_COOKIES_LOADED_TRACKER for cookies category item visibility logic. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47323
2019-09-27 10:41:48 +00:00
Liang-Heng Chen
943b49e227 Bug 1581409 - ensure SocialTracking enabled status is correct; r=johannh
- to check the enabled status, we must have:
  - TP or ETP is enabled
  - block social tracking cookies is enabled
- Hide category item while not blocking social tracking cookies
- sync behavior/tests from fingerprinter/cryptominer
  - check isAllowing/isBlocking without enabled status
  - add `testCategoryItem()`

Differential Revision: https://phabricator.services.mozilla.com/D46161
2019-09-24 18:45:11 +00:00
Nihanth Subramanya
70572884e3 Bug 1575859 - Fix state label for cookie list items with exceptions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44302
2019-09-24 10:40:07 +00:00
Nihanth Subramanya
418b4cf6e5 Bug 1582763 - [Protections Panel] Remove blue badge from shield and toggle when TP is disabled. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46618
2019-09-20 16:12:46 +00:00
Erica Wright
e101b37466 Bug 1561184 - Show tooltip text for protection report in app menu r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45583
2019-09-17 12:56:43 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Liang-Heng Chen
ca65153f73 Bug 1570631 - Part 4 migrate doorhanger to cfr; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43752
2019-09-11 09:16:11 +00:00
Nihanth Subramanya
547b507dda Bug 1578459 - [Protections Panel] Reorder category items in popupshowing instead of shown. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44885
2019-09-09 12:36:14 +00:00
Brindusan Cristian
39ff76396a Backed out changeset 84744d179773 (bug 1578459) for bc failures in browser_trackingUI_. CLOSED TREE 2019-09-06 22:06:20 +03:00
Nihanth Subramanya
46c2d9b0b7 Bug 1578459 - [Protections Panel] Reorder category items in popupshowing instead of shown. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44885
2019-09-06 14:40:47 +00:00
Nihanth Subramanya
7a5f8decb4 Bug 1576100 - Ensure correct document order of category items for keyboard nav. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43932
2019-08-30 15:29:39 +00:00
Nihanth Subramanya
cea5ee97e2 Bug 1574111 - Improve the definition of ThirdPartyCookies.isDetected. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43464
2019-08-30 14:19:43 +00:00
Nihanth Subramanya
684673fceb Bug 1577466 - [Protections Panel] Check hasException state when setting social tracking subview title. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43947
2019-08-29 21:15:11 +00:00
Nihanth Subramanya
e64ddcf93c Bug 1574313 - Hide cookie subview category header if there's only one. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43336
2019-08-29 08:45:37 +00:00
Tim Huang
42444f1ee2 Bug 1575788 - Fix the issue that the TP state been applied wrongly if quickly change tabs after toggling the TP switch for protections panel. r=nhnt11
This patch fixes the issue by updating the allow list as soon as the
switch been toggled. And the reload still happens after the 500ms delay.
We cache the target tab in order to reload the correct tab in case tabs
change and reload the target tab after the delay. In additon, we won't
reload the tab if is has been closed since it is totally unnecessary.

We also add a test for this.

Differential Revision: https://phabricator.services.mozilla.com/D43139
2019-08-24 19:24:24 +00:00
Nihanth Subramanya
a6d63b5b77 Bug 1575813 - isAllowing state of Fingerprinting and Cryptomining categories shouldn't consider enabled state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43046
2019-08-24 16:37:38 +00:00
Tim Huang
bb966803d8 Bug 1574930 - Part 2: Fix the issue the the number of blocked trackers is still shown if the count is zero. r=nhnt11
By only hiding the tracker counter when the tracker counter is zero and
show the counter always other than that. By doing so,  the counter
would be shown properly according the tracker number.

Differential Revision: https://phabricator.services.mozilla.com/D42717
2019-08-22 09:34:21 +00:00
Tim Huang
19914c2d02 Bug 1574930 - Part 1: Use the app locale for the tracker counter number in protections panel. r=nhnt11,Ehsan
We use the locale of the application to show the number of the trakcer
counter.

Differential Revision: https://phabricator.services.mozilla.com/D42716
2019-08-21 09:08:56 +00:00