Commit graph

216 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
13572bce66 Bug 1788273 - Tweak popup alignment so that it looks good on mirrored wayland popups. r=dao,mak
When these panels had arrows, I guess the bottomcenter topleft alignment
made sense so that you could precisely align the arrow, but that's not
what we do now.

Don't use bottomcenter / leftcenter / rightcenter, since we really want
the sides to align.

This shouldn't change behavior on any platform except Linux + Wayland,
where the alignment looks good now in the case of bug 1784876.

Differential Revision: https://phabricator.services.mozilla.com/D156099
2022-09-02 20:26:29 +00:00
Butkovits Atila
c520b707bd Backed out changeset 368a7ce1b104 (bug 1788273) for causing failures at browser_recently_closed_tabs.js. CLOSED TREE 2022-09-02 16:35:55 +03:00
Emilio Cobos Álvarez
0777329f69 Bug 1788273 - Tweak popup alignment so that it looks good on mirrored wayland popups. r=dao,mak
When these panels had arrows, I guess the bottomcenter topleft alignment
made sense so that you could precisely align the arrow, but that's not
what we do now.

Don't use bottomcenter / leftcenter / rightcenter, since we really want
the sides to align.

This shouldn't change behavior on any platform except Linux + Wayland,
where the alignment looks good now in the case of bug 1784876.

Differential Revision: https://phabricator.services.mozilla.com/D156099
2022-09-02 11:18:54 +00:00
Paul Zuehlcke
8ed95d1fe1 Bug 1756609 - Remove security.secure_connection_icon_color_gray pref. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D139391
2022-03-09 11:09:19 +00:00
Paul Zuehlcke
0c27c573a8 Bug 1699658 - Special handling for siteIdentity security state of pdf viewer pages. r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D140055
2022-03-09 11:08:15 +00:00
Emilio Cobos Álvarez
00cc720134 Bug 1753995 - Remove non-test usage of WindowUtils.screenPixelsPerCSSPixel. r=mconley
It does the same as window.devicePixelRatio. However a bunch of this
code is copy-pasted code trying to scale a canvas, but not messing with
full zoom is the right thing to do.

The full zoom value in the top level browser.xhtml page is always 1
anyways, and WindowsPreviewPerTab looking at the current browser tab's
full zoom is just bizarre...

Differential Revision: https://phabricator.services.mozilla.com/D138020
2022-02-07 18:23:35 +00:00
Hannah Peuckmann
09b6c3a033 Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-26 13:32:31 +00:00
Cristian Tuns
0b4f04d43f Backed out changeset 177e6f28d348 (bug 1567443) for causing mochitest failures on browser_check_identity_state.js. CLOSED TREE 2021-10-25 06:45:43 -04:00
Hannah Peuckmann
06382f1212 Bug 1567443 - Using nsIAboutModule flag instead of regex to indicate secure about page. r=pbz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D128188
2021-10-25 09:34:06 +00:00
Michael Kohler
2a78d18891 Bug 1707887 - Do not show nav arrow on security button in Site Identity when button is disabled r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D125095
2021-09-21 08:18:22 +00:00
Gijs Kruitbosch
4afa73a07d Bug 1724212 - add a tooltip and show more of the 'not secure' item so languages other than English fit, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D122851
2021-08-17 14:15:09 +00:00
Gijs Kruitbosch
4882e4a471 Bug 1721654 - show 'Not Secure' chiclet for certificate errors, r=pbz
This also causes nssFailure2 network errors to be treated as certificate errors
in the identity block, and adjusts tests for this new reality. It also readds
a test to test a non-cert-related network error to ensure that case doesn't
lose coverage.

Differential Revision: https://phabricator.services.mozilla.com/D121176
2021-08-02 15:35:10 +00:00
Sandor Molnar
b03d68bff4 Backed out changeset f6b029cbc49f (bug 1721654) for causing bc failures in browser_navigation_failures. CLOSED TREE 2021-08-02 17:22:00 +03:00
Gijs Kruitbosch
c88bc927dc Bug 1721654 - show 'Not Secure' chiclet for certificate errors, r=pbz
This also causes nssFailure2 network errors to be treated as certificate errors
in the identity block, and adjusts tests for this new reality. It also readds
a test to test a non-cert-related network error to ensure that case doesn't
lose coverage.

Differential Revision: https://phabricator.services.mozilla.com/D121176
2021-08-02 13:20:27 +00:00
Paul Zuehlcke
aeffb2f87e Bug 1711869 - Part 3: Update site identity for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116861
2021-07-06 21:10:59 +00:00
R. Martinho Fernandes
7ea1bcd018 Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-06-01 06:55:07 +00:00
Dorel Luca
211b017ce9 Backed out changeset 089c88b9657b (bug 1597600) for XPCshell failures in toolkit/components/cleardata/tests/unit/test_certs.js. CLOSED TREE 2021-05-29 23:31:00 +03:00
R. Martinho Fernandes
a9e55ea7fc Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-05-29 19:34:35 +00:00
Gijs Kruitbosch
cd50b177a7 Bug 1711523 - remove private proton tracking flags in frontend modules, r=mak,emalysz,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D116009
2021-05-28 19:33:38 +00:00
Emma Malysz
3fcda6fea5 Bug 1709160, net error pages should have security panel view available in the control center r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D114134
2021-05-04 19:25:43 +00:00
Anshul Sahai
7b08dcedd7 Bug 1575080 - Changing the identity icon and the string inside the identity panel for net error pages. r=fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D112384
2021-05-03 07:51:14 +00:00
Emma Malysz
c3bf48b36d Bug 1706379: improve site identity css rules for smooth animation r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D113888
2021-04-30 20:23:17 +00:00
Csoregi Natalia
a76b78d543 Backed out changeset e01ec8694924 (bug 1700957) as requested. CLOSED TREE 2021-04-28 18:09:01 +03:00
Emma Malysz
ce84c86379 Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 03:17:56 +00:00
Butkovits Atila
9597a30fbb Backed out changeset 1c362512f27b (bug 1700957) for causing failures at test_chrome_only_media_queries.html. CLOSED TREE 2021-04-28 05:55:14 +03:00
Emma Malysz
a344c0fa4c Bug 1700957, graduate browser.proton.doorhangers.enabled pref to main proton pref r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110135
2021-04-28 00:29:45 +00:00
Emma Malysz
7a1cb8a1b1 Bug 1703012: fix control center and identity panel proton styling r=desktop-theme-reviewers,fluent-reviewers,mconley,flod,pbz,Itiel
Migrates two strings to fluent and uses sentence casing.
Places identity security block into a toolbar button.
Fixes margin spacing.
Removes green color from secure connection.

