Commit graph

261 commits

Author SHA1 Message Date
Razvan Maries
29261ec7e6 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
dd9ab00dff Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599

--HG--
extra : moz-landing-system : lando
2019-10-18 08:23:48 +00:00
Nihanth Subramanya
5a7e50a306 Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799

--HG--
extra : moz-landing-system : lando
2019-10-16 09:00:20 +00:00
Cosmin Sabou
771f858152 Backed out changeset 1a28547631d7 (bug 1584312) for failures on browser_protections_UI_milestones.js. 2019-10-16 11:26:06 +03:00
Nihanth Subramanya
3936f012cd Bug 1584312 - Implement blocked tracker count milestones UI. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D47799

--HG--
extra : moz-landing-system : lando
2019-10-15 17:09:59 +00:00
Tim Huang
89b69a623d 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

--HG--
extra : moz-landing-system : lando
2019-10-07 09:00:47 +00:00
Nihanth Subramanya
0cb0f49a4d Bug 1583350 - Make the more info image full-width with no borders. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47437

--HG--
extra : moz-landing-system : lando
2019-09-30 12:21:01 +00:00
Coroiu Cristina
176d920d7c 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
Nihanth Subramanya
de72473ba1 Bug 1583350 - Make the more info image full-width with no borders. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47437

--HG--
extra : moz-landing-system : lando
2019-09-30 10:41:18 +00:00
Johann Hofmann
3ba04bcead Bug 1581415 - Add missing wrap attributes to toolbarbuttons in the protections panel. r=nhnt11
See bug 1564077 on why this is necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:48 +00:00
Johann Hofmann
1489dc82e4 Bug 1578265 - Remove security.ui.identitypopup event telemetry. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D46752

--HG--
extra : moz-landing-system : lando
2019-09-23 12:26:03 +00:00
Tim Huang
15cf9f859c Bug 1566813 - Part 3: Show a warning lock icon for the 'about:certerror' page in identity popup. r=johannh
We add a new connection type 'cert-error-page' and will show a warning
lock icon for it. We add a test for it and update existing tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 18:00:04 +00:00
Francesco Lodolo (:flod)
d5fbc7aac4 Bug 1579730 - Use new accesskey string for "Manage Protection Settings" (contentBlocking.manageSettings2.label) r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D45503

--HG--
extra : rebase_source : f048c43edd685a10737664e4ee0be03894fd0567
extra : source : 5273d28eaf3d0f2c5589b2811a38ce3ef07e8c15
2019-09-11 09:58:05 +00:00
Mihai Alexandru Michis
1ce83ea330 Backed out changeset 5273d28eaf3d (bug 1579730) for failures in idbcursor-continuePrimaryKey.htm CLOSED TREE 2019-09-11 14:23:44 +03:00
Francesco Lodolo (:flod)
8b044544ec Bug 1579730 - Use new accesskey string for "Manage Protection Settings" (contentBlocking.manageSettings2.label) r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D45503

--HG--
extra : moz-landing-system : lando
2019-09-11 09:58:05 +00:00
Nihanth Subramanya
07ce45894d Bug 1578459 - [Protections Panel] Reorder category items in popupshowing instead of shown. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44885

--HG--
extra : moz-landing-system : lando
2019-09-09 12:36:14 +00:00
Brindusan Cristian
ed1e383341 Backed out changeset 84744d179773 (bug 1578459) for bc failures in browser_trackingUI_. CLOSED TREE 2019-09-06 22:06:20 +03:00
Marco Zehe
ee8616fb31 Bug 1579126 - Make the Allowed section heading in the protections panel a heading for screen readers as well, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D44860

--HG--
extra : moz-landing-system : lando
2019-09-06 14:50:09 +00:00
Nihanth Subramanya
b268bf343b Bug 1578459 - [Protections Panel] Reorder category items in popupshowing instead of shown. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44885

