Commit Graph

112 Commits

Author SHA1 Message Date
Paul Zuehlcke
a033d7c0c7 Bug 1711869 - Part 2: Update pageinfo security for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116860
2021-07-06 21:10:58 +00:00
pbz
5a3d4062cc Bug 1661593 - pageinfo: Do not show insecure connections as secure when using a proxy. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D93643
2020-10-27 16:45:25 +00:00
Razvan Maries
e72adc4276 Backed out changeset ce9199a9c65c (bug 1661593) for perma failures on browser_secure_transport_insecure_scheme.js. CLOSED TREE 2020-10-27 17:28:51 +02:00
pbz
e8dc7c709e Bug 1661593 - pageinfo: Do not show insecure connections as secure when using a proxy. r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D93643
2020-10-27 14:56:53 +00:00
Dana Keeler
86bc8efca7 Bug 1641082 - remove old certificate viewer implementation r=kjacobs,bbeurdouche,fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D77145
2020-06-02 15:48:33 +00:00
Carolina
0ef7f9b48e Bug 1585904 - Avoids opening the same certificate in multiple tabs each time.r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50110
2019-12-16 17:29:40 +00:00
Emma Malysz
68b8be0a0a Bug 1596869, rename .xul files in security/manager to .xhtml r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D54198
2019-11-25 19:37:02 +00:00
Brindusan Cristian
5a8d0bb248 Backed out changeset f90a969f785c (bug 1596869) for bc failures on browser_clientAuth_ui.js. CLOSED TREE 2019-11-23 10:45:33 +02:00
Emma Malysz
bb454b3dca Bug 1596869, rename .xul files in security/manager to .xhtml r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D54198
2019-11-22 21:17:33 +00:00
Cosmin Sabou
114365bb57 Backed out changeset e9d1379c65f5 (bug 1585904) for browser-chrome failures on browser_pageinfo_security. 2019-11-23 01:25:02 +02:00
Carolina
78064801d8 Bug 1585904 - Avoids opening the same certificate in multiple tabs each time.r=johannh,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50110
2019-11-22 17:40:18 +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
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
Brian Grinstead
9741c9840b Bug 1550549 - Convert XUL textboxes to HTML inputs in pageInfo.xul r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D30537
2019-10-02 12:30:43 +00:00
Johann Hofmann
ddb68e02d9 Bug 1573502 - Always use system principal as triggeringPrincipal for about:certificate. r=jkt
about:certificate is always trusted and we don't have to use the content principal in browser.js

Differential Revision: https://phabricator.services.mozilla.com/D45939
2019-09-16 09:06:00 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Johann Hofmann
471a7fa20e Bug 1576960 - In pageInfo, set security information in init() instead of fetching it from the selected browser. r=carolina.jimenez.g
This is to avoid displaying incorrect information when the user switches their selected tab but keeps the page info window open.

Differential Revision: https://phabricator.services.mozilla.com/D43736
2019-09-02 21:03:05 +00:00
Cosmin Sabou
6447a5e460 Backed out 6 changesets (bug 1572189, bug 1572773, bug 1568974, bug 1571710, bug 1568972) for eslint failure on content/pageinfo/security.js. CLOSED TREE
Backed out changeset d0162a59fb9f (bug 1572773)
Backed out changeset c2105d0d65aa (bug 1572189)
Backed out changeset 49b0496a73ed (bug 1571710)
Backed out changeset 1ba4647f9bb9 (bug 1568974)
Backed out changeset a33c6ef60d25 (bug 1568974)
Backed out changeset 168b4675c975 (bug 1568972)
2019-08-13 21:23:23 +03:00
dleblanccyr
91f20e5147 Bug 1568974 - Adds error warning to certificate viewer. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39531
2019-08-13 14:09:44 +00:00
Carolina
6799bd53fc Bug 1570973 - Adds missing certificate chain information in about:certificate.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40635
2019-08-08 00:58:40 +00:00
Moritz Birghan
3c9a4b0b90 Bug 1563849 - Get btoa(getDERString(cert)) from an API r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39970
2019-08-06 09:03:38 +00:00
Carolina
a630c4adb0 Bug 1560538 - Opens a new tab to show the certificate. r=johannh,keeler
Not sure what to do in pippki.js, for the moment I put an incorrect id.

