Commit Graph

112 Commits

Author SHA1 Message Date
Paul Zuehlcke
3dca5af03a Bug 1580189 - Clear geolocation permission for sub-frames with active sharing state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45827
2019-09-25 09:16:32 +00:00
Johann Hofmann
9eb542952c Bug 1578265 - Remove security.ui.identitypopup event telemetry. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D46752
2019-09-23 12:26:03 +00:00
Tim Huang
295c46b189 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
2019-09-16 18:00:04 +00:00
Tim Huang
2a82c6105e Bug 1566813 - Part 2: Show a warning lock icon as the identity icon if it is in a 'about:certerror' page. r=johannh
This patch adds a new class 'certError' for the identity icon if it is
in the 'about:certerror' page. The identity icon will show a warning
lock icon if this class is present.

Differential Revision: https://phabricator.services.mozilla.com/D45646
2019-09-16 17:58:38 +00:00
Tim Huang
f979b5d36a Bug 1566813 - Part 1: Divide gIdentityHandler.refreshIdentityBlock(). r=johannh
Right now, the gIdentityHandler.refreshIdentityBlock() is gigantic. In
order to not hit the eslint assert 'complexity', we segregate this
function into two functions according to the functionalities. This
slightly improves the readability of this function.

Differential Revision: https://phabricator.services.mozilla.com/D45645
2019-09-16 17:56:49 +00:00
Itiel
41fdacc403 Bug 1508080 - Don't set directionality on identity-icon-labels on extension pages r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42000
2019-09-02 17:58:44 +00:00
Johann Hofmann
5ceedb1bce Bug 1577636 - Update some strings for the identity panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D44130
2019-08-30 10:35:30 +00:00
Johann Hofmann
ba1100f643 Bug 1576072 - Backed out changeset 0a7463d82e5f. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43948
2019-08-29 15:30:26 +00:00
Johann Hofmann
341e1e4e44 Bug 1468355 - Optimize checking for site data usage for the site identity panel. r=Gijs
The idea here is that we avoid updating all site data in SiteDataManager.jsm
just for checking a single host/origin and that we optimize performance by prioritizing
the most common data type (cookies) and synchronous lookups (AppCache) and returning
early if any data was found.

We will still refresh the site data list for clearing once the user clicks on "Clear Site Data".

Differential Revision: https://phabricator.services.mozilla.com/D42800
2019-08-28 21:45:30 +00:00
Paul Zuehlcke
3b15b587c8 Bug 1573124 - Updated identity popup security view heading to include domain name. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D41546
2019-08-26 15:00:13 +00:00
Tim Huang
20a1d4850d 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
2019-08-16 07:42:39 +00:00
Carolina
bc4df3ad34 Bug 1570630 - Removes query parameters in site identity panel header.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40723
2019-08-12 13:35:51 +00:00
Tom Schuster
2e3f61263c Bug 1572389 - Add pref to show normal lock icon for sites with EV (Extended Validation) certificates. r=johannh
This is probably the simplest way to implementing this. We might also decide to show the normal lock icon, but still
show a bit of a different text in the popup. I think this that might just be confusing though.

Differential Revision: https://phabricator.services.mozilla.com/D41285
2019-08-10 17:33:10 +00:00
Dale Harvey
81d0e70109 Bug 1572016 - Show blocked autoplay icon when BLOCKED_ALL permission set r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41362
2019-08-09 12:49:32 +00:00
Tim Huang
871becedd3 Bug 1567784 - Part 2: Add a tooltip for the lock icon if the page is insecure. r=johannh
Depends on D41075

Differential Revision: https://phabricator.services.mozilla.com/D41076
2019-08-08 10:41:11 +00:00
Bogdan Tara
7b0ccbb472 Backed out 3 changesets (bug 1567784) for browser_check_identity_state.js failures CLOSED TREE
Backed out changeset 2088b67a848b (bug 1567784)
Backed out changeset 7f171c86351a (bug 1567784)
Backed out changeset f5c85f2d20cf (bug 1567784)
2019-08-08 13:35:46 +03:00
Tim Huang
7f8e794573 Bug 1567784 - Part 2: Add a tooltip for the lock icon if the page is insecure. r=johannh
Depends on D41075

Differential Revision: https://phabricator.services.mozilla.com/D41076
2019-08-08 09:28:41 +00:00
Johann Hofmann
037b121be2 Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

Differential Revision: https://phabricator.services.mozilla.com/D40515
2019-08-07 09:03:13 +00:00
Paul Zuehlcke
86fb6c2015 Bug 1568820 - Add a pref for making the lock icon gray. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40076
2019-08-05 16:37:47 +00:00
Paul Zuehlcke
dd742f7b32 Bug 1568819 - Update identity popup styles for Skyline. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40025
2019-08-05 16:37:35 +00:00
Narcis Beleuzu
edc08c347b Backed out changeset 836310e3d3ee (bug 1570751) for bc failrues on browser_ext_popup_select.js . CLOSED TREE 2019-08-05 13:41:00 +03:00
Johann Hofmann
b9aa2953ff Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