--HG--
extra : moz-landing-system : lando
2019-09-06 14:40:47 +00:00
Nihanth Subramanya
067d127251 Bug 1577622 - Open and close the Allowed - Why? tooltip on focus/blur. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44040

--HG--
extra : moz-landing-system : lando
2019-08-30 15:29:39 +00:00
Nihanth Subramanya
954bfd66fb Bug 1576100 - Ensure correct document order of category items for keyboard nav. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43932

--HG--
extra : moz-landing-system : lando
2019-08-30 15:29:39 +00:00
Johann Hofmann
6f4497fa71 Bug 1577636 - Update some strings for the identity panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D44130

--HG--
extra : moz-landing-system : lando
2019-08-30 10:35:30 +00:00
Nihanth Subramanya
757fef24f7 Bug 1577459 - Update Tracking Content description copy and remove Site Still Broken copy. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44127

--HG--
extra : moz-landing-system : lando
2019-08-30 10:27:01 +00:00
Johann Hofmann
df1a4c6f84 Bug 1576072 - Add a new icon for granted permissions in the identity block + panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D43950

--HG--
extra : moz-landing-system : lando
2019-08-29 15:30:51 +00:00
Johann Hofmann
cd5966c452 Bug 1576072 - Backed out changeset 0a7463d82e5f. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43948

--HG--
extra : moz-landing-system : lando
2019-08-29 15:30:26 +00:00
Nihanth Subramanya
358371416e Bug 1575778 - [Protections Panel] Update "Show Full Report" string to "Show Report". r=flod
Differential Revision: https://phabricator.services.mozilla.com/D43935

--HG--
extra : moz-landing-system : lando
2019-08-29 11:28:45 +00:00
Paul Zuehlcke
a154c0ec39 Bug 1573124 - Updated identity popup security view heading to include domain name. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D41546

--HG--
extra : moz-landing-system : lando
2019-08-26 15:00:13 +00:00
Marco Zehe
c7d4860e5d Bug 1575622 - Make the site identity panels more readable for screen reader users, r=johannh
The site identity and security sub panels now contain that much information that it warrants to make these more easily navigable for NVDA and other screen readers. The panels behave as before, but the added roles and heading levels cause NVDA and other screen readers to use their browse mode features instead of regular application interaction so blind and visually impaired users can review the information more easily.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 15:58:24 +00:00
Nihanth Subramanya
56dca3a160 Bug 1573565 - [Protections Panel] Remove strict mode hint from trackers subview. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42821

--HG--
extra : moz-landing-system : lando
2019-08-21 12:09:27 +00:00
Nihanth Subramanya
50145120e7 Bug 1560327 - [Protections Panel] Implement telemetry event recording. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42306

--HG--
extra : moz-landing-system : lando
2019-08-20 13:49:28 +00:00
Nihanth Subramanya
14aa4dc1ba Bug 1573605 - Show undetected protections category items in a "Not Found" section, update UI to spec. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42113

--HG--
extra : moz-landing-system : lando
2019-08-20 12:00:37 +00:00
Tim Huang
a474484d73 Bug 1575088 - Fix the style issue of the permission granted indicator. r=johannh
This patch fixes the style issue by make the container of the permission
granted indicator to centered align its children.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 12:30:01 +00:00
Brindusan Cristian
60126cdd06 Backed out 2 changesets (bug 1573605) for bc failures at browser_trackingUI_state.js. CLOSED TREE
Backed out changeset 2bd2687949b5 (bug 1573605)
Backed out changeset 63d640d3d8b8 (bug 1573605)
2019-08-20 14:51:50 +03:00
Nihanth Subramanya
45e0197f18 Bug 1573605 - Show undetected protections category items in a "Not Found" section, update UI to spec. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42113

