Migrate nsserrors.properties to Fluent
Categories
(Core :: Security: PSM, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox164 | --- | fixed |
People
(Reporter: flod, Assigned: flod)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
nsserrors.properties only provides strings to NSSErrorsService::GetErrorMessage, which is used by Document::GetFailedCertSecurityInfo (the errorMessage field read by about:certerror), the webRequest error string in ChannelWrapper, and nsDocShell (whose result is discarded).
Almost all these strings are already available in Fluent in toolkit/neterror/nsserrors.ftl, used by about:neterror. The only exceptions are:
MOZILLA_PKIX_ERROR_INSUFFICIENT_CERTIFICATE_TRANSPARENCY, which was only added to the.propertiesfile. Because of this, about:neterror currently falls back to the raw error code for this error.- The
certErrorTrust_MitMoverride string inpipnss.properties. The other overrides (PSMERR_SSL_Disabled,PSMERR_SSL2_Disabled,PSMERR_HostReusedIssuerSerial) already have Fluent equivalents (psmerr-*).
| Assignee | ||
Comment 1•4 days ago
|
||
SeaMonkey will need to stop reading directly from .properties once this lands.
| Assignee | ||
Comment 2•4 days ago
|
||
nsserrors.ftl already had almost all of these strings for about:neterror. The missing MOZILLA_PKIX_ERROR_INSUFFICIENT_CERTIFICATE_TRANSPARENCY and MitM override strings are migrated.
Two English strings change slightly: XP_SEC_FORTEZZA_NO_MORE_INFO ("Personality" becomes lowercase) and PSMERR_HostReusedIssuerSerial (single spaces between sentences).
Comment 4•2 days ago
|
||
| bugherder | ||
Description
•