Commit Graph

102 Commits

Author SHA1 Message Date
Nihanth Subramanya
4d7dc40513 Bug 1551902 - ContentBlocking: Set hasException attribute in onLocationChange. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32981
2019-06-06 15:18:10 +00:00
Nihanth Subramanya
5f03c65569 Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952
2019-06-06 15:17:43 +00:00
Daniel Varga
807237ed99 Backed out 4 changesets (bug 1551902) for browser-chrome failure at browser/base/content/test/trackingUI/browser_trackingUI_cryptominers.js. On a CLOSED TREE
Backed out changeset 762ba28bc409 (bug 1551902)
Backed out changeset 4c8afa61cbec (bug 1551902)
Backed out changeset 212cfe3c1893 (bug 1551902)
Backed out changeset 29cbb321a610 (bug 1551902)
2019-06-05 02:48:37 +03:00
Nihanth Subramanya
b2d4589b77 Bug 1551902 - ContentBlocking: Set hasException attribute in onLocationChange. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32981
2019-06-04 21:48:30 +00:00
Nihanth Subramanya
b852391643 Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952
2019-06-04 21:47:20 +00:00
Gurzau Raul
8b57bf9f16 Backed out 4 changesets (bug 1551902) for failing at browser_protections_UI.js
Backed out changeset 974fd62d4135 (bug 1551902)
Backed out changeset 5dc18a9c4af8 (bug 1551902)
Backed out changeset 4eeb898f69f2 (bug 1551902)
Backed out changeset 9b7d5885e1db (bug 1551902)
2019-06-04 17:15:51 +03:00
Nihanth Subramanya
969399f07d Bug 1551902 - ContentBlocking: Set hasException attribute in onLocationChange. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32981
2019-06-04 13:10:40 +00:00
Nihanth Subramanya
0e629fe92a Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952
2019-06-04 13:09:58 +00:00
Ehsan Akhgari
0e344b3d76 Bug 1547813 - Part 11: Add support for reporting breakage when the nsICookieService.BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN cookie policy is active; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30120
2019-05-25 01:25:55 +00:00
Noemi Erli
4470605646 Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
62799e2d33 Bug 1547813 - Part 11: Add support for reporting breakage when the nsICookieService.BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN cookie policy is active; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30120
2019-05-08 19:38:12 +00:00
Erica Wright
11bfd60f23 Bug 1548626 - Delay showing the Privacy-UI onboarding by 30 min for new users. r=johannh
Wait 30 min after a new profile is created before showing the onbording.

Differential Revision: https://phabricator.services.mozilla.com/D29762
2019-05-06 00:37:05 +00:00
Bogdan Tara
c6a2c4dff6 Backed out changeset 0ef6e3e9552d (bug 1548626) for browser_contentBlocking.js failures 2019-05-03 05:03:30 +03:00
Erica Wright
7fb1aab785 Bug 1548626 - Delay showing the Privacy-UI onboarding by 30 min for new users. r=johannh
Wait 30 min after a new profile is created before showing the onbording.

Differential Revision: https://phabricator.services.mozilla.com/D29762
2019-05-02 23:17:12 +00:00
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