Commit graph

115 commits

Author SHA1 Message Date
Alexander Surkov
1649231cef Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595

--HG--
rename : toolkit/content/widgets/text.xml => toolkit/content/widgets/text.js
2019-02-12 19:14:40 -05: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
Johann Hofmann
7b94b61d51 Bug 1522256 - Add telemetry events for new content blocking UI items. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D17488

--HG--
extra : moz-landing-system : lando
2019-01-25 16:07:40 +00: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
Akash Srivastava
f661f3c298 Bug 1519920 - Remove the identity-popup-footer class. r=dao 2019-01-17 12:13:23 +01:00
Jonas Allmann
190fcf404f Bug 1497922 - Fix Content Blocking tooltip, r=johannh
Re-inserted correct tooltip for Content Blocking settings button.

Differential Revision: https://phabricator.services.mozilla.com/D16679

--HG--
extra : moz-landing-system : lando
2019-01-16 11:14:47 +00:00
Dão Gottwald
efd44eae02 Bug 1515902 - Introduce panel-footer class to fix common color problem with footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15188

--HG--
rename : toolkit/themes/shared/close-icon.inc.css => toolkit/themes/shared/global.inc.css
extra : moz-landing-system : lando
2018-12-21 15:44:44 +00: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
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
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
Erica Wright
e1144da8c4 Bug 1501986 - Update exception button styling in control center. r=johannh
Change the styling of the create/remove exception button in the control center.

Differential Revision: https://phabricator.services.mozilla.com/D10312

--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:40 +00:00
Tim Nguyen
0a931bdeff Bug 1502731 - Remove @hudButton@ and @hudButtonPressed@. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10004

--HG--
extra : moz-landing-system : lando
2018-10-30 19:04:23 +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
Marco Zehe
e67f242eb0 Bug 1501899 - Label the Identity popup with the Site information header for accessibility, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D9757

--HG--
extra : moz-landing-system : lando
2018-10-25 09:33:23 +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
Michael Kohler
af087b7cfe Bug 1496240 - Change 'Blocked' to 'Blocking' for in Content Blocking Categories doorhanger part r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8793

--HG--
extra : moz-landing-system : lando
2018-10-16 10:45:01 +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
0a8491c6a9 Bug 1496522 - Change "All Detected Trackers" to "Trackers". r=flod
Differential Revision: https://phabricator.services.mozilla.com/D8198

--HG--
extra : moz-landing-system : lando
2018-10-10 11:25:59 +00:00
Johann Hofmann
3b6d09a99f Bug 1476220 - Show a "site information" header in the identity popup. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D7090

--HG--
extra : moz-landing-system : lando
2018-10-09 13:47:13 +00:00
Narcis Beleuzu
e824cdada7 Backed out changeset 015250ccee42 (bug 1476220) for causing en-US failures on identity-popup-host 2018-10-09 13:07:09 +03:00
Johann Hofmann
79c5839764 Bug 1476220 - Show a "site information" header in the identity popup. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D7090

--HG--
extra : moz-landing-system : lando
2018-10-09 09:11:01 +00:00
Johann Hofmann
0c60d58387 Bug 1489581 - Improve vertical centering inside the content blocking "disabled" label. r=paolo
Labels in the identity popup that are potentially multiline get dynamic heights set
as part of the descriptionHeightWorkaround. This causes some cross-platform glitches
in vertically centering the icon and the label of the disabled indicator.

The disabled label doesn't really need to be multiline, so we avoid doing that. This
also means that we need to make some changes to handle long "Disabled" labels a little
more gracefully, but looking at existing translations of the word "Disabled" we won't
run into trouble: https://transvision.mozfr.org/string/?entity=browser/chrome/browser/browser.dtd:contentBlocking.disabled.label&repo=gecko_strings

Differential Revision: https://phabricator.services.mozilla.com/D6041

--HG--
extra : moz-landing-system : lando
2018-09-18 12:14:35 +00:00
Johann Hofmann
b812e620f1 Bug 1484574 - Update copy for the content blocking section in the identity popup. r=paolo
This updates some copy based on UX and legal requirements as well as add a correct
SUMO URL for the "Learn More" link for breakage reporting.

Differential Revision: https://phabricator.services.mozilla.com/D4172

--HG--
extra : moz-landing-system : lando
2018-08-24 09:26:33 +00:00
Ehsan Akhgari
bdb451ac2e Bug 1484312 - Add UI for restricting third-party cookies to the Control Centre; r=johannh,flod 2018-08-22 17:05:19 -04:00
Johann Hofmann
a7d5d9b4a7 Bug 1474238 - Add a "report breakage" dialog for Tracking Protection. r=Paolo
MozReview-Commit-ID: 26q5PYLUZGS

--HG--
extra : rebase_source : 34c534968c82784539aecb25c2ee77f4fb0bbdde
2018-07-11 17:14:35 +02:00
Johann Hofmann
dabab2f05c Bug 1476218 - Part 2 - Add a "Disabled" label to the content blocking section in the identity popup. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D2776

