"Security Error: Content at about:certificate?cert=<CERTIFICATE> may not load or link to chrome://browser/skin/critical.svg." exception thrown while vieving certificate in a tab.
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: cmgaudry33, Assigned: darktrojan)
References
(Regression)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
Steps to reproduce:
- View any certificate from the "Certificate Manager" dialog
- Display console
Actual results:
The console displays the following exceptions :
- Security Error: Content at about:certificate?cert=<CERTIFICATE> may not load or link to chrome://browser/skin/critical.svg.
- Uncaught (in promise) undefined
The critical.svg image is not displayed is the certificate viewing tab, but there is only two empty squares.
Expected results:
- No exception.
- critical.svg should be visible, not empty.
Reporter | ||
Comment 1•4 years ago
|
||
I cannot find any solution but I see that the file chrome/browser/skin/critical.svg is missing and its signature is missing also from any manifest.
I'm having the same issue:
- When clicking on "View..." in "Certificate Manager" I get:
Security Error: Content at about:certificate?cert=...
- And then when I click on "PEM (cert)" in the new window I get:
NS_ERROR_CANNOT_CONVERT_DATA: Component returned failure code: 0x80460001 (NS_ERROR_CANNOT_CONVERT_DATA) [mozIStorageRow.getString] 16 GlodaDatastore.jsm:605
handleResult resource:///modules/gloda/GlodaDatastore.jsm:605
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host] LinkHandlerChild.jsm:98
handleEvent resource:///actors/LinkHandlerChild.jsm:98
I'm using Thunderbird 87.0b1 (32-bit) in Windows 10 Pro, 64-bit, 20H2.
I have experimented a bit by manually running the same code from viewCertHelper as listed in the patch here and I got an additional error:
InvalidCharacterError: String contains an invalid character utils.js:58
That's about the '%' from the base64 encoded string. If I truncate that string at the '%' character, then the invalid character error disappears, but I get the same error as the OP:
...may not load or link to chrome://browser/skin/critical.svg.
Comment 5•3 years ago
|
||
Geoff, on trunk this is erroring out due to e10s. https://searchfox.org/comm-central/rev/dc208bc3dc9ed27f25fa2529b492973856624fd3/mail/base/actors/LinkHandlerChild.jsm#96 - we have an about page linking to a data: url.
Using .host or Services.eTLD.getBaseDomain for non-http urls will not work. But I'm not sure what the solution is. Just returning if it's not http doesn't open the data url.
Assignee | ||
Comment 6•3 years ago
|
||
I'm going to handle comments 2 through 5 in a new bug since they aren't related to comment 0.
Assignee | ||
Comment 7•3 years ago
|
||
certviewer.html, being a toolkit file, shouldn't link to an icon in browser. This results in a broken image icon in Thunderbird.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/integration/autoland/rev/23dc12cc5263 Move critical.svg from browser to toolkit. r=johannh
Comment 9•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
status-thunderbird_esr78: --- → wontfix
Can you please tell me if this means that the fix won't make it into the 78-Beta? I just got the update to 87.0b2 (32-bit), and while clicking on "View..." in "Certificate Manager" works now, further clicking on "PEM (cert)" still doesn't. Thanks.
Assignee | ||
Comment 11•3 years ago
|
||
It means this bug about the critical.svg file won't be fixed in 78.
Bug 1696300 which is about opening the PEM file doesn't occur in 78 and won't be fixed in the beta until 88.0b1.
Comment 12•3 years ago
|
||
Got it, thanks for clarifying Geoff.
Comment 13•3 years ago
|
||
Having just updated to "88.0b1 (32-bit)" on Windows, I confirm that clicking on "PEM (cert)" works on the certificate details page - thanks! However, right-clicking the same link and selecting "Save Link As..." fails with:
Uncaught TypeError: this.link.getAttribute is not a function
linkText chrome://messenger/content/nsContextMenu.js:1012
saveLink chrome://messenger/content/nsContextMenu.js:819
oncommand chrome://messenger/content/messenger.xhtml:1
nsContextMenu.js:1012:24
Assignee | ||
Comment 14•3 years ago
|
||
Please file a new bug about that.
Comment 15•3 years ago
|
||
Sure, created 1701590.
Description
•