Граф коммитов

73 Коммитов

Автор SHA1 Сообщение Дата
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
Johann Hofmann 3637b98ab3 Bug 1462470 - Part 3 - Show a "reload this page" warning in the control center when trackers are loaded while TP is on. r=Paolo
Part 2 exposed an edge case that would allow the user to have TP enabled but
still have tracking content on a page, bringing our UI into a confused state.

This adds a new element that shows when TP is enabled and no exception is set,
but tracking content is still loaded, and recommends reloading the page.

MozReview-Commit-ID: EYy6xVCjNts

--HG--
extra : rebase_source : 616fe197e8c994448c4eb5f9dfeafd260c2ce084
2018-05-24 13:14:16 +02:00
Johann Hofmann 7895ec735b Bug 1462470 - Part 2 - Alert about trackers when Tracking Protection is off in the identity popup. r=Paolo
This commit changes the tracking protection UI to always be present in the
identity popup (control center) UI. Following the UI spec in
https://mozilla.invisionapp.com/share/RSIY1B8GMC2#/screens/297824891,
we are now warning about trackers even when TP is disabled and alter the
button that shows up in this case to open the TP settings in about:preferences.

MozReview-Commit-ID: 6g8rzWVRaua

--HG--
extra : rebase_source : 328ea44b085626cc0266591cc87b17657af888ad
2018-05-24 13:12:30 +02:00
Johann Hofmann f277f6146c Bug 1462469 - Add a "Clear Cookies and Site Data" footer button to the identity popup. r=nhnt11
This implements a new button in the identity popup that allows users to quickly
remove cookies and site data from the sites they're visiting.

This uses the SiteDataManager behind the scenes and is similar to the changes
we made for PageInfo already.

There's a major drawback to this approach in that SiteDataManager needs to
refresh its entire data set everytime we want information about a single site
or want to remove anything (it's not trivial to get rid of that limitation while
dealing with all the quirks of our storage APIs). I will work around this by
implementing a way for SiteDataManager to incrementally update itself in bug 1460768.

MozReview-Commit-ID: Iy7ia0KllFq

--HG--
extra : rebase_source : a36e0e7049c5892464d91ad42c3bf523dd5013f9
2018-05-18 11:36:15 +02:00
James Teh 92baffe42e Bug 1454866 part 2: Make the buttons in the Site Security panel keyboard navigable. r=johannh
Previously, the only button that could be accessed with the keyboard was the Back button.

MozReview-Commit-ID: 2khSExFNkVP

--HG--
extra : rebase_source : 3f4f02cdccc43abf11b4782458abad5b04b7c899
2018-04-23 10:42:06 +10:00
Paolo Amadini fc23659e93 Bug 1414244 - Part 6 - Fold the "photonpanelmultiview" binding into "panelmultiview". r=Gijs
MozReview-Commit-ID: IjvSZZUHUMt

--HG--
extra : rebase_source : a94e212e8af35b77806d1d62e020a511ab62e224
2017-11-21 14:21:32 +00:00
Paolo Amadini f735328150 Bug 1409301 - Update the site security subview to the Photon style. r=johannh
The site security subview is now implemented using the "photonpanelmultiview" element, replacing the last instance of the "panelmultiview" element. The subview features a standard Photon header, hence the connection state icon was moved to the element below it. This makes the styles more similar between the main view and the subview. The connection state styles are now applied using a class name, and the tests have been updated accordingly.

This change required some fixes in the "photonpanelmultiview" implementation to make sure the height of the subview is correct and to allow keyboard navigation back to the main view.

Since the expander button and the permission controls in the main view are not visible anymore after the subview is shown, some code related to focus and hover could be removed as well.

MozReview-Commit-ID: 4nIAPWJPV8k

--HG--
extra : rebase_source : 74d6d769421c0f8521bdfae249b4d111e630a3bd
2017-11-11 19:13:43 +00:00
Prathiksha a8caee472c Bug 1373487 - Don't display permission content in the control center for internal pages.r=johannh
MozReview-Commit-ID: 4DfoiUdHqh8

--HG--
extra : rebase_source : eb42178d3ffa0d7dde9579d49e668f9afed97b90
2017-08-14 20:21:08 +05:30
Gijs Kruitbosch dbd7fca428 Bug 1369729 - use descriptionheightworkaround for sync panel, r=mconley,Paolo
MozReview-Commit-ID: LQg6NEgCqz2

--HG--
extra : rebase_source : a039936a4c8e416c16171cacf73dab781d77ab50
2017-06-28 17:50:43 +01:00
Carsten "Tomcat" Book 2a387535b8 Backed out changeset a6d7647024de (bug 1369729) for reflow issues 2017-06-23 15:48:54 +02:00
Gijs Kruitbosch 70c55f0619 Bug 1369729 - use descriptionheightworkaround for sync panel, r=Paolo
MozReview-Commit-ID: LQg6NEgCqz2

