Open
Bug 1790187
Opened 2 years ago
Updated 11 months ago
Migrate appstrings.properties to Fluent & format its messages from aboutNetError.mjs
Categories
(Firefox :: Security, task)
Firefox
Security
Tracking
()
NEW
People
(Reporter: eemeli, Unassigned)
References
(Blocks 5 open bugs)
Details
Currently, the messages from appstrings.properties
(dom, browser) are formatted by nsDocShell::DisplayLoadError(), which passes the formatted message to the about:neterror
/about:certerror
page as a query parameter.
It would be better if this formatting was done closer to the front-end, based on an error identifier. Using Fluent for this also allows much easier use of { -brand-short-name }
, which should let the overridden dom version of the file be dropped, and the browser's messages be used for all users (currently desktop browsers and Thunderbird).
Some of the error messages are parameterised. Where the information may be determined from the JS side, that should be done rather than also passing their values as additional query parameters.
Updated•11 months ago
|
Blocks: necko-error
You need to log in
before you can comment on or make changes to this bug.
Description
•