Commit Graph

79 Commits

Author SHA1 Message Date
Coroiu Cristina
497f5e39c3 Backed out changeset 39c2628de53e (bug 1522919) for browser chrome failures at content/test/trackingUI/browser_trackingUI_cryptominers.js on a CLOSED TREE 2019-03-06 20:08:47 +02:00
Erica Wright
00b2c4ec7e Bug 1522919 - Add histograms to count fingerprinting and cryptomining blocking states per page load. r=johannh
Add histograms to count fingerprinting and cryptomining blocking states per page load.

Differential Revision: https://phabricator.services.mozilla.com/D20389
2019-03-06 16:23:07 +00:00
Johann Hofmann
c5788ccf15 Bug 1527891 - Fix copy-paste error in browser-contentblocking.js, update category labels when pref changes for fp and cm. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D20186
2019-02-20 15:36:58 +00:00
Erica Wright
789c4c49bd Bug 1522919 - Add basic telemetry for startup and control panel events for cryptomining and fingerprinting. r=johannh on a CLOSED TREE
Include a boolean reporting whether these prefs are enabled on startup. inlcude extra information when user interacts with the control panel reporting if anything is being blocked.

Differential Revision: https://phabricator.services.mozilla.com/D19843
2019-02-19 19:22:38 +00:00
Coroiu Cristina
002bbab783 Backed out changeset 8ae2da51010e (bug 1522919) for mochitest failures on a CLOSED TREE 2019-02-19 22:24:02 +02:00
Erica Wright
7fbc3b1d70 Bug 1522919 - Add basic telemetry for startup and control panel events for cryptomining and fingerprinting. r=johannh
Include a boolean reporting whether these prefs are enabled on startup. inlcude extra information when user interacts with the control panel reporting if anything is being blocked.

Differential Revision: https://phabricator.services.mozilla.com/D19843
2019-02-19 19:22:38 +00:00
Johann Hofmann
a5bb82422f Bug 1522565 - Add sub-panels for cryptominers and fingerprinters in the identity popup. r=nhnt11
This is mostly a lot of boilerplate based off the trackers category/subpanels.

I would like to do some code-de-duplication, especially in browser-contentblocking,
but I figured it would be a good idea to leave that to a different bug to not obstruct
the feature from landing :)

Differential Revision: https://phabricator.services.mozilla.com/D18826
2019-02-06 14:11:39 +01:00
Andrea Marchesini
6a580c8352 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini
edf0c3b24c Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Razvan Maries
383b28cf37 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Ehsan Akhgari
5530c0b72d Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Dão Gottwald
33838dcf0f Bug 1517480 - Stop using graytext for labels in the "report a problem" subpanel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16870
2019-01-21 11:56:21 +00:00
Johann Hofmann
22a1c3b2c3 Bug 1519137 - Add lazy pref getter for content blocking before initializing blockers. r=ewright
This was causing some prefs that blockers were accessing not to be set yet.

Differential Revision: https://phabricator.services.mozilla.com/D16208
2019-01-10 17:51:31 +00:00
Johann Hofmann
be1b03dbd1 Bug 1495207 - Properly set and reset the animate attribute on the content blocking shield. r=ewright
Previously this code was using webProgress.isTopLevel to set and reset the shield animation,
which is just plain nonsense and was based on false assumptions about it being something like
webProgress.isLoadingDocument. In reality this attribute just reflects whether the source of the
event is the top-level window or a frame, not the load type.

The new code uses the "blocking" state to set and reset the animation and uses the "active" attribute
as a guard to ensure that we only set the "animate" attribute once per page. This works because
the "active" attribute is guaranteed to be reset on a top-level document load.

Differential Revision: https://phabricator.services.mozilla.com/D15654
2019-01-07 16:20:21 +00:00
Andrea Marchesini
d5625220f1 Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi 2019-01-05 09:10:45 +01:00
Abdelrhman Ahmed
32cbb042e8 Bug 1475670: Optimizing the code inside ContentBlocking. r=johannh 2018-12-18 11:18:13 +02:00
Ehsan Akhgari
dde546ee4a Bug 1514070 - Ensure that the cookies subpanel will correctly show granted permissions to trackers as soon as they're granted r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D14570
2018-12-18 16:57:13 +00:00
rjairath
5ff489c2c7 Bug 1509449 - Use document.getElementById instead of document.querySelector in ContentBlocking.init r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14009
2018-12-08 16:03:49 +00:00
Johann Hofmann
b023d7a6b5 Bug 1511751 - Part 3 - Put up a note when the trackers subpanel is shown but no trackers are present. r=ewright
This can happen when we annotate trackers with the strict list but block based on the
basic list, and it is confusing users.