Differential Revision: https://phabricator.services.mozilla.com/D35531
2019-07-15 12:32:43 +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
Sam Foster
3f524f76dc Bug 1543499 - Record telemetry event when opening the password management UI. r=MattN
* Remove the PWMGR_MANAGE_OPENED histogram and references to it
* Add a new pwmgr event category, open_management method and objects for each of the entry points
* Expect an entryPoint key to be passed to LoginHelper.openPasswordManager so it can record the event
* Update all callers of LoginHelper.openPasswordManager to pass the correct entryPoint key
* Record the event in preferences when we open the password management UI as a subdialog
* Add test assertions to confirm the telemetry events are recorded, piggybacking on existing tests where practical to avoid duplicating helpers and boilerplate

Differential Revision: https://phabricator.services.mozilla.com/D29840
2019-05-15 23:24:28 +00:00
Zibi Braniecki
26752314e2 Bug 1483036 - Fix fluent errors caught by the new test failures. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24315
2019-03-26 15:05:14 +00:00
danielleleb
d8c141c00a Bug 1501955 - Runs securityOnLoad on certificate error pages and adds test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21840
2019-03-16 19:53:02 +00:00
Marco Bonardo
a040dd21a3 Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753
2019-02-28 08:39:33 +00:00
Christian Frey
ffa7624a55 Bug 1517493 - migrated pageInfo.dtd and pageInfo.properties to pageInfo.ftl r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-22 15:26:15 +00:00
Oana Pop Rus
7464a2042a Backed out changeset d28d0498bd7b (bug 1517493) for bc failures at browser_firstPartyIsolation_saveAs.js 2019-02-21 14:28:56 +02:00
Christian Frey
374e6959e3 Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod,Gijs
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-21 11:31:05 +00:00
shindli
05b5ee5af1 Backed out changeset cfb1a7fbbfa7 (bug 1517493) for bc failures in browser/base/content/test/static/browser_all_files_referenced.js 2019-02-18 22:49:05 +02:00
Christian Frey
c29b50f8eb Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

Differential Revision: https://phabricator.services.mozilla.com/D16931
2019-02-07 06:31:04 +00:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Dipen Patel
fbf2d8d5d9 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-11 00:07:30 +00:00
Csoregi Natalia
4c04e1f45b Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel
8e9fd08fb5 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-07 22:50:17 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Dipen Patel
07ff45ef4a Bug 1468225 - remove method nsICertificateDialogs.viewCert and its uses. r=Gijs,keeler
- Remove the viewCert method from nsICertificateDialogs
- Remove all associated C++ code
- Directly invoke UI window where it was previous called.
- Update tests

MozReview-Commit-ID: 9b62Go0DjE9

Differential Revision: https://phabricator.services.mozilla.com/D3358
2018-08-22 17:38:33 +00:00
Dipen Patel
54148735a5 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL
2018-07-13 11:48:55 -07:00
Andreea Pavel
f6396a98eb Backed out changeset c235d6f86c22 (bug 1475647) for breaking firefox ui at testing/firefox-ui/tests/puppeteer/test_tabbar.py on a CLOSED TREE 2018-07-25 19:34:58 +03:00
Dipen Patel
b987e41d2e Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL
2018-07-13 11:48:55 -07:00
shindli
376051d773 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Dipen Patel
3a1015c4e6 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL
2018-07-13 11:48:55 -07:00
Johann Hofmann
35cad92d30 Bug 1348223 - Part 3 - Show and clear all site data in page info (not just cookies). r=florian
This commit changes the way that the page info security section works
to not only consider cookies when answering the question "Is this website
storing information about me?".

The associated button used to open the cookie manager. We would like to
reduce the storage management UI surface (in the interest of having one
great central location for managing storage), so that button was replaced
with a simple "clear data" button that clears site data for all origins of
the base domain of the site.

Clearing for the entire range of that base domain is a trade off between
(implicit) user privacy and the risk that the user accidentally
deletes too much data. I prefer to choose increased privacy.

MozReview-Commit-ID: BUgxJHBeFcQ
2018-03-22 17:26:52 +01:00
kanika
379dc51457 Bug 1444901 - Simplify setText() function in security.js. r=prathiksha
MozReview-Commit-ID: HDKEz80aGCM
2018-03-18 00:46:58 +05:30
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Arjun Krishna Babu
9d255003d2 Bug 1430060 - Hide Security tab in Page Info when you are on about: pages r=johannh
The contents in Security tab when you're in about: pages is useless or wrong.

MozReview-Commit-ID: Eq5tdKyvuho
2018-02-13 09:38:55 -07:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00