Commit Graph

88 Commits

Author SHA1 Message Date
Tim Nguyen
1ae608b252 Bug 1546367 - Clear report textarea when report is submitted. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D28522
2019-04-23 18:28:04 +00:00
Erica Wright
3a13ef9749 Bug 1543022 - do not show content blocking icon on about: pages when location change isSimulated. r=johannh
onLocationChange does not get the simulated events. We need to be hiding the icon from the onContentBlockingEvent as it was before, since that seems to cover all of them.

Differential Revision: https://phabricator.services.mozilla.com/D27166
2019-04-16 15:26:22 +00:00
Johann Hofmann
37db3eb300 Bug 1540416 - Move toggling the report breakage button out of onContentBlockingEvent. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D27254
2019-04-15 20:34:12 +00:00
nidhi
81bf3cf2a2 BUG 1448932 - Added: Prefs for tracking protection intro r=johannh
replaced MAX_INTROS constant value of 20 with pref set to 5

Differential Revision: https://phabricator.services.mozilla.com/D24783
2019-04-11 21:58:58 +00:00
Erica Wright
5e2d24dded Bug 1488125 - only allow content blocking UITour in one window at a time. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D25452
2019-04-01 18:35:16 +00:00
Johann Hofmann
ec4013cc00 Bug 1538684 - Add reportBreakage labels and report prefs for fingerprinters and cryptominers. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D24695
2019-03-29 18:51:33 +00:00
Erica Wright
5347dfc165 Bug 1528080 - Telemetry for shield histogram reports per page load. r=johannh
The shield historgram was reporting once per content blocking event, now it reports per page load.

Differential Revision: https://phabricator.services.mozilla.com/D24017
2019-03-22 20:58:04 +00:00
paarmita
ca5061c559 Bug 1483364 - Tooltip for Tracking Protection item in the Firefox menu uses a capitalized Preferences; r=johannh
Tooltip for Tracking Protection item in the Firefox menu uses a capitalized Preferences (and should use 'options' on Windows)

Differential Revision: https://phabricator.services.mozilla.com/D21856
2019-03-21 13:40:54 +00:00
Erica Wright
aed14cd2c6 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-18 15:21:52 +00:00
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