Commit Graph

133 Commits

Author SHA1 Message Date
sourab
922ff456e6 Bug 1571701 - Fix tooltip text color for page URL in the Site Identity when dragged over tabs bar. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D66188
2020-03-18 20:44:21 +00:00
Marco Bonardo
85b4838b84 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269
2020-03-13 12:44:36 +00:00
aarushivij
e7bf6dfffb Bug 1571522 - [Protections Panel] Move _trackingProtectionIconContainer from gIdentityHandler to gProtectionsHandler r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D66615
2020-03-15 07:36:02 +00:00
aarushivij
425c380b18 Bug 1574667 - The Site information header shows the wrong name for chrome:// URLs r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D65955
2020-03-09 15:35:28 +00:00
Johann Hofmann
293eea5b5a Bug 1613308 - Catch errors drawing the favicon when dragging from the identity block. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D63318
2020-02-20 21:16:27 +00:00
Mike Conley
49abd29c1d Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D53075
2020-01-22 21:24:19 +00:00
Neil Deakin
05b7c143a8 Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D56570
2020-01-10 15:09:59 +00:00
Kearwood Kip Gilbert
021b366f7b Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

Differential Revision: https://phabricator.services.mozilla.com/D45951
2019-12-12 03:10:51 +00:00
Brindusan Cristian
e7431bbb62 Backed out 2 changesets (bug 1580567, bug 1599927) for mochitest failures at test_interfaces.html. CLOSED TREE
Backed out changeset 0e0d88942d33 (bug 1599927)
Backed out changeset 522c8d183bd5 (bug 1580567)
2019-12-11 05:31:08 +02:00
Kearwood Kip Gilbert
154b6a294c Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

Differential Revision: https://phabricator.services.mozilla.com/D45951
2019-12-11 01:38:17 +00:00
shindli
9d142fdc1b Backed out 2 changesets (bug 1580567, bug 1599927) for causing permafailures in dom/tests/mochitest/general/test_interfaces.html CLOSED TREE
Backed out changeset aeceec922866 (bug 1599927)
Backed out changeset 29809135f18e (bug 1580567)
2019-12-11 03:32:44 +02:00
Kearwood Kip Gilbert
dd45c5a705 Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

Differential Revision: https://phabricator.services.mozilla.com/D45951
2019-12-10 23:55:05 +00:00
Razvan Maries
4734b4cc1d Backed out changeset 15f8fa34d2f4 (bug 1580567) for perma fails on browser_temporary_permissions_expiry.js and browser_privatebrowsing_rememberprompt.js. CLOSED TREE 2019-12-05 01:05:34 +02:00
Kearwood Kip Gilbert
b9aeb10c7e Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

Differential Revision: https://phabricator.services.mozilla.com/D45951
2019-12-04 21:10:56 +00:00
Sean Feng
871759d8c9 Bug 1592083 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

Differential Revision: https://phabricator.services.mozilla.com/D48745
2019-10-29 17:20:07 +00:00
Marco Bonardo
b6554a0072 Bug 1586778 - Never end address bar layout extension if the view is open. r=dao
This fixes the cases where we may end urlbar layout extension when the panel is open, causing it to appear as if it has a transparent background.
On dragstart the view is closed, but layout extension is no more ended, because there's no more risk of overlapping toolbar items.
Additionally it stops clearing results when ui.popup.disable_autohide is enabled, so they can be analyzed from the Browser Toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D50077
2019-10-23 15:10:04 +00:00
Mihai Alexandru Michis
ed4b0245d5 Backed out changeset 11e5baee978e (bug 1580315) for issues related to certList. CLOSED TREE 2019-10-21 23:50:35 +03:00
Sean Feng
2655605788 Bug 1580315 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

Differential Revision: https://phabricator.services.mozilla.com/D48745
2019-10-21 19:49:01 +00:00
Matthew Noorenberghe
0634b0efbe Bug 1527828 - Remove insecure password field detection code for the address bar. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48975
2019-10-14 20:03:19 +00:00
Abdoulaye Oumar Ly
404b13dc0f Bug 1505916 - [Fission] Part 1: Make the fullscreen code work with JSWindowActors. r=NeilDeakin,dao,smaug
At this point, fullscreen is not regressed but it doesn't work with oop iframes yet.

Differential Revision: https://phabricator.services.mozilla.com/D35026
2019-10-11 14:30:28 +00:00
Harry Twyford
71db758ff9 Bug 1586595 - Collapse the Urlbar after drags on the identity icon. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48357
2019-10-08 08:37:44 +00:00
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