--HG--
extra : rebase_source : ebc990e44e7025e90a0a0415df6ce102ba4ba8f0
2017-06-19 16:06:01 +01:00
Sebastian Hengst 7648740589 Backed out changeset c0772946156f (bug 1369729) for failing browser-chrome's browser_appmenu_reflows.js with unexpected uninterruptible reflow. r=backout 2017-06-23 12:53:23 +02:00
Gijs Kruitbosch 28f0bb0532 Bug 1369729 - use descriptionheightworkaround for sync panel, r=Paolo
MozReview-Commit-ID: LQg6NEgCqz2

--HG--
extra : rebase_source : bfe13f52ec729a24ac53854b67d4613fd47b52bb
2017-06-19 16:06:01 +01:00
Johann Hofmann 9cb495288a Bug 1368281 - Consistently use label and description in the tracking protection section of the identity popup. r=Paolo
MozReview-Commit-ID: F7f9XQapoRP

--HG--
extra : rebase_source : e532591531b7ab79a835205b4f645f4bb8b9eb29
2017-05-30 15:21:59 +02:00
Paolo Amadini 33ebc4466d Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx

--HG--
extra : rebase_source : b872c14a553c4293ac476d5d22c634a5a0f6cb24
extra : intermediate-source : bf96469b6ea7daee29eb75a60d11f017a1c86a64
extra : source : 719bb4e7286fbd3baf32061929e4b7d9f953c671
2017-05-23 17:08:01 +01:00
Matthew Wein 7353ca75f1 Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs

--HG--
rename : browser/components/extensions/extension.svg => browser/themes/shared/controlcenter/extension.svg
extra : rebase_source : a89e321d3f5750307a869fdf82521a61bce62ce1
2017-05-10 15:14:15 -04:00
Johann Hofmann 31a66750f4 Bug 1335018 - Make the side identity popup adhere to role=alertdialog for a11y. r=Gijs,MarcoZ
MozReview-Commit-ID: DpqeeN570H9

--HG--
extra : rebase_source : 932d597e9e37235259e8e1060b3eeba57995992a
2017-02-09 17:16:28 +01:00
Dão Gottwald 5d0a680586 Bug 1332267 - Rename the "host" and "hostless" classes to be more distinctive. r=jkt
MozReview-Commit-ID: 1fjd1upFTeM

--HG--
extra : rebase_source : 866b4697dc3706d08782460a74bc0d836f018c7e
2017-01-19 14:20:51 +01:00
Florian Quèze 10bffa86d3 Bug 1287477 - Use wrapping labels for the second line of the control center panel, r=Gijs. 2017-01-11 22:27:43 +01:00
Florian Quèze faa5281786 Bug 1299437 - Manually calculate height changes of the control center's permission list until we have a real fix for sizing issues in panelmultiview, r=jaws. 2016-09-12 13:32:25 +02:00
Ricky Chien 35b95e26e1 Bug 1206229 - Inform the user that changes may require a page reload r=Paolo
MozReview-Commit-ID: 3tJRhxeDnUb

--HG--
extra : rebase_source : ac829778e8c6225801efb3989578b0f9814a140b
2016-08-11 11:52:47 +08:00
Florian Quèze b3b059f868 Bug 1206233 - Avoid flickering of the panel when removing permission items, r=jaws
MozReview-Commit-ID: L5LKDawDyCg
2016-08-16 14:30:42 +03:00
gasolin 75c86d739f Bug 1193006 - Show icons next to non-default permissions in the Permissions section of the Control Center. r=paolo
MozReview-Commit-ID: 1YeU5ECOHYL

--HG--
extra : rebase_source : 9f79b819312c1dda77daf2841e561a8bcc60b418
2016-06-24 13:02:08 +01:00
karl dd1d61db06 Bug 1194874 - Change 'run by' to 'owned by' in the Control Center. r=Gijs 2016-05-26 23:13:58 +02:00
Jonathan Kingston 243bd312d9 Bug 1207619 - Make control center hostname wrap on long cert names rather than truncating. r=gijs
MozReview-Commit-ID: LZnx91zv6pE

--HG--
extra : transplant_source : %E5%F52%F0%05%A8%A58%0A5%89V%E2%0B%8Eh%E8%BD%B1%C0
2016-04-20 16:54:58 +01:00
Nihanth Subramanya b87a8ff82c Bug 1202280 - [Control Center] Style the security subview's More Information button like a footer. r=jaws
MozReview-Commit-ID: FFrmSP1TYpT

