Comment 4 for bug 550301

Revision history for this message
Simos Xenitellis  (simosx) wrote :

The chrome://pippki/content/certManager.js :: backupCerts() function performs a full backup of the certificates.
It's very strange that it would fail if an addon such as Ubuntu Firefox Modifications is installed.

What I believe is the case is that backupCerts() invokes getSelectedCerts() which is a function that performs a 'Select All' in the certificate list window. So, if Ubuntu Firefox Modifications changes the UI in subtle ways, then getSelectedCerts() fails and the 'out' parameter in the [nsIX509CertDB.exportPKCS12File] API function fails and you get the error.

It appears to me that the way that Firefox performs the 'getSelectedCerts()' is quite fragile considering that extensions can change the UI description.

I did not investigate what part of ubufox causes the problem. If someone wants to check it out, find the files at
http://ubuntuforums.org/showpost.php?p=7988950&postcount=22

I did not investigate what problem could TorButton have.