Commit Graph

35 Commits

Author SHA1 Message Date
Tim Huang
88f93dab51 Bug 1566985 - Part 3: Fixing the height of the TP switch section when TP is disabled. r=nhnt11
This patch fixes the problem that TP switch section has an incorrect
height when the TP is disabled for the site.

Differential Revision: https://phabricator.services.mozilla.com/D38637
2019-07-24 08:58:38 +00:00
Tim Huang
ee5baf21e0 Bug 1566985 - Part 2: Remove unnecessary pref of the breakage report UI. r=nhnt11
Since we will show "Site not working" link for all channels. So we don't
need those prefs anymore.

Differential Revision: https://phabricator.services.mozilla.com/D38636
2019-07-24 08:57:29 +00:00
Tim Huang
175084fbfc Bug 1566985 - Part 1: Fixing the hidden state of 'Site not working' link. r=nhnt11
This patch removes the old behavior of the breakage link which is
originally from the identity panel. The old behavior will cause the
hidden state to be incorrect, so removing them would fix the problem.

Also, this patch implements new behavior of the breakage link.

Differential Revision: https://phabricator.services.mozilla.com/D38635
2019-07-24 08:57:13 +00:00
Tim Huang
fb7af30822 Bug 1562881 - Part 5: Change the anchor point of protections popup to the shield icon container and make identity popup and protection popup mutual exclusive. r=johannh
This patch changes the anchor point of the protections popup to the
shield icon container. Also remove the alt key which is needed to
open the protection icon.

In addtion, this also makes these two popups are mutual exclusive.

Differential Revision: https://phabricator.services.mozilla.com/D37791
2019-07-17 13:25:03 +00:00
Tim Huang
0146a2f0f8 Bug 1562881 - Part 1: Moving the tracking protection icon out of the identity block and making it persistent. r=johannh
The patch moves the tracking protection icon out of the identity block,
and making it persistent.

Differential Revision: https://phabricator.services.mozilla.com/D37787
2019-07-17 13:25:02 +00:00
Johann Hofmann
f39fb784ed 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
2019-07-16 14:19:04 +00:00
Johann Hofmann
dbe58a5979 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
2019-07-16 14:27:47 +00:00
Johann Hofmann
15324e6021 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
2019-07-12 21:36:58 +00:00
Dorel Luca
8de55ca96d 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
b8c3d65a54 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
2019-07-12 10:27:24 +00:00
Victor Porof
a3641f184a Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041
2019-07-05 09:48:57 +02:00
Nihanth Subramanya
0ab9eddac0 Bug 1555236 - Port breakage report UI into protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35626
2019-07-03 14:52:20 +00:00
Nihanth Subramanya
2cf76e1443 Bug 1555236 - Implement Send Report subview stub. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34519
2019-07-03 14:52:08 +00:00
Nihanth Subramanya
1e3cafd7f1 Bug 1555236 - Implement "Site Not Working?" sub-panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34516
2019-07-03 14:51:42 +00:00
arthur.iakab
315d176283 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
506911e8bb Bug 1555236 - Port breakage report UI into protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35626
2019-07-03 11:29:00 +00:00
Nihanth Subramanya
913f8c2b43 Bug 1555236 - Implement Send Report subview stub. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34519
2019-07-03 11:28:43 +00:00
Nihanth Subramanya
8ec9c704b8 Bug 1555236 - Implement "Site Not Working?" sub-panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34516
2019-07-03 11:28:14 +00:00
Tim Huang
0df06b0625 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
2019-07-02 08:14:34 +00:00
Tim Huang
6631c75cfb 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
2019-06-28 12:49:09 +00:00
Tim Huang
af8a4cc9fc 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
2019-06-28 12:48:55 +00:00
Tim Huang
8bbdaaa8c8 Bug 1555226 - Part 1: Toggle the 'hasException' attribute on the protections panel after toggling the TP switch. r=nhnt11
This patch makes the 'hasException' attribtion to be toggled right after
toggling the TP switch. In order to do styling after the toggling.

Differential Revision: https://phabricator.services.mozilla.com/D36015
2019-06-28 12:48:46 +00:00
Tim Huang
97ddeb4609 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
2019-06-24 18:10:09 +00:00
Tim Huang
a47ddf2ccd 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
2019-06-14 09:17:13 +00:00
Nihanth Subramanya
9b61b6360b Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980
2019-06-06 15:17:58 +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
c91ee9ccf0 Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980
2019-06-04 21:48:03 +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
4db1b4155f Bug 1551902 - Hide protections panel when focus is lost. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32980
2019-06-04 13:10:20 +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
Nihanth Subramanya
ca8b179bc9 Bug 1555222 - Show the protections panel when meta+clicking the identity box. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D32951
2019-05-31 18:24:08 +00:00
Nihanth Subramanya
c003434ef1 Bug 1551542 - Implement Protections Panel header. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D31070
2019-05-15 13:15:32 +00:00
Nihanth Subramanya
e51e424827 Bug 1551206 - Introduce new Protections Panel behind a pref. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30921
2019-05-14 16:17:07 +00:00