Differential Revision: https://phabricator.services.mozilla.com/D40515
2019-08-05 07:08:58 +00:00
Jan Andre Ikenmeyer
f60562fc19 Bug 1570635 - Add about:certificate to secureInternalUIWhitelist. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40212
2019-08-03 11:18:22 +00:00
Johann Hofmann
af69465a87 Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 12:31:22 +00:00
Paul Zuehlcke
064380bb16 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-30 08:28:31 +00:00
Ciure Andrei
2303cc0498 Backed out changeset ded87cc3f3ee (bug 1567826) for causing browser_check_identity_state.js to perma fail CLOSED TREE 2019-07-30 12:50:29 +03:00
Johann Hofmann
ac4798b984 Bug 1567826 - Don't mark any secureContext pages as insecure. r=nhnt11,keeler,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39012
2019-07-30 07:52:59 +00:00
Csoregi Natalia
16534798cd Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
2ba3aac2e1 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-29 08:37:55 +00:00
Johann Hofmann
a5c51b270d Bug 1568108 - Indent popup sub-item in the identity popup. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D38959
2019-07-24 10:47:57 +00:00
Jan Andre Ikenmeyer
9745ea9d38 Bug 1567300 - Include about:protections as a secure internal UI page. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D38568
2019-07-18 21:24:39 +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
b683b49367 Bug 1562881 - Part 3: Merge the connection icon and the extension icon into the identity icon. r=johannh
This patch merges two icons, the connection icon and the extension icon,
into identity icon. And display differently according to the site where
it is. For the site needed to show a lock icon, it will show lock icon.
Otherwise, it will show a proper icon according to the page, such as a
brand icon for chrome page, or a extension icon for a extension page.

Differential Revision: https://phabricator.services.mozilla.com/D37789
2019-07-17 13:25:03 +00:00
Tim Huang
12ec4b21cf Bug 1562881 - Part 2: Hide the tracking protection icon if it is a chrome UI page. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D37788
2019-07-17 13:25:02 +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
Johann Hofmann
d8885b3bcb Bug 1562575 - Part 1 - Remove content blocking telemetry events from identity popup telemetry. r=ewright
This lives in the protections popup now and will get a new probe.

Since I'm only removing data collection I don't think a data steward is required to sign off.

I'm removing recordClick calls in identityPanel.inc.xul in a later patch.

Differential Revision: https://phabricator.services.mozilla.com/D37555
2019-07-12 21:36:19 +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
Johann Hofmann
5ecf84cd08 Bug 1562575 - Part 1 - Remove content blocking telemetry events from identity popup telemetry. r=ewright
This lives in the protections popup now and will get a new probe.

Since I'm only removing data collection I don't think a data steward is required to sign off.

I'm removing recordClick calls in identityPanel.inc.xul in a later patch.

Differential Revision: https://phabricator.services.mozilla.com/D37555
2019-07-12 10:27:05 +00:00
Victor Porof
bf2b98e8c1 Bug 1561435 - Fix linting errors for browser/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35950
2019-06-28 20:02:37 +02: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
Paul Zuehlcke
50b8bfceeb Bug 1557041 - Leave DOM full-screen when identity-popup is shown. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D35234
2019-06-27 11:15:17 +00:00
Nihanth Subramanya
83bbd4ad8f Bug 1557093 - Use altKey+click to trigger the protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35438
2019-06-21 19:35:51 +00:00
Gijs Kruitbosch
2029dcd209 Bug 1519434 - remove permissions popup and page info code catering to flash permissions, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34218
2019-06-13 08:42:53 +00:00
Andreea Pavel
cc37a3c8a9 Backed out 7 changesets (bug 1519434) for mochiest failures e.g test_bug1165981.html on a CLOSED TREE
Backed out changeset 1314623831ad (bug 1519434)
Backed out changeset 6dd4fa67e209 (bug 1519434)
Backed out changeset b241c580b293 (bug 1519434)
Backed out changeset b48dca2f487f (bug 1519434)
Backed out changeset 49c64ed2e67b (bug 1519434)
Backed out changeset dd009a001c6c (bug 1519434)
Backed out changeset 5b6ec4d2f0ab (bug 1519434)
2019-06-12 23:31:16 +03:00
Gijs Kruitbosch
d81719d51f Bug 1519434 - remove permissions popup and page info code catering to flash permissions, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34218
2019-06-12 18:56:27 +00:00
Neil Deakin
c1eb92539d Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley 2019-06-11 09:05:33 -04:00
Dale Harvey
3e054fa715 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135
2019-06-06 09:06:09 +00:00
Andreea Pavel
57e73e9015 Backed out changeset 2dacf7539a2f (bug 1543812) for multiple failures e.g bc at browser_autoplay_blocked.js on a CLOSED TREE 2019-06-05 19:29:20 +03:00
Dale Harvey
848d3cd2f5 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135
2019-06-05 01:03:14 +00:00