Differential Revision: https://phabricator.services.mozilla.com/D13968
2018-12-08 00:06:04 +00:00
Johann Hofmann
0c6ddc1e01 Bug 1511751 - Part 2 - Always show all categories in the cookies subpanel and note if they are empty. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D13967
2018-12-08 00:05:57 +00:00
Johann Hofmann
459eadeaf5 Bug 1511751 - Part 1 - Remove the "Blocked" labels of content blocking categories and put them behind a pref. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D13914
2018-12-08 00:05:49 +00:00
Johann Hofmann
5a0d9acf99 Bug 1511954 - Remove the "Allowed" label of content blocking categories and put it behind a pref. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13723
2018-12-05 22:32:38 +00:00
Ehsan Akhgari
61fe3c0a09 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Johann Hofmann
3ee7ce8cc9 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596
2018-12-02 12:47:36 +00:00
Ciure Andrei
c380f12756 Backed out 2 changesets (bug 1501992) for browser_trackingUI_state.js perma fails a=backout
Backed out changeset 6cb8a465440a (bug 1501992)
Backed out changeset b54b117c15e9 (bug 1501992)
2018-12-02 13:53:33 +02:00
Johann Hofmann
cf401d1caa Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596
2018-12-01 23:25:38 +00:00
shindli
41877a912a Backed out 2 changesets (bug 1501992) for bc failures in browser/components/urlbar/tests/browser/browser_UrlbarInput_tooltip.js CLOSED TREE
Backed out changeset ae07b8338331 (bug 1501992)
Backed out changeset 3ab27af474f9 (bug 1501992)
2018-12-01 07:06:36 +02:00
Johann Hofmann
72e4e8db49 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596
2018-11-30 21:57:23 +00:00
Erica Wright
587eb415a6 Bug 1501980 - Add a mode label to the Content Blocking section in the main menu. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13170
2018-11-30 14:30:18 +00:00
Cosmin Sabou
81a079a296 Backed out 2 changesets (bug 1501992) for merge conflicts on dom/base/nsContentUtils.cpp
Backed out changeset 2dfe4105d6af (bug 1501992)
Backed out changeset 9ae8864b61d0 (bug 1501992)
2018-11-30 17:07:29 +02:00
Johann Hofmann
a8c4dd22ff Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596
2018-11-30 09:21:12 +00:00
Erica Wright
bfd228cd0d Bug 1501990 - Add a mode label to the Content Blocking section in the control center. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D12717
2018-11-26 16:59:19 +00:00
Erica Wright
9595afd768 Bug 1508806 - Toggling between content blocking categories correctly changes when there are multiple windows. r=johannh
We no longer set up a listener on a per-window basis for category preference changes.

Differential Revision: https://phabricator.services.mozilla.com/D12667
2018-11-23 16:08:58 +00:00
Erica Wright
5590bde0c9 Bug 1501985 - Update Content Blocking section UI r=flod,johannh
This adds a card-like UI to the content blocking section in preferences.

Differential Revision: https://phabricator.services.mozilla.com/D11212
2018-11-19 17:40:28 +00:00
Johann Hofmann
450bec44db Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Ehsan,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-06 20:29:10 +01:00
Cosmin Sabou
b76f5f0925 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Johann Hofmann
e5d6dc6285 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-16 22:34:07 +00:00
Gurzau Raul
2566000e7b Backed out changeset f73e25fa0d8c (bug 1501991) for multiple failures e.g browser_storage_dynamic_windows.js on a CLOSED TREE 2018-11-16 14:14:01 +02:00
Johann Hofmann
a6d57cea82 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611
2018-11-16 10:50:31 +00:00
Ehsan Akhgari
8d2d305cf3 Bug 1502760 - Stop honouring browser.contentblocking.enabled in the control centre code r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D10020
2018-10-29 14:44:12 +00:00
Johann Hofmann
c913beb674 Bug 1501977 - Remove global Content Blocking toggle in the main menu. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9916
2018-10-26 18:09:06 +00:00
Ehsan Akhgari
1c1438a50f Bug 1502076 - Part 2: Remove the fastblock UI from the Control Centre r=johannh
Depends on D9794

Differential Revision: https://phabricator.services.mozilla.com/D9795
2018-10-26 06:55:20 +00:00
Ehsan Akhgari
238a7d0478 Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh
Depends on D9519

Differential Revision: https://phabricator.services.mozilla.com/D9520
2018-10-25 16:52:19 +00:00
Dorel Luca
6839d2a276 Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
7030bb3146 Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh
Depends on D9519

Differential Revision: https://phabricator.services.mozilla.com/D9520
2018-10-25 13:35:20 +00:00
Johann Hofmann
a7534c268e Bug 1496243 - Show "Tracking Cookies" label in the control center when only tracking cookies are blocked. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9092
2018-10-18 13:42:14 +00:00
Ehsan Akhgari
af1d27bd2f Bug 1499911 - Break down the labels for the issues submitted through the report breakage UI for the various cookie policies r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D9053
2018-10-18 14:46:20 +00:00
Johann Hofmann
aac16516bb Bug 1484251 - Part 3 - Use Telemetry events to record interactions in the identity popup. r=Gijs
This removes the old TRACKING_PROTECTION_EVENTS probe and replaces it with new
Telemetry events that record basic user interaction in the identity popup.

We are now measuring interaction with more elements than before, not just block/unblock.

We're also dropping the old way of measuring updates to onSecurityChange,
since with the recent changes to content blocking it would just record most page loads.

Differential Revision: https://phabricator.services.mozilla.com/D6895
2018-10-11 13:13:58 +00:00
Johann Hofmann
e32e7f6974 Bug 1484251 - Part 1 - Record Tracking Protection enabled at startup, not at window open. r=Gijs
This probe was always supposed to measure TP enabled status for a session, not a window.

Differential Revision: https://phabricator.services.mozilla.com/D6893
2018-10-11 11:23:22 +00:00
Ehsan Akhgari
88007442aa Bug 1496375 - Update the blocker category states when the content blocking pref value changes r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8245
2018-10-11 09:51:55 +00:00