--HG--
extra : moz-landing-system : lando
2019-08-16 09:39:14 +00:00
Tim Huang
f89cb79d37 Bug 1566810 - Part 2: Add the permission granted indicator to the identity panel. r=johannh
This patch adds the permission granted indicator to the identity panel.
The granted indicator will be shown if there is any granted permission.
And it will got update if permission changes. We also update a test for
this change.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 07:42:39 +00:00
Nihanth Subramanya
1e5634826f Bug 1573318 - [Protections Panel] Don't allow header to flex within the vbox. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D41658

--HG--
extra : moz-landing-system : lando
2019-08-13 11:01:52 +00:00
Nihanth Subramanya
07a625aea2 Bug 1572528 - [Protections Panel] Update category item subviews. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41271

--HG--
extra : moz-landing-system : lando
2019-08-12 20:09:13 +00:00
Marco Zehe
ce376097f4 Bug 1572641 Part 4: Give the More Info button a label for screen readers, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41352

--HG--
extra : moz-landing-system : lando
2019-08-09 10:36:49 +00:00
Marco Zehe
496afe9c57 Bug 1572641 Part 3: Associate the labels to their text inputs in the Report Site Not Working panel, r=johannh
Note that due to bug 1572677, an additional association via aria-label is also needed for now. It uses the same string entity as the label above.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 10:36:35 +00:00
Marco Zehe
4d90b573bd Bug 1572641 Part 2: Make some of the section headers into headings for screen readers, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41350

--HG--
extra : moz-landing-system : lando
2019-08-09 10:36:21 +00:00
Marco Zehe
b4a5fe520d Bug 1572641 Part 1: Make all of the privacy panel sub panels browseable documents for screen readers, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41349

--HG--
extra : moz-landing-system : lando
2019-08-09 10:36:02 +00:00
Nihanth Subramanya
d98a134515 Bug 1569770 - [Protections Panel] Update Site Not Working? subpanel to match spec. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D41179

--HG--
extra : moz-landing-system : lando
2019-08-08 14:50:51 +00:00
Nihanth Subramanya
060f67d20f Bug 1555237 - Implement "No Trackers Detected" section. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41109

--HG--
extra : moz-landing-system : lando
2019-08-08 10:41:02 +00:00
Nihanth Subramanya
6c8864d779 Bug 1555233 - [Protections Panel] Split Content Blocking category items into "Blocking" and "Not Blocking" sections. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40861

--HG--
extra : moz-landing-system : lando
2019-08-07 22:18:45 +00:00
Andrei Oprea
4ecf5f7454 Bug 1567522 - Show info message in the Protection panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D39042

--HG--
extra : moz-landing-system : lando
2019-08-07 17:57:48 +00:00
Marco Zehe
332a67ec8d Bug 1572019 - Give the new protection panel an accessible name r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40950

--HG--
extra : moz-landing-system : lando
2019-08-07 14:22:10 +00:00
Tim Huang
2c66392ce7 Bug 1571844 - Fix the alignment of the "Number blocked" description of the protections panel in the RTL mode. r=nhnt11
This patch changes the "righit='0'" to "end='0'" of the tracker conunter
box in order to show a correct alignment in RTL mode.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 19:56:00 +00:00
Nihanth Subramanya
a144a248da Bug 1571680 - Remove hidden attributes from toggle switch labels in Site Not Working view. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40801

--HG--
extra : moz-landing-system : lando
2019-08-06 14:55:46 +00:00
Paul Zuehlcke
1a5fdde435 Bug 1568819 - Update identity popup styles for Skyline. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40025

--HG--
extra : moz-landing-system : lando
2019-08-05 16:37:35 +00:00
Johann Hofmann
5632d25ece Bug 1569467 - Avoid setting the "hidden" attribute on protections popup switch labels. r=nhnt11
We were hiding these labels by setting the "hidden" attribute by default and then, in CSS,
negating the effect of "hidden" by using `display: unset;`. Turns out this isn't a great
idea because doing this won't remove the "hidden" attribute, which some code relies on
to figure out whether the element is hidden. Like in this case PanelMultiview:
https://searchfox.org/mozilla-central/rev/0ffa9e372df56c95547fed9c3433ddec4fbf6f11/browser/components/customizableui/PanelMultiView.jsm#1402