Differential Revision: https://phabricator.services.mozilla.com/D111368
2021-04-19 18:51:37 +00:00
Bogdan Tara
b88a6d9d04 Backed out 2 changesets (bug 1704827, bug 1703012) for screenshots mochitest timeouts CLOSED TREE
Backed out changeset 95a07d286cd7 (bug 1704827)
Backed out changeset 5e8a1732b021 (bug 1703012)
2021-04-16 22:40:48 +03:00
Emma Malysz
4f7010a85c Bug 1703012: fix control center and identity panel proton styling r=desktop-theme-reviewers,fluent-reviewers,mconley,flod,pbz,Itiel
Migrates two strings to fluent and uses sentence casing.
Places identity security block into a toolbar button.
Fixes margin spacing.
Removes green color from secure connection.

Differential Revision: https://phabricator.services.mozilla.com/D111368
2021-04-16 16:38:02 +00:00
Brindusan Cristian
e2c4d3a898 Backed out 2 changesets (bug 1704827, bug 1703012) for causing bc failures in browser_parsable_css.js. CLOSED TREE
Backed out changeset e3567ea32072 (bug 1704827)
Backed out changeset 43bb3216b816 (bug 1703012)
2021-04-16 18:53:26 +03:00
Emma Malysz
ae77fc5e90 Bug 1703012: fix control center and identity panel proton styling r=desktop-theme-reviewers,fluent-reviewers,mconley,flod,pbz,Itiel
Migrates two strings to fluent and uses sentence casing.
Places identity security block into a toolbar button.
Fixes margin spacing.
Removes green color from secure connection.

Differential Revision: https://phabricator.services.mozilla.com/D111368
2021-04-16 14:42:57 +00:00
Liz Krane
04cf413c28 Bug 1661534 - Remove the "Clear Cookies and Site Data" button in the site identity panel for moz-extension pages. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111192
2021-04-15 09:11:40 +00:00
Dão Gottwald
725e4d8466 Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-14 13:57:34 +00:00
Butkovits Atila
46d10ac5d3 Backed out changeset ea976ff8173e (bug 1575080) for causing failure at browser_navigation_failures.js. CLOSED TREE 2021-04-13 02:19:56 +03:00
Anshul Sahai
7d9def8382 Bug 1575080 - Showing not secure lock identity icon on net error pages. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111084
2021-04-12 22:27:54 +00:00
Emilio Cobos Álvarez
3e0cb7c68b Bug 1703289 - Make mixed content blocker use a session-persistent permission rather than ad-hoc code. r=ckerschb,smaug
This is more fission-compatible, and a lot simpler.

Differential Revision: https://phabricator.services.mozilla.com/D111480
2021-04-12 18:04:12 +00:00
smolnar
6524a17cb9 Backed out changeset 034a69e0a73e (bug 1701306) for causing browser-chrome failures in browser_page_action_menu. CLOSED TREE 2021-04-08 17:16:21 +03:00
Dão Gottwald
ce1716242b Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-08 12:53:08 +00:00
Emma Malysz
c536aac7c4 Bug 1700212: hide permissions panel while identity panel is open r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110842
2021-04-07 16:20:01 +00:00
Alexandru Michis
8c30456526 Backed out changeset 8d8aa8575c1d (bug 1701306) for causing multiple bc failures.
CLOSED TREE
2021-04-06 19:45:27 +03:00
Dão Gottwald
53e4be34d5 Bug 1701306 - Remove custom code setting the "open" attribute on panel anchors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D110817
2021-04-06 13:22:50 +00:00
Paul Zuehlcke
1bf7bbf9fb Bug 1667965 - Do not mark PDFs served via plain HTTP as trustworthy in siteIdentity. r=johannh
With this patch we skip the isSecureContext check for pdf.js principals.
This fixes the bug, but has the side-effect that we will show secure,
non-HTTPS contexts as insecure.

Differential Revision: https://phabricator.services.mozilla.com/D108969
2021-03-23 09:48:23 +00:00
Gijs Kruitbosch
36f2cb8a7e Bug 1667456, fix pageproxystate handling in the url bar, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D104111
2021-03-01 14:48:20 +00:00
Paul Zuehlcke
66fe5653ff Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
Moritz Birghan
1ce3e1a549 Bug 1688922 - Remove IsCertificateDistrustImminent UI. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D103059
2021-02-03 08:50:20 +00:00
Narcis Beleuzu
868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke
6445d181dc Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
Brindusan Cristian
e117dc4695 Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +02:00
Paul Zuehlcke
868eb8a1f8 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-28 18:00:44 +00:00
Paul Zuehlcke
fa05e0d8d8 Bug 1680827 - Don't create duplicate geolocation last access indicator. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D98807
2020-12-08 10:51:38 +00:00