--HG--
extra : rebase_source : 212cda9ac556a68ce9df5feee877db03ee559f8d
2016-02-11 14:00:48 -08:00
Nihanth Subramanya 4c1b965308 Bug 1220753 - Add button to revoke security exceptions in the control center. r=paolo 2016-02-07 17:46:47 -08:00
Nihanth Subramanya 6e71a5e6cf Bug 1201437 - Degrade control center/identity box icons to grey lock with yellow triangle for user-added security exceptions. r=paolo
MozReview-Commit-ID: 92m7Rhjufv4

--HG--
extra : rebase_source : 3e392e1d3012093edf30eee2c5d5cb77a2da8a10
2016-02-24 22:45:23 -08:00
Tanvi Vyas c208cee58b Bug 1241292 - Update string in control centerl main panel of insecure passwords warning. r=MattN 2016-01-22 16:03:54 -08:00
Paolo Amadini 5924d46107 Bug 1216699 - Add Learn More link to Insecure Password Warning in Control Center. r=bgrins
--HG--
extra : commitid : KNjyMETahMC
extra : rebase_source : f0498fe7a4a85731350172935252bb414b7503a8
2015-10-30 14:36:13 +00:00
Paolo Amadini fdfd38ab19 Bug 1179961 - Use a lock with a strikethrough for HTTP pages that have password fields in the Control Center. r=ttaubert,bgrins
--HG--
extra : commitid : LRcPqFBGWx0
extra : rebase_source : 4782a713d8cd66d7fd2bf3ddd420519f920f9845
extra : amend_source : d2e953b04cb4b0d86c794789075cfe8af7077d5e
2015-10-19 16:43:18 +01:00
Vladan Djeric ae0382b6f1 Backed out changeset 578fbd8d8b3c (bug 1179961) for Talos regressions (bug 1213364) 2015-10-10 23:54:48 -04:00
Paolo Amadini cec3e85a4e Bug 1179961 - Use a lock with a strikethrough for HTTP pages that have password fields in the Control Center. r=ttaubert,bgrins
--HG--
extra : commitid : 9Cv8FpIQva7
extra : rebase_source : f0d10a153b1f054141fd1caaf8423049af79f04e
2015-10-07 20:50:40 +01:00
Tim Taubert c7e37ab652 Bug 1193849 - Show "Learn more" link in security subview when mixed content blocking is disabled f=tanvi r=paolo 2015-09-23 14:18:46 +02:00
Richard Barnes d1f14337d5 Bug 1204616 - Control Center should show full host name (w/ subdomains) in security block. r=MattN,liuche
--HG--
extra : commitid : CCWgbbWihKu
extra : rebase_source : 294f5ae1654926cad1c54ac72741a2ee7c2c9edd
2015-09-16 18:01:27 -07:00
Tim Taubert 4a63c69f3a Bug 1193004 - Always show permissions section in the Control Center r=bgrins 2015-09-16 12:51:19 +02:00
Carsten "Tomcat" Book 5b9d50c59a Backed out 1 changesets (bug 1193004) for bc7 test failures
Backed out changeset 98f6e793e383 (bug 1193004)

--HG--
extra : rebase_source : ad701c683a51d4f9d85239d7c65d40ed74c28b5d
2015-09-14 15:18:25 +02:00
Tim Taubert ce9b360431 Bug 1193004 - Always show permissions section in the Control Center r=bgrins 2015-09-04 14:02:41 +02:00
Brian Grinstead 969db82f87 Bug 1203280 - Back out all non-test changes from changeset f460ad2878d9 (bug 1193158);r=MattN
--HG--
extra : commitid : JOZBXThqYTw
2015-09-09 15:19:36 -07:00
Brian Grinstead ce53bb1989 Bug 1203280 - Back out all non-test changes from changeset 064a1ae9f3d4 (bug 1199790);r=MattN
--HG--
extra : commitid : DZAN4miPJkE
2015-09-09 15:19:34 -07:00
Dao Gottwald 32ee2bacce Bug 1202279 - "[Control Center] Security subview's More Information button should always be at the bottom". r=jaws 2015-09-06 13:11:00 +02:00
Brian Grinstead 56824267bd Bug 1199790 - Add grouping in Control Center Permissions subpanel;r=ttaubert
--HG--
extra : commitid : 1Y3HZTwCHKF
2015-09-03 10:25:31 -07:00
Brian Grinstead f230542190 Bug 1193158 - Create a basic site permissions subview;r=ttaubert
--HG--
extra : commitid : 2mKT8phamrs
2015-09-01 13:35:08 -07:00