Commit Graph

253 Commits

Author SHA1 Message Date
Nihanth Subramanya
8c3573600b Bug 1643191 - Show storage access permissions in the identity panel. r=pbz,fluent-reviewers,johannh,flod
This patch adds storage access permission items in the identity panel. This is a new
class of permission - multiple permission items might exist for the category i.e.
one for each third-party that has been granted access. To achieve this, we add support
for an "anchorfor" attribute in the permission list markup, which when present will
signal to the code that the element is to be the container for permission items of type
matching the value of the attribute. This hence adds support generally for categorical
permission types.

Differential Revision: https://phabricator.services.mozilla.com/D94703
2020-11-09 00:21:13 +00:00
julianwels
3671d66d85 Bug 1671291 - Clarified that HTTPS-Only identity-panel UI only affects the current page. r=ntim,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D93651
2020-10-16 12:54:31 +00:00
julianwels
d2086b7851 Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-06 00:35:05 +00:00
Brindusan Cristian
3cc0d3988e Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00
julianwels
9fc4f235f4 Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-02 21:11:46 +00:00
Ingrid Buh
ebd9f22441 Bug 1639826 - Fix hover effects on link texts in the protection panel. r=prathiksha,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D85755
2020-08-04 10:29:38 +00:00
Andreea Pavel
e9e7d4b8d3 Backed out changeset f7bb83828578 (bug 1639826) for failing bc at browser_protectionsUI.js on a CLOSED TREE 2020-07-24 15:25:59 +03:00
Ingrid Buh
ce6fee46c4 Bug 1639826 - Fix hover effects on link texts in the protection panel. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D81309
2020-07-24 10:30:07 +00:00
julianwels
e3c9ee5f46 Bug 1647336 - Fixed incorrect icon and site-identity information on HTTPS-Only Error Page. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D83134
2020-07-14 14:07:50 +00:00
Gijs Kruitbosch
480e677a3b Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 21:32:09 +00:00
Bogdan Tara
7689a981c8 Backed out changeset add40bc29da9 (bug 1634032) for browser_controlCenter.js failures CLOSED TREE 2020-07-10 21:10:42 +03:00
Gijs Kruitbosch
ec4fcaf060 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 15:28:58 +00:00
Butkovits Atila
73a0d4bed1 Backed out changeset 71ca1673171d (bug 1634032) for assertion failure on DOMJSProxyHandler.cpp. CLOSED TREE 2020-07-10 01:36:16 +03:00
Gijs Kruitbosch
06c3b72ba5 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-09 20:23:14 +00:00
Gijs Kruitbosch
a25d1a59b7 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
Dorel Luca
10867ecce0 Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Gijs Kruitbosch
e7ae448a2d Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Gijs Kruitbosch
1e63ce3253 Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Erica Wright
da2c78bf70 Bug 1641627 - Update string for protection panel entrypoint to protections dashboard. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D77314
2020-05-28 17:44:58 +00:00
Erica Wright
1ea362fe09 Bug 1635218 - Update Protections Dashboard entry points. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74940
2020-05-19 16:58:51 +00:00
Artem
e206d05827 Bug 1609559 - Migrate protectionsPanel.inc.xhtml to Fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71234
2020-04-28 06:23:10 +00:00
aarushivij
fb9545cf6e Bug 1587870 - [Protections Panel] Add level of protection next to 'Protection Settings' r=johannh,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70521
2020-04-19 09:27:39 +00:00
meenohara
917104903d Bug 1567827 Get rid of security.insecure_password.ui.enabled r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D67178
2020-03-19 11:28:36 +00:00
Thal
7ce7b721cf Bug 1578086 - Update 'Why?' link cursor and color in protection tracking panel. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D65958
2020-03-09 13:29:48 +00:00
Gijs Kruitbosch
2ace86e303 Bug 1614911 - set noautofocus on identity and control center popups to prevent stealing focus from the content, r=Jamie,johannh
Differential Revision: https://phabricator.services.mozilla.com/D63367
2020-02-21 08:25:16 +00:00
Zibi Braniecki
2093ef243a Bug 1605217 - Migrate Identity Panel to Fluent. r=fluent-reviewers,nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D57878
2020-01-10 02:16:09 +00:00
Erica Wright
a2860e99e9 Bug 1602015 - Add telemetry to the protection panel milestone message r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D56381
2019-12-11 15:38:30 +00:00
Brian Grinstead
628c0a5dcc Bug 1596591 - Rename inc.xul files to inc.xhtml r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53843
2019-11-21 09:46:01 +00:00
Tim Nguyen
bd028dac60 Bug 1576946 - Implement <stack> using CSS Grid. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46226
2019-11-12 19:49:48 +00:00
Nihanth Subramanya
0d817f0d56 Bug 1578831 - Link directly to breakage report subview when ETP is off. r=timhuang,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47574
2019-11-07 20:13:31 +00:00
Johann Hofmann
19a257105e Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 21:14:21 +00:00
Coroiu Cristina
23ead68999 Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for browser-chrome failures at browser/base/content/test/siteProtections/browser_protections_UI.js on a CLOSED TREE
Backed out changeset 7bc4ba491fc6 (bug 1592616)
Backed out changeset 7f420cfdf282 (bug 1592616)
Backed out changeset 9c00153e7458 (bug 1575785)
Backed out changeset e8ba7d342c46 (bug 1582751)
Backed out changeset 6ded6886d2ed (bug 1592616)
2019-11-06 22:58:29 +02:00
Johann Hofmann
75310ef7bd Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 15:35:17 +00:00
Gurzau Raul
0ba66b9123 Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
Backed out changeset ee2ba98f5a17 (bug 1592616)
Backed out changeset 1f665fb32bff (bug 1592616)
Backed out changeset dde543f12c83 (bug 1575785)
Backed out changeset fadcc9e29ffd (bug 1582751)
Backed out changeset e86703d8db17 (bug 1592616)
2019-11-06 15:48:17 +02:00
Johann Hofmann
4e30d01f3f Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-06 00:47:33 +00:00
Brindusan Cristian
9c5f78c9db Backed out 4 changesets (bug 1582751, bug 1575785, bug 1592616) for bc failures at browser_protections_UI.js. CLOSED TREE
Backed out changeset 7065a97d62f2 (bug 1592616)
Backed out changeset 5f243fa3ab1e (bug 1575785)
Backed out changeset 7870976299f2 (bug 1582751)
Backed out changeset a9b6b44f82af (bug 1592616)
2019-11-06 02:23:31 +02:00
Johann Hofmann
ff52527bc1 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-03 06:46:39 +00:00
shindli
ef519b5ffe Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for causing perma failures in browser/base/content/test/siteProtections/browser_protections_UI.js CLOSED TREE
Backed out changeset d08754485c25 (bug 1575785)
Backed out changeset be51af34cb7a (bug 1582751)
Backed out changeset c753c25b8f77 (bug 1592616)
2019-11-03 08:43:22 +02:00
Johann Hofmann
30a4437521 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-03 04:10:55 +00:00
Gurzau Raul
d21dcc6592 Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
Backed out changeset 4905af6536bd (bug 1575785)
Backed out changeset 13566afee847 (bug 1582751)
Backed out changeset 5fe8f0955483 (bug 1592616)
2019-11-01 18:27:33 +02:00
Johann Hofmann
2969130428 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382
2019-11-01 12:07:13 +00:00
Nihanth Subramanya
850b367c42 Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599
2019-10-21 15:16:34 +00:00
Razvan Maries
aa0a70cc7e Backed out changeset 66b01a30ed12 (bug 1589015) for causing perma fails on browser_trackingUI_categories.js. CLOSED TREE 2019-10-18 12:29:35 +03:00
Nihanth Subramanya
84afb64d7e Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599
2019-10-18 08:23:48 +00:00
Nihanth Subramanya
8c44ae15b1 Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799
2019-10-16 09:00:20 +00:00
Cosmin Sabou
c57a4e7ae5 Backed out changeset 1a28547631d7 (bug 1584312) for failures on browser_protections_UI_milestones.js. 2019-10-16 11:26:06 +03:00
Nihanth Subramanya
8f1d00fb37 Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799
2019-10-15 17:09:59 +00:00
Tim Huang
b8265a3d15 Bug 1581393 - Changing the tooltip string of the 'why' on the protections panel if the ETP is off. r=nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D48300
2019-10-07 09:00:47 +00:00
Nihanth Subramanya
32681034e1 Bug 1583350 - Make the more info image full-width with no borders. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47437
2019-09-30 12:21:01 +00:00
Coroiu Cristina
810063f053 Backed out 4 changesets (bug 1583355, bug 1576600, bug 1576601, bug 1583350) for browser-chrome failures at browser/base/content/test/siteProtections/browser_protections_UI.js on a CLOSED TREE
Backed out changeset d1fe84998565 (bug 1576600)
Backed out changeset f8919c0d489c (bug 1576601)
Backed out changeset 78bbc490901b (bug 1583355)
Backed out changeset 012d008e440a (bug 1583350)
2019-09-30 14:33:49 +03:00