Commit graph

79 commits

Author SHA1 Message Date
Coroiu Cristina
1ffb6d372d 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
b6be38fdef 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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:23:07 +00:00
Johann Hofmann
d9b61c5c4b 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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:36:58 +00:00
Erica Wright
1910b868dd 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

--HG--
extra : source : 8ae2da51010e64e1c0a970acb0d2182796635f82
extra : histedit_source : d18fdb19d6dc58e83b32b50e1a468f6558842627
2019-02-19 19:22:38 +00:00
Coroiu Cristina
33a769d893 Backed out changeset 8ae2da51010e (bug 1522919) for mochitest failures on a CLOSED TREE 2019-02-19 22:24:02 +02:00
Erica Wright
9a54423518 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

--HG--
extra : moz-landing-system : lando
2019-02-19 19:22:38 +00:00
Johann Hofmann
5343085d4c 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

--HG--
extra : rebase_source : d0fb21c5a42cf16dfe6b185806575f09e9a9f1a5
2019-02-06 14:11:39 +01:00
Andrea Marchesini
506304e224 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
5a909353eb 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
c941c393cb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Ehsan Akhgari
4137a92662 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
d08e2d743a Bug 1517480 - Stop using graytext for labels in the "report a problem" subpanel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16870

--HG--
extra : moz-landing-system : lando
2019-01-21 11:56:21 +00:00
Johann Hofmann
e3f4a18e8c 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

--HG--
extra : moz-landing-system : lando
2019-01-10 17:51:31 +00:00
Johann Hofmann
12c357c40f 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

--HG--
extra : moz-landing-system : lando
2019-01-07 16:20:21 +00:00
Andrea Marchesini
7872e64c7c Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi 2019-01-05 09:10:45 +01:00
Abdelrhman Ahmed
3823488bec Bug 1475670: Optimizing the code inside ContentBlocking. r=johannh 2018-12-18 11:18:13 +02:00
Ehsan Akhgari
7fd9558a09 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

--HG--
extra : moz-landing-system : lando
2018-12-18 16:57:13 +00:00
rjairath
7855330c08 Bug 1509449 - Use document.getElementById instead of document.querySelector in ContentBlocking.init r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14009

--HG--
extra : moz-landing-system : lando
2018-12-08 16:03:49 +00:00
Johann Hofmann
0ddf4d8c34 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

--HG--
extra : moz-landing-system : lando
2018-12-08 00:06:04 +00:00
Johann Hofmann
e7d2488fba 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

--HG--
extra : moz-landing-system : lando
2018-12-08 00:05:57 +00:00
Johann Hofmann
2ec69bdbb1 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

--HG--
extra : moz-landing-system : lando
2018-12-08 00:05:49 +00:00
Johann Hofmann
fdf4659de3 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

--HG--
extra : moz-landing-system : lando
2018-12-05 22:32:38 +00:00
Ehsan Akhgari
0dcf936804 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Johann Hofmann
c9d15e4013 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596

--HG--
extra : moz-landing-system : lando
2018-12-02 12:47:36 +00:00
Ciure Andrei
e0bdf73546 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
50970ca519 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596

--HG--
extra : moz-landing-system : lando
2018-12-01 23:25:38 +00:00
shindli
8968bdf98c 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
ebcc4dd058 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596

--HG--
extra : moz-landing-system : lando
2018-11-30 21:57:23 +00:00
Erica Wright
26b0b43dc5 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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:30:18 +00:00
Cosmin Sabou
750a258ed3 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
3f6f21df90 Bug 1501992 - Add a sub-panel for Cookies in the control center. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D12596

--HG--
extra : moz-landing-system : lando
2018-11-30 09:21:12 +00:00
Erica Wright
600ada9890 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

--HG--
extra : moz-landing-system : lando
2018-11-26 16:59:19 +00:00
Erica Wright
b44fb2b5e6 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

--HG--
extra : moz-landing-system : lando
2018-11-23 16:08:58 +00:00
Erica Wright
87adf060e5 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

--HG--
extra : moz-landing-system : lando
2018-11-19 17:40:28 +00:00
Johann Hofmann
dda53de0ba Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Ehsan,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : rebase_source : eebb084d0fed7a66b0dc5bbe7bc5e06b040a0275
extra : amend_source : f8070e363841ad3d9b2418920e0f695c906de105
2018-11-06 20:29:10 +01:00
Cosmin Sabou
d1b2c17c02 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Johann Hofmann
624a3d5172 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 22:34:07 +00:00
Gurzau Raul
2ef5ceafdd 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
1b22275384 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 10:50:31 +00:00
Ehsan Akhgari
16e0f3a1a8 Bug 1502760 - Stop honouring browser.contentblocking.enabled in the control centre code r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D10020

--HG--
extra : moz-landing-system : lando
2018-10-29 14:44:12 +00:00
Johann Hofmann
15d3dcdb9e Bug 1501977 - Remove global Content Blocking toggle in the main menu. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9916

--HG--
extra : moz-landing-system : lando
2018-10-26 18:09:06 +00:00
Ehsan Akhgari
7bf4a87483 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

--HG--
extra : moz-landing-system : lando
2018-10-26 06:55:20 +00:00
Ehsan Akhgari
09d4b61b43 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

--HG--
extra : moz-landing-system : lando
2018-10-25 16:52:19 +00:00
Dorel Luca
9529a31c66 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)

--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
eb682c1609 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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:20 +00:00
Johann Hofmann
3fc09a6d17 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

--HG--
extra : moz-landing-system : lando
2018-10-18 13:42:14 +00:00
Ehsan Akhgari
89165de187 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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:46:20 +00:00
Johann Hofmann
260c7f5bf4 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

--HG--
extra : moz-landing-system : lando
2018-10-11 13:13:58 +00:00
Johann Hofmann
88058786e2 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

--HG--
extra : moz-landing-system : lando
2018-10-11 11:23:22 +00:00
Ehsan Akhgari
ca4dec06f8 Bug 1496375 - Update the blocker category states when the content blocking pref value changes r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8245

--HG--
extra : moz-landing-system : lando
2018-10-11 09:51:55 +00:00