--HG--
rename : browser/themes/shared/controlcenter/warning-gray.svg => browser/themes/shared/controlcenter/warning.svg
extra : rebase_source : 546942d6632ba8139b00b4742d92129d49fbadde
2018-08-06 12:45:22 +02:00
Johann Hofmann
29edd41fd0 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

Differential Revision: https://phabricator.services.mozilla.com/D2775

--HG--
rename : browser/base/content/browser-trackingprotection.js => browser/base/content/browser-contentblocking.js
extra : rebase_source : 0dd57d6142c971617e9f47d32ce76a4a028d98eb
2018-08-06 12:43:59 +02:00
Paolo Amadini
c140ab38d1 Bug 1480082 - Remove broadcasters from the identity panel. r=johannh
MozReview-Commit-ID: DOBK86SAs3q

--HG--
extra : rebase_source : 8ce16ff641f77e25d91e196a02a1ea26c5cb2717
2018-08-01 13:51:39 +01:00
Paolo Amadini
7328341032 Bug 1473748 - Part 1 - Use the type of element instead of the "subviewbutton" and "subviewkeynav" classes to initialize the list of navigable elements. r=johannh
MozReview-Commit-ID: IgxwGRNLsct

--HG--
extra : rebase_source : edc897a0c0ac7a8b7b551759a8d69b7c3d3659d5
2018-07-26 14:58:43 +01:00
Johann Hofmann
e7b9853987 Bug 1467385 - Use PanelMultiView APIs for keyboard navigation in the identity popup. r=Paolo
PanelMultiView has its own concept of "selected", so we should use this rather than move focus
using advanceFocusIntoSubTree.

MozReview-Commit-ID: DW2JqqggLl1

--HG--
extra : rebase_source : ec7a6f83fdda176f3286cf4395dc72de6cad2466
2018-07-02 14:34:25 +02:00
James Teh
33c82e5cba Bug 1473200: Provide accessibility context for permission controls in the identity popup. r=johannh
The containers are given an ARIA role of group and labels are associated using aria-labelledby.
For example, this allows screen reader users to know which permission each control is associated with.
Otherwise, they might hear only "Clear this permission and ask again  button", with no knowledge of what the permission is.

MozReview-Commit-ID: LeiOmz6go9l

--HG--
extra : rebase_source : 66920efd9d0f72375561c5b10d4bbd765306abf1
2018-07-04 12:13:51 +10:00
Johann Hofmann
072bf14b8b Bug 1468671 - Enable identity popup headlines to span multiple lines. r=Paolo
MozReview-Commit-ID: 8Y3Pql7n2U5

--HG--
extra : rebase_source : 740a7037ca1bedb36c347262e927470bccd0ba7d
2018-06-17 19:24:17 -07:00
Johann Hofmann
3fe5e7fa6c Bug 1470020 - Part 4 - Don't handle Tracking Protection UI on file: and about: URIs. r=florian
... because these URIs are incompatible with TP.

We now show it on moz-extension: instead, which was forgotten previously.

This should probably have been in its own separate bug, but the changes in bug 1470020
surfaced this issue by throwing a lot of console errors when the baseURI was accessed,
so I didn't want to defer the fix.

MozReview-Commit-ID: 8KNV0oabv7Y

--HG--
extra : rebase_source : b6aae33385ed3166c59c0c8733de0a9609f05d92
2018-06-21 12:23:42 +02:00
Johann Hofmann
6d3223de0f Bug 1470020 - Part 3 - Updates to TP copy in the identity popup. r=florian
MozReview-Commit-ID: 9LPReDTgjxJ

--HG--
extra : rebase_source : 8ee2fa80246f592f5a0f7157728cdf812892ca3f
2018-06-21 02:13:01 +02:00
Johann Hofmann
e338329576 Bug 1470020 - Part 2 - Add specific states for when the user has added a TP exception to the TP section of the identity popup. r=florian
We used to give this all the same "tracking-loaded" state, but now we want to differentiate between:

- Tracking loaded because TP is off
- Tracking loaded because of an exception
- Tracking not loaded but the site has an exception, which we want to allow the user to remove (if TP is on)

MozReview-Commit-ID: E9j0Roq1bsH

--HG--
extra : rebase_source : 70992e27b91bfed3cce0b868b63ce3a8c0afc5d0
2018-06-21 02:10:02 +02:00
Johann Hofmann
d34f805778 Bug 1462471 - Link to permission preferences from the identity popup permissions section. r=prathiksha
MozReview-Commit-ID: 4XNBfztgWOG

--HG--
extra : rebase_source : 713003dcc2e35aba0283797e96fe13559990d744
2018-06-01 23:17:52 +02:00
Johann Hofmann
657b0dda6c Bug 1462470 - Part 5 - Show a preferences button in the Tracking Protection section of the identity popup. r=Paolo
MozReview-Commit-ID: AAScIwDsLnQ

--HG--
extra : rebase_source : ebc815b6c6642745ebeb97373e41fb210f9179b8
2018-05-29 13:06:04 +02:00