Here it tries to find elements to process as part of descriptionHeightWorkaround,
and that skips this technically visible element because it still has the hidden attribute.

Luckily that's easy to fix.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:32:45 +00:00
Johann Hofmann
8ebffedc59 Bug 1570925 - Use context-fill for footer icons in the protections panel.r=nhnt11,timhuang
Depends on D40398

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:57:43 +00:00
Andrew Swan
a8770d2f8f Bug 1564077 Fix protection panel height issue r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40048

--HG--
extra : moz-landing-system : lando
2019-07-31 21:10:36 +00:00
Tim Huang
e0e5a63f66 Bug 1555231 - Part 1: Move the protection setting button into the footer section and change the style of the footer section. r=nhnt11
This patch makes changes to the protection setting button and the footer
section. First, it moves the protection setting button into the footer
section. Second, it updates styles of footer section. And then, it
changes the hover state of buttons.

In addition, it adds a new function in gProtectionsHandler in order to
open the 'about:protections' page when clicking the 'Show report' button.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 15:26:19 +00:00
Tim Nguyen
b6d8cc41ad Bug 1569375 - Refactor browser panel CSS to reduce shadow DOM traversal after CE conversion. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39594

--HG--
extra : moz-landing-system : lando
2019-07-31 15:22:08 +00:00
Liang-Heng Chen
4652c39a7b Bug 1567896 - Part 1: Implement social tracking protection info in control panel; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39498

--HG--
extra : moz-landing-system : lando
2019-07-31 12:05:20 +00:00
Brindusan Cristian
5d4ee5c9f2 Backed out 5 changesets (bug 1555231) for bc leaks at browser_354894_perwindowpb.js. CLOSED TREE
Backed out changeset 016f5882a4cb (bug 1555231)
Backed out changeset 7110eb5e7ab1 (bug 1555231)
Backed out changeset 2569f3cff021 (bug 1555231)
Backed out changeset 0bc58dafb302 (bug 1555231)
Backed out changeset 35fe7ce18534 (bug 1555231)
2019-07-31 13:12:37 +03:00
Tim Huang
c5a06c879c Bug 1555231 - Part 1: Move the protection setting button into the footer section and change the style of the footer section. r=nhnt11
This patch makes changes to the protection setting button and the footer
section. First, it moves the protection setting button into the footer
section. Second, it updates styles of footer section. And then, it
changes the hover state of buttons.

In addition, it adds a new function in gProtectionsHandler in order to
open the 'about:protections' page when clicking the 'Show report' button.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 09:05:35 +00:00
Oana Pop Rus
2f2e0628e0 Backed out 2 changesets (bug 1567896) for bc failures in browser_duplicateIDs.js on a CLOSED TREE
Backed out changeset 9f3d76a1c6b6 (bug 1567896)
Backed out changeset d2567cf47a5f (bug 1567896)
2019-07-30 23:04:32 +03:00
Liang-Heng Chen
6222ea5025 Bug 1567896 - Part 1: Implement social tracking protection info in control panel; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39498

--HG--
extra : moz-landing-system : lando
2019-07-30 15:00:23 +00:00
Nihanth Subramanya
aab7ed4472 Bug 1569191 - [Protections Panel] Breakage report view visual updates. r=johannh
1. Inline "Learn more" link with the main description text.
2. Remove margin-inline-start from labels
3. Remove textbox styling of the URL

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:03:44 +00:00
Nihanth Subramanya
31d58fd0d6 Bug 1555225 - Part 1: Update browser.dtd and replace hard-coded strings. r=johannh,Pike
Differential Revision: https://phabricator.services.mozilla.com/D39114

--HG--
extra : moz-landing-system : lando
2019-07-26 13:09:27 +00:00
Johann Hofmann
28be7bb8f8 Bug 1565879 - Rename identity-popup-* to protections-popup-* in the new protections panel code. r=ewright
Depends on D38021

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

--HG--
extra : moz-landing-system : lando
2019-07-16 14:19:04 +00:00
Johann Hofmann
f28897ee19 Bug 1565879 - Remove content blocking header section from the protections popup. r=ewright
These should be removed anyway and I figured renaming them didn't make much sense.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 14:27:47 +00:00
Johann Hofmann
e0669dc2c5 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 21:36:58 +00:00
Dorel Luca
da86b02dc2 Backed out 3 changesets (bug 1562575) for Mochitest failures in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js. CLOSED TREE
Backed out changeset fce18a9477b0 (bug 1562575)
Backed out changeset c9b01b908020 (bug 1562575)
Backed out changeset de006229ba8f (bug 1562575)
2019-07-12 18:42:19 +03:00
Johann Hofmann
0d0bc26e56 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 10:27:24 +00:00
Nihanth Subramanya
d721697be8 Bug 1555236 - Port breakage report UI into protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35626

--HG--
extra : moz-landing-system : lando
2019-07-03 14:52:20 +00:00
Nihanth Subramanya
cf4d7d0bb9 Bug 1555236 - Implement Send Report subview stub. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34519

--HG--
extra : moz-landing-system : lando
2019-07-03 14:52:08 +00:00
Nihanth Subramanya
fa22ee7bc6 Bug 1555236 - Implement "Site Not Working?" sub-panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34516

--HG--
extra : moz-landing-system : lando
2019-07-03 14:51:42 +00:00
arthur.iakab
42a7e7ac69 Backed out 5 changesets (bug 1555236) for causing browser chrome failures on browser_trackingUI_report_breakage.js CLOSED TREE
Backed out changeset 866ffc49eb11 (bug 1555236)
Backed out changeset 24fda9469423 (bug 1555236)
Backed out changeset 7b6d88faaab2 (bug 1555236)
Backed out changeset 33c1b3a19483 (bug 1555236)
Backed out changeset 9f5563adc0de (bug 1555236)
2019-07-03 17:02:01 +03:00
Nihanth Subramanya
cbb51815f5 Bug 1555236 - Port breakage report UI into protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35626

--HG--
extra : moz-landing-system : lando
2019-07-03 11:29:00 +00:00
Nihanth Subramanya
1cbef07741 Bug 1555236 - Implement Send Report subview stub. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34519

--HG--
extra : moz-landing-system : lando
2019-07-03 11:28:43 +00:00
Nihanth Subramanya
6c503184a9 Bug 1555236 - Implement "Site Not Working?" sub-panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34516

--HG--
extra : moz-landing-system : lando
2019-07-03 11:28:14 +00:00
Tim Huang
98769d094b Bug 1555226 - Part 4: Implementing the switch flow for the mini panel. r=nhnt11
This patch makes the mini panel been shown after page reload due to
switch the tracking protection state. The mini panel will be auto hidden
after certain time, which can be configured by the pref
'browser.protections_panel.mini_panel_auto_hide_timing'. The default
value is 5 seconds.

This also implements the behavior that showing the protections panel on
clicking the mini panel.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 08:14:34 +00:00
Tim Huang
aea75f2a1c Bug 1555226 - Part 3: Allow the protections panel to be opened as a mini panel. r=nhnt11
This patch implements the capability for opening the protections panel
as a mini panel. The mini panel is a protections panel which only displays
the header section.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 12:49:09 +00:00
Tim Huang
82dd1aaad6 Bug 1555226 - Part 2: Implementing the toggle switch flow for the TP switch section. r=nhnt11
This patch implements the toggle switch flow for the TP switch section.
It adds a strip background to the TP switch section after toggled the
switch to off. Changing the string in the TP switch section. And the
breakage link should be remained after TP switch to off from on until
the page refreshs.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 12:48:55 +00:00
Tim Huang
299162d091 Bug 1555230 - Part 1: Add the footer section to Protection Panel. r=nhnt11
This patch implements the footer section of the Protection Panel.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 18:10:09 +00:00
Tim Huang
b5829fc960 Bug 1555232 - Part 1: Add the protection settings section into Protection Panel. r=nhnt11
This patch adds a protection settings section into Protection Panel.
This section consist of one button which will open a
'about:preferences#privacy' when been clicked.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 09:17:13 +00:00
Tim Nguyen
f35c2594d6 Bug 1557814 - Replace XUL textbox with HTML input in identityPanel.inc.xul. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34223

--HG--
extra : moz-landing-system : lando
2019-06-07 19:15:19 +00:00
Nihanth Subramanya
1ba48c2d75 Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980

--HG--
extra : moz-landing-system : lando
2019-06-06 15:17:58 +00:00
Nihanth Subramanya
7dd46fed20 Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952

--HG--
extra : moz-landing-system : lando
2019-06-06 15:17:43 +00:00
Daniel Varga
80149d9771 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
7ef288a488 Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980

--HG--
extra : moz-landing-system : lando
2019-06-04 21:48:03 +00:00
Nihanth Subramanya
6b2d4c647f Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952

--HG--
extra : moz-landing-system : lando
2019-06-04 21:47:20 +00:00
Gurzau Raul
e016dca453 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
51a8391817 Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980

--HG--
extra : moz-landing-system : lando
2019-06-04 13:10:20 +00:00
Nihanth Subramanya
f7bf977baa Bug 1551902 - Implement Tracking Protection toggle section in Protections Panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32952

--HG--
extra : moz-landing-system : lando
2019-06-04 13:09:58 +00:00
Johann Hofmann
190c716f86 Bug 1549605 - Add an indicator in the identity popup for when the site is verified by an imported root certificate. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D30136

--HG--
extra : moz-landing-system : lando
2019-05-16 06:34:21 +00:00
Nihanth Subramanya
c52874542e Bug 1551542 - Implement Protections Panel header. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D31070

--HG--
extra : moz-landing-system : lando
2019-05-15 13:15:32 +00:00
Nihanth Subramanya
9b711db77f Bug 1551206 - Introduce new Protections Panel behind a pref. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30921

--HG--
rename : browser/components/controlcenter/content/panel.inc.xul => browser/components/controlcenter/content/identityPanel.inc.xul
extra : moz-landing-system : lando
2019-05-14 16:17:07 +00:00
James Teh
4e6ac5b1e0 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:38:08 +00:00
Cosmin Sabou
65e5dc96a7 Backed out 2 changesets (bug 1477673, bug 1454865) for browser chrome failures on browser_PanelMultiView_keyboard. CLOSED TREE
Backed out changeset eca8a6e641c0 (bug 1454865)
Backed out changeset 69db665d8263 (bug 1477673)
2019-04-09 14:29:08 +03:00
James Teh
a286b1ed3c Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 09:54:39 +00:00
Tim Nguyen
fa021187df Bug 1513343 - Remove textarea binding and replace usages with html:textarea. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15001

--HG--
extra : moz-landing-system : lando
2019-03-05 11:41:42 +00:00
James Teh
5bbfcdf874 Bug 1522092: Disable PanelMultiView's keyboard navigation code for the Site Identity panel. r=johannh
PanelMultiView's keyboard navigation code currently overrides the arrow keys in menulists.
This breaks the permission selectors in the Site Identity panel.
For now, just disable this keyboard navigation code.
DOM will then handle tabbing as it normally would.
This panel is more like a dialog than a menu, so users will generally navigate it with the tab key rather than the arrow keys anyway.
Note that the code in PanelMultiView which makes controls focusable still runs even with disablekeynav set, which is what we want.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 08:32:19 +00:00
Alexander Surkov
ce0afb026a Bug 1529221 - 'Report a Problem' text-link in the identity popup doesn't work anymore, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20660

--HG--
extra : moz-landing-system : lando
2019-02-21 14:52:40